Forums > MaxMSP

lp.tata-how to exclude

Jun 04 2008 | 7:11 am


Jun 04 2008 | 11:33 am

There are lots of ways to do this, each having a slightly different color.

Brute force would be to add gates in front of all the triggers; put a bangbang in front of the main lp.tata, the rightmost bang would open all the gates, the leftmost bang would trigger tata. As soon as one trigger is activated, it would also close all the gates to its left.

Another way would be to use tata to generate values with only a single bit set. You can use a [lp.tata 0 31] connected to a bit shift operator, something like this:

— Pasted Max Patch, click to expand. —

There are lots more ways.

Hope this helps,

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

Forums > MaxMSP