| Hello,
there is a strange comportement with the diskin opcode....
when using sr=44100 and kr=4410, all is right.
If I use sr=kr=44100, there is a segfault when iwrap=0 and the p3 field
is greater than the length of the soundfile....
here is my orc
if a replace kr=4410 by 44100 it segfault, and if after that, I put
iwrap=1, it is ok.....
;;;;;;;;;;;;;
sr = 44100
kr = 4410
ksmps = 10
nchnls = 1
instr 33
iamp = 3.6
ispd = p4
kenv linen 1, 0.1, p3, 0.1 ;
asound diskin "stropheback.aiff", ispd, 0, 0, 0
; aout butterlp asound, 4000
aflt butterbp asound, 5000, 5000 ; interesting
aout reverb aflt, 0.3
out aout*iamp*kenv
endin
here is the sco
;;;;;;
i33 4 3 1
e
here are the informations about my soundfile
../inputfile/stropheback.aiff: AIFF, 103157 samples, no looping
AIFF soundfile, no looping
srate 44100, monaural, 16 bit shorts, 2.34 seconds
headersiz 54, datasiz 206314 (103157 sample frames)
--
Antoine Lefebvre
antoinelefebvre@softhome.net
http://pages.infinit.net/linux/music/music.html |