about envelopes

rabidmachine9's icon

hi there,
I have some questions about envelopes
1.till that moment I'm using line~ object to create an envelope but I can't figure out a way to get "release" it just reaches to sustain level and thats it
2.I have also tried to use adsr~ object to do the job but I find the examples confusing can somebody show some examples or give some explanations on adsr~?

thanks

Dg's icon

2.here's an simple example for adsr~

Max Patch
Copy patch and select New From Clipboard in Max.


Chris Muir's icon

On May 3, 2008, at 8:22 AM, kostas wrote:
> 1.till that moment I'm using line~ object to create an envelope but
> I can't figure out a way to get "release" it just reaches to sustain
> level and thats it

I might favor an approach where I had two lists of points to line, one
from attack through to sustain, and another list which included any
release. I would trigger the first list upon note-on, and the second
list when a note-off is received.

> 2.I have also tried to use adsr~ object to do the job but I find the
> examples confusing can somebody show some examples or give some
> explanations on adsr~?

What has you confused? I have a simple example on my example page
called NoiseBlip, which shows a simple use of adsr~. http://www.xfade.com/max/examples

-C

Chris Muir
cbm@well.com    
http://www.xfade.com