Envelope and volume control problem

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

Howdy! I have a simple yet annoying problem: I'm trying to control the amp of a synth with envelope, velocity values and a volume dial. However, when all the controls are connected to *~ object, they won't work together. For instance, changing the volume would yield a continuos sound which obviously I don't want. Here's an example:

I want to be able to control the volume and use the envelope at the same time. Any ideas would be appreciated!

spectro's icon

Id suggest using a seperate, [*~ ] to control volume *after* the envelope [*~]. In other words, any gain modifications, ie envelope, and final volume, should have their own 'gain stage' unless they are intentionally interactive.

alkopop79's icon

Brilliant1 Thanks!

Peter McCulloch's icon

Just to clarify further, because this is something that isn't always immediately obvious: when you send multiple signal patch cords (this is true only for signal patch cords!) into the same inlet they are added together.

If you want A*B*C*D you need to use multiple *~ objects (on for each *!).

Sending A into the left inlet of *~ and B,C,D into the right inlet of that *~ object will give you A*(B+C+D).