Hi folks, another beginner question... I was hoping to use a an adaptable envelope on an audio signal. I copied over the external aenv~ into my extra folder. When i start a new patch and make a new aenv~ object, it seems to initialize the object properly providing 5 inlets and 1 outlet. I couldn't find any examples so via trial by error (and peaking into the src :-) , far as i could make out, the first inlet is for a bang or 1 to trigger the envelope, the second to fifth are the values for a typical ADSR envelope. In my understanding of such an envelope the attack,decay and release times are measured in miliseconds while sustain is a scaling factor (0-1 - floating point). I then scale the audio output of what is coming out of aenv~. Firstly is my understanding of this correct? Secondly are the values based on the unit circle (0-1) or what scale should I consider.
Best regards, Conor
Hi Conor,
You have it right, but there are a few other things. Take a look at the attached patch (it's normally included with the external - are you sure you didn't have it?).
Ben
On Monday 24 October 2005 06:58 pm, Conor wrote:
Hi folks, another beginner question... I was hoping to use a an adaptable envelope on an audio signal. I copied over the external aenv~ into my extra folder. When i start a new patch and make a new aenv~ object, it seems to initialize the object properly providing 5 inlets and 1 outlet. I couldn't find any examples so via trial by error (and peaking into the src :-) , far as i could make out, the first inlet is for a bang or 1 to trigger the envelope, the second to fifth are the values for a typical ADSR envelope. In my understanding of such an envelope the attack,decay and release times are measured in miliseconds while sustain is a scaling factor (0-1 - floating point). I then scale the audio output of what is coming out of aenv~. Firstly is my understanding of this correct? Secondly are the values based on the unit circle (0-1) or what scale should I consider.
Best regards, Conor
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list