probably simple – no clicks on audio select

Apr 12, 2011 at 2:59pm

probably simple – no clicks on audio select

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?

-Brett

#56270
Apr 12, 2011 at 4:02pm

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

Brendan

#201909
Apr 12, 2011 at 4:16pm

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!

#201910
Apr 12, 2011 at 4:25pm

hate it when that happens

“Edit: between reading and posting noob_meister was here!”

#201911
Apr 13, 2011 at 8:11pm

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

#201912

You must be logged in to reply to this topic.