Hi there, I’ve tried searching the forum for this and also spent probably a couple hours trying to figure it out in Max…
The purpose is simply to select between two audio paths without click sounds occurring. So this is real-time audio and selecting on the fly.. using a single button that engages one audio path when pressed down (that incorporates a tremolo effect) and another audio path (disables the tremolo) when released.
I think I get mixed up when considering trigger messages with multiple arguments: I’m unsure when the next bang will occur since, in this case, the trigger object is mixed up with audio signals which are constant signals when turned on.
Anyone know a simple way to deal with these types of scenarios?
Not sure I get what you are trying to say in that last paragraph. In any case, when switching audio paths its best to use audio objects which can have their gain controlled variably ( ie line with *~, or matrix~ in non-binary mode) to do the actual switching – which will then actually be signal ramping to avoid the click problem. Check matrix~ help- especially binary non-binary mode distinction to see one way to switch signal i/o paths while avoiding clicks. Edit: between reading and posting noob_meister was here!