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

novasnoa's icon

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.

Tobias Rosenberger's icon
Max Patch
Copy patch and select New From Clipboard in Max.

you could use split:

novasnoa's icon

Thats a nice patch!

Thanks a lot!!