Filter out numbers from a counter

dibek's icon

Hi, i´m running a 16step sequencer from a counter, based on the user´s input i´d like to filter out numbers of the counter. For Step 1 i´d like to filter "1" from the coutner and so on for all steps.

Let´s say i pushed step 3 5 and 6, those number of the counter should go to one destination, all remaining numbers of the 16 steps should go to another destination.

I think i have hit a wall here, i guess it should be easy but i just can´t figure it out.

thanks

Roman Thilenius's icon

basically [route 3 5 6] - but of course that will not be dynamic.

i think all you can do is using a [gate 2] per step.

in this case your first job is to create a 16-channel "gate 2" abstraction.

Bill 2's icon

Here you go:

Max Patch
Copy patch and select New From Clipboard in Max.

(Oh, I didn't see that Roman had already answered...)

dibek's icon

Thanks Bill and Roman, that was very helpful!

Aaron Wharton's icon

Thanks so much to Bill and Roman for the gate work-around for filtering values.

I've gone ahead and created a patch for skipping the value(s) altogether. The only issue is if you'd like the skipped value to also be a bounding value. (IE. If you'd like to skip from 5 to 1 (wrapping), the direction detection will fault and hang.)

Max Patch
Copy patch and select New From Clipboard in Max.

Regards,
Aaron