| >From looking at the code, with my very limited C language knowledge, it
appears that idel arguments should indeed be specified in seconds.
As for the rest, idel1 must be greater than the sum of idel2 and idel3.
While your second example will not run:
idel1 = .003
idel2 = .002
idel3 = .001
this will run:
idel1 = .0031
idel2 = .002
idel3 = .001
as will this:
idel1 = .003
idel2 = .001
idel3 = .001
Hope this helps.
-David.
Torsten Anders wrote:
I have played around with the nestedap opcode - it seems to exept its idel
in
sec (not given in doc...). In this case the example in the doc is a little
strange: more then 100 sec del time for a 4 sec note.
It seems idel1 have to be greater then idel2 and this as idel3. I do not
understand that, but if so it could be added to the doc. If I try:
instr 1
imax = 1
idel1 = .001 ; to little
igain1 = .3
idel2 = .002 ; to little
igain2 = .3
idel3 = .003
igain3 = .3
aout nestedap gasig, 3, imax, idel1, igain1, idel2, igain2, idel3,
igain3
outs aout-gasig, aout+gasig
endin
CSound answers:
INIT ERROR in instr 1: illegal delay time
The same to
instr 1
imax = 1
idel1 = .003 ; to little
igain1 = .3
idel2 = .002 ; to little
igain2 = .3
idel3 = .001
igain3 = .3
aout nestedap gasig, 3, imax, idel1, igain1, idel2, igain2, idel3,
igain3
outs aout-gasig, aout+gasig
endin
but this will work:
instr 1
imax = 1
idel1 = .006
igain1 = .3
idel2 = .003
igain2 = .3
idel3 = .001
igain3 = .3
aout nestedap gasig, 3, imax, idel1, igain1, idel2, igain2, idel3,
igain3
outs aout-gasig, aout+gasig
endin
Any idea?
|