I have a problem with envelope

Dahito1971's icon

Hello everyone. I am new in the forum and Max MSP as well. I am
at univesity and have some problems I need to solve without
going to the professors.
I have an FM osc, I shoot a BANG (left upper output) from the
keyboard which goes to two envelope, one for Ampl Port and
another for Ampl Mod. See example
http://www.megaupload.com/?d=7NDL5MF6
Then I do a MTOF from the keyboard to trigger the sound. The
problem have is that when I modify the envelope, the sound for
each key stays sustained all the time. Sometimes, when I start
the program, it works OK, but if I modify the envelope the
sounds gets stuck all the time. The weird things is that this
also happens with the examples from the professors.
I welcome any help on this subject.

MIB's icon

use copy compress to post patches, rather than upload services!! https://cycling74.com/forums/common-max-arcana

seems like your function objects have sustain points in them (the white outline around the control points)!!! that's probably not what you want from the look of it. see the helpfile of function to learn about them. when you create new function make sure you simple click and not comnd+shit click!!!
if I remove the sustain points it works fine.

Dahito1971's icon

Solved the problem thank you very much!!!