|
thanks for trying to help
i analyzed a mono female voice, a recording of 1.9 seconds. As you see in
the following output this was not the problem:
PortMIDI real time MIDI plugin for Csound
PortAudio real-time audio module for Csound
virtual_keyboard real time MIDI plugin for Csound
util lpanal:
Reading sound from D:/csound/Samples/A_aarde_luid.wav, writing lpfile to
D:/csound/Analyses/A_aarde_luid.lpc
poles=50 hopsize=300 begin= 0.0 duration= 0.0
lpheader comment:
pch track range: 70.0 - 10000.0 Hz
Using filter coefficient storage method
audio sr = 44100, monaural
opening WAV infile D:\csound\Samples\A_aarde_luid.wav
analysing 84200 sample frames (1.9 secs)
280 lpc frames written to D:/csound/Analyses/A_aarde_luid.lpc
then i tried a simlplyfied example from the Csound book, based on example
2709:
;
; ""
; by
;
;
;
; Generated by blue 0.125.0 (http://csounds.com/stevenyi/blue/index.html)
;
sr=44100
ksmps=1
nchnls=2
instr 1 ;untitled
event "e", 0, 0, 0.1
endin
instr 2709 ;
iosdur = p3
ktimp line 0, p3, 1.9
krmsr, krmso, kerr, kcps lpread ktimp, "A_aarde_luid.lpc"
asig buzz krmso, kcps, int(sr/2/kcps), 1
aout lpreson asig
outs aout, aout
endin
f1 0 8192 10 1
i2709 0.0625 1.8999999762
i1 2.03125 0.1000000015
e
i run this file and get the following:
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
Reading options from $CSOUNDRC: C:\Program Files\Csound\.csoundrc
UnifiedCSD: D:\2709.csd
STARTING FILE
Skipping
Creating orchestra
Creating score
orchname: C:\DOCUME~1\Menno\LOCALS~1\Temp\cs3.orc
scorename: C:\DOCUME~1\Menno\LOCALS~1\Temp\cs4.sco
rtaudio: PortAudio module enabled ... using callback interface
rtmidi: PortMIDI module enabled
orch compiler:
30 lines read
instr 2709
Elapsed time at end of orchestra compile: real: 0.002s, CPU: 0.000s
sorting score ...
... done
Elapsed time at end of score sort: real: 0.012s, CPU: 0.000s
The available MIDI out devices are:
0: Microsoft MIDI Mapper (MMSystem)
1: Microsoft GS Wavetable SW Synth (MMSystem)
2: Out To MIDI Yoke: 1 (MMSystem)
3: Out To MIDI Yoke: 2 (MMSystem)
4: Out To MIDI Yoke: 3 (MMSystem)
5: Out To MIDI Yoke: 4 (MMSystem)
6: Delta AP MIDI (MMSystem)
PortMIDI: selected output device 4: 'Out To MIDI Yoke: 3' (MMSystem)
Csound version 5.10 (double samples) Jan 9 2009
displays suppressed
0dBFS level = 32768.0
orch now loaded
audio buffered in 128 sample-frame blocks
PortAudio V19-devel (built Jan 6 2009 21:14:14)
PortAudio: available output devices:
0: Microsoft Sound Mapper - Output
1: Delta AP 1/2
2: Delta AP SPDIF
3: Primary Sound Driver
4: Delta AP 1/2
5: Delta AP SPDIF
6: M-Audio Delta ASIO
PortAudio: selected output device 'Delta AP 1/2'
writing 256-byte blks of shorts to dac
SECTION 1:
ftable 1:
new alloc for instr 2709:
file D:\csound\Analyses\A_aarde_luid.lpc (121000 bytes) loaded into memory
Using filter coefficient type of file.
soundin: opened 'D:\csound\Samples\A_aarde_luid.wav':
44100 Hz, 1 channel(s), 84200 sample frames
B 0.000 .. 1.900 T 1.900 TT 1.900 M: +inf
number of samples out of range: 195
Score finished in csoundPerformKsmps().
inactive allocs returned to freespace
end of score. overall amps: +inf
overall samples out of range: 195
0 errors in performance
Elapsed time at end of performance: real: 5.422s, CPU: 5.422s
655 256-byte soundblks of shorts written to dac
No matter what soundfile i analyze and try to resynthesize, i get results
like shown in the attached PNG images.
http://www.nabble.com/file/p22065017/lpc.png lpc.png
http://www.nabble.com/file/p22065017/lpca.png lpca.png
(i hope this works...)
If somehow these files are not attached, i'll explain what is to be seen:
lpc.png has all the 1.9 sec., with a burst of a sine for a few milliseconds.
Then lpca.png a close look at that burst.
Is there some error on my part or is there a bug?
thanks,
Menno
--
View this message in context: http://www.nabble.com/lpanal64-tp21921901p22065017.html
Sent from the Csound - General mailing list archive at Nabble.com.
|