Hello Everybody!
I have a problem with using the opcode “flooper2”. It only plays a very short sound of the file i want to loop.
Maybe there is a mistake i can’t see?
<CsoundSynthesizer>
<CsOptions>
-d -odac -A
</CsOptions>
<CsInstruments>
sr = 96000
ksmps = 128
nchnls = 2
0dbfs = 1.0
giSmp ftgen 0, 0, 2^12, 1, "/Volumes/BILDUNDTON 1TB/Samples/Noise/NIMB/EQ/NIMB_Noise_2_Long.wav", 0, 0, 0
;-----------------------------------------------------------
instr 1
;iAmp random 0.25, 1.
;iPitch random 0.25, 3.0
;kFadeTime random 0.05, 0.5
;print iAmp
;print iPitch
;aSmpL, aSmpR flooper2 iAmp, iPitch, 0, 4, kFadeTime, giSmp
aSmpL, aSmpR flooper2 0.5, 1, 0, 4, 0.5, giSmp
outs aSmpL, aSmpR
endin
;-----------------------------------------------------------
</CsInstruments>
<CsScore>
i1 0 5
</CsScore>
</CsoundSynthesizer>