Forums > MaxMSP

querying a specific list from Coll?

September 25, 2011 | 6:03 pm

I am using coll – and it is getting fed 64 datastreams/lists every 2 seconds
That is; 64 idexes are getting radom lists that I then want to queary

If I have a list, outside of coll (lets say; 1 4 7 9 11) that I want to compare to all the lists within coll is it possible to query if there is a list stored within coll that matches this list.

All the best



o s
September 25, 2011 | 8:25 pm

like this?

– Pasted Max Patch, click to expand. –

September 25, 2011 | 9:50 pm

Yeah, that seems to be getting there

gonna try it out

Thanks :)


September 26, 2011 | 7:12 pm

Hi O S

I don´t understand why the clocker is counting how many lists match?

what I am really trying to do is to get coll to spit out the index number of the list that matches – is that possible?



o s
September 26, 2011 | 7:31 pm

the counter does count until the matching list is found. So (as I remember it right) the 4th list does match (counted from zero makes 3). So 3 is already the right index number.

hth

ole


September 26, 2011 | 7:35 pm

thanks :)


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