Csound Csound-dev Csound-tekno Search About

nestedap questions

Date1999-08-20 22:11
FromTorsten Anders
Subjectnestedap questions
Hi,

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?

Torsten Anders