Forums > MaxMSP

Need help thinking through some selector logic


Mar 26 2014 | 2:29 pm

So ‘detonate’ has the ability to mute specific tracks by sending a command "mute 5 x y" where x is the track number and y is either a 1 or 0, mute on or mute off.

I have n tracks, and I’d like to use a ‘umenu’ to select a track that is effectively a "solo" button, muting all other tracks except the one shown in the menu.

My number of tracks is predefined for each piece, and the functionality does not need to be dynamic to account for all situations. I can easily manually scale the logic to the concrete n number of tracks for each specific performance.

Can I achieve this with ‘selector’? Or does anyone know a better/more effective method for this?

Mar 26 2014 | 4:03 pm

Nevermind, I solved it.

Mar 27 2014 | 3:04 am

pssst… How about sharing your solution so that other people might benefit from this thread?

Mar 27 2014 | 5:19 am

Sure, I think this will work; I’m assuming this is correct, didn’t test it. If not, you get the picture.

<code>
-- Pasted Max Patch, click to expand. --

</code>

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

Forums > MaxMSP