Filtering out a specifix index in Coll (in a poly patch)

edsonedge's icon

I have a Coll object that is constantly being updated with random number lists from 64 sources

So I have 64 indexes

I use the counter object to constantly circulate through the 64 indexed lists, so I get a constant feed of the updated lists.

the feed I am compairing (using zl compare) to another list

Now the problem is that I want to filter out the one specific index i.e the list that I am compairing later, so that I don´t get a false positive ( btw, the reason I can´t just not send the specific list is because this is all in a poly object/patch)

Select - doesnt work, because it only gives out single intigers or floats I believe

zl filter - doesnt work because contrary to it´s name it seems to be queary-ing the one list I want to do away with and not filtering it out (the second outlet then doesnt seem to give out the other lists

Best regards.

broc's icon

Not sure if I understand your question correctly, but to skip a specific value of a counter you could do this.

[if $i1 != $i2 then $i1]

where $i1 is the counter and $i2 the skipped value.

edsonedge's icon

Thanks broc

Yeah my mind was to hung up on doing this within our with the coll object

I came up with a similar solution to yours, of just using select to filter out the prefered index nr from the counter

All the best.