Forums > MaxMSP

Need to filter out lists where two elements are out of a certain range

October 31, 2013 | 3:58 am

i have a list x y z
And I want it only to pass through if both x and y are in a range of 0-7
If only one or both are out of this range it should be filtered or send out another output.

Z is not important for the descicion

How could this be done? Maybe with the vexpr?

I would be grateful for help!

Btw

All of this should be very streamlined as it is tempo sensitive.


October 31, 2013 | 4:57 am

you could use split:

<code>

– Pasted Max Patch, click to expand. –

</code>


October 31, 2013 | 5:23 am

Thats a nice patch!

Thanks a lot!!


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