|
Hi Menno,
The range of 0-1 refers to values output by the envelope not time durations of envelope segements. The envelope created by this opcode will take iatt seconds to reach a value of 1 then a further idec seconds to reach a value of islev and then irel seconds to reach a value of zero. iatt, idec and irel are subtracted from p3 to determine the duration of the sustain segment. 'Further scaling' refers to multiplying the output of this opcode by some constant in a subsequent line of code - addition or subtraction to offset the entire envelope.
Hope this helps and is accurate,
Iain
----------------------------------------
> Date: Tue, 21 Sep 2010 05:07:39 -0700
> From: nabob_cd@yahoo.com
> To: csound@lists.bath.ac.uk
> Subject: [Csnd] (x)adsr
>
>
> hi, i have a small question:
> the manual says about the adsr and the xadsr opcode: The envelope is in the
> range 0 to 1 and may need to be scaled further.
> Does that mean that iatt, idec, islev, irel TOGETHER must be equal or less
> to 1?
> are iatt OR idec OR islev OR irel relative to 1?
>
> menno
> --
> View this message in context: http://csound.1045644.n5.nabble.com/x-adsr-tp2847948p2847948.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|