adsr on audio

Higgins80's icon

i have tried asking for this before, no luck . i am trying to re prashe the question.

this might scare you people off, it did on harmony central forum. the question is so simple, I might be stupid not to be able to work it out for my self. but i am a max msp virgin and pointers and help is sometimes the best option when it comes to getting further up the road in programming. i have read tutorials and searched for tutorials on the subject (i might have searched for the wrong ones), when that is said here goes :

my patch is a step sequencer which starts of with a metronome,matrix, groove players,filters and panning. I am trying to incorporate an adsr envelope to shape the sound just before it goes into the speaker icon.

i cant find any examples or tutorials on how to connect the adsr on a audio signal. the help file in max msp states that an adsr needs a 1 and a zero (to start and end the envelope)this help file does not correspond to audio ?...... this is where the confusion starts to kick in.
i can take a 1 from the "unpack" from the matrix, but where do i take the zero from ? i know i need to * the signal-to the main signal when it comes out of the adsr. but how do i trigger the adsr when it comes to the use with audio signal.or does the adsr needs to be triggered when using a audio signal.

there must be an easy way to do this, i just cant get my head around it.

any examples or pointers in the right direction is much appreciated, as this is the last part of this patch that needs to be sorted out.

i have uploaded a simple adsr patch
the question is:

is this the right way ???????? it does not seem to work.

cheers

Higgins80

ps. we have all been noobs at one point or antoher

tegid o's icon
Max Patch
Copy patch and select New From Clipboard in Max.

You know how to adjust the volume of a signal? Just think about adjusting the volume of time, using adsr.

Higgins80's icon

thanks, got it pretty much sorted with this patch

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

your patch was much help to understand a lot more

once again thanks!!!