Forums > MaxMSP

probably simple – no clicks on audio select

April 12, 2011 | 2:59 pm

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?


April 12, 2011 | 4:02 pm

Hi Brett
look at either the [matrix~] or [selector~] objects, one of these (or maybe both) allow you to specify a fade time in ms, to alleviate this clicking when switching audio signal paths


April 12, 2011 | 4:16 pm

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!

April 12, 2011 | 4:25 pm

hate it when that happens

"Edit: between reading and posting noob_meister was here!"

April 13, 2011 | 8:11 pm

Yep that did it… Matrix… I was assuming it was for other things… because of the huge grid I usually see… but it works great for just 2 channels as well

Thanks for the help

Viewing 5 posts - 1 through 5 (of 5 total)

Forums > MaxMSP