Csound Csound-dev Csound-tekno Search About

[Csnd] hetro64

Date2009-03-03 13:38
Frommenno
Subject[Csnd] hetro64
Hi,

i went checking all of the utilities in the Csound doubles version and now i
would also like to report a possible bug in adsyn while reading a hetro
file. 
With WinXoundNet and Csound10.1 doubles i analyzed a wave called
"GLASS_L1.WAV" (from the Csound Book). The analysis went fine:

Compiler arguments: [ -U hetro "D:\csound\Samples\GLASS_L1.WAV"
"D:\csound\Analyses\glass_L1_64.het" ]

_________START_________
PortMIDI real time MIDI plugin for Csound
PortAudio real-time audio module for Csound
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 5.10 (double samples) Jan  9 2009
libsndfile-1.0.18pre24
util hetro:
audio sr = 44100, monaural
opening WAV infile D:\csound\Samples\GLASS_L1.WAV
analysing 93419 sample frames (2.1 secs)
analyzing harmonic #0
freq estimate  100.0, max found  175.8, rel amp 24894.0
analyzing harmonic #1
freq estimate  200.0, max found  280.8, rel amp 23452.8
analyzing harmonic #2
freq estimate  300.0, max found  383.0, rel amp 31041.2
analyzing harmonic #3
freq estimate  400.0, max found  473.0, rel amp 19579.7
analyzing harmonic #4
freq estimate  500.0, max found  588.0, rel amp 30649.0
analyzing harmonic #5
freq estimate  600.0, max found  679.5, rel amp 52631.6
analyzing harmonic #6
freq estimate  700.0, max found  782.3, rel amp 55814.4
analyzing harmonic #7
freq estimate  800.0, max found  883.5, rel amp 50612.9
analyzing harmonic #8
freq estimate  900.0, max found  973.4, rel amp 28656.7
analyzing harmonic #9
freq estimate 1000.0, max found 1078.7, rel amp 21342.5
scale = 0.106323
harmonic #0:	amp points 200, 	frq points 199,	peakamp 2646
harmonic #1:	amp points 172, 	frq points 170,	peakamp 2493
harmonic #2:	amp points 157, 	frq points 155,	peakamp 3300
harmonic #3:	amp points 149, 	frq points 147,	peakamp 2081
harmonic #4:	amp points 147, 	frq points 147,	peakamp 3258
harmonic #5:	amp points 150, 	frq points 149,	peakamp 5595
harmonic #6:	amp points 148, 	frq points 148,	peakamp 5934
harmonic #7:	amp points 158, 	frq points 157,	peakamp 5381
harmonic #8:	amp points 157, 	frq points 156,	peakamp 3046
harmonic #9:	amp points 152, 	frq points 151,	peakamp 2269
wrote 12756 bytes to D:\csound\Analyses\glass_L1_64.het
__________END__________

Extended Compiler Info:
_________START_________
Csound tidy up: Segmentation violation
__________END__________




but trying to play an example from the Csound Book i get a lot of noise and
in the distance i hear the glass-sound.
This is the csd file:












sr        =         44100
kr        =         4410
ksmps     =         10
nchnls    =         1


          instr     2705
iamod     =         p4
ifmod     =         p5
ismod     =         p6
asig      adsyn     iamod, ifmod, ismod, "glass_L1_64.het"
          out       asig
          endin






i 2705  0  2.1  1  1  1







I'm using Windows XP. 
Is this a thing like lpread or is someone having a clean result?

thanks in advance,
Menno 
-- 
View this message in context: http://www.nabble.com/hetro64-tp22308770p22308770.html
Sent from the Csound - General mailing list archive at Nabble.com.


Date2009-03-03 19:01
FromAnthony Kozar
Subject[Csnd] Re: hetro64
I can confirm that I get the same result with the doubles version on Mac OS
X PPC, but not with the floats version.

Anthony Kozar
mailing-lists-1001 AT anthonykozar DOT net
http://anthonykozar.net/

menno wrote on 3/3/09 8:38 AM:

> i went checking all of the utilities in the Csound doubles version and now i
> would also like to report a possible bug in adsyn while reading a hetro
> file. 

> With WinXoundNet and Csound10.1 doubles i analyzed a wave called
> "GLASS_L1.WAV" (from the Csound Book). The analysis went fine:

> but trying to play an example from the Csound Book i get a lot of noise and
> in the distance i hear the glass-sound.

> I'm using Windows XP.
> Is this a thing like lpread or is someone having a clean result?
> 
> thanks in advance,
> Menno