Envelope and volume control problem
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:
----------begin_max5_patcher---------- 720.3oc0W9sjaBBEF+ZySAiW1IMi.Zht209ZzYmNFkXniBNJtMa2Y2m8Jfl+ rQMjDaZxMjADky2uC7wIuMwxdIeCozF7D3G.Kq2lXYoFRNfUSeK6rvMQogkp oYGwyxHLg8T8yDjMB03uvSqxHOADqok.Ni.VGVBXb.Y0JRz1omRYjHdES8Nn lAyCEQqorjeVHmoJVfym4LE3KafdNxePAyb.O27FzX0ZxW9qu5419sWwYBVX FQ8nuUPCSAemmF29XVUFkkRDJY.2MHuRzNpydeoR5eTeIX8pKG88ISjMSGEL YOjxUpF4JacWnHfeORG8PIcQAMIgT.HrWHo77gf.F4747euPv4gBBwjnvWAw 0A2Px2Wm8cLP+t92k5eUJu9a2t150P7ZNQKP4iCqgCvdYHKwdqt5fEHsUf97 vIPw7wCEnwCEKqDBNqWTbZBDnHf1Ebaam..eFJDdARIiTVFlPNZWMbFvoN.A P3tiicZ0ej5MQ4PHZWxGsnasiCtjjOpazLdIeF420Q2Q.KufjSXwfFvYeQ3A i02RprI8gCcz.NhtDiHc12GrGOBC.f1mbWam.XQ65zFxHGG4a7O87ROYe4Qi O5U2kzDlDKlaN5qjN1cvc.3w67A5N7dhEHSulv6t7Vhd1p7kStOYHnn8O0sX zLuAt67Qx8TJvO.ttNWOa7zsCdz4hN4f+ecyRZUR8BZh8hwPBhTWw3gGhRna p+hJBTFoe5eupDgb7CQWIupHpEAsEKB1IjXRofxBEz5J01MIoo4dSZMMNlv1 uR4LZbNmxDMAA34NSjFGSXChIYgN2vX5SK23vIrimxLxUUzBZtt1kC5MWW1O RMQYmqTGxJfLisvaFakEkbZ15eSy2PS1C5ddXpIKFDnRyXkYxgczNKvf1NWo H7FeMTWes23GntFDnnyK+CaNaA02osWuq0IvPnd9w5Bu8BUYmChz5NuO4uPw +AL+ -----------end_max5_patcher-----------
I want to be able to control the volume and use the envelope at the same time. Any ideas would be appreciated!
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.
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).