Select by String

I have labeled a bunch of midi inputs, (I can’t use todo as it doesn’t work with my akai amx1 due to the way the midi encoders seem to output).

I have a list of what each dials named, in the order that the spread of values come out of the AMX. I want to chose from those by using the name of the dial rather then by the number of the dial.

I am using sift at the moment, with Matches Any, but what I actually want is a kind of getslice, but using a name instead of a slice number. I want the slices to come out in the order of the list.

Does that make sense?

Spoke too soon, still doesn’t work right… Will post a patch.

Here is an example patch, you can see on the right is what I would like the spread output to be, in the order which I have the string values in the string spread. Sift is getting the values as they occur in the input spread.

select by string.v4p (13.0 kB)

you did it almost right using Sift(String). the trick is to switch input and filter - then it does what you want it to do.

select by string_using sift.v4p (15.3 kB)