Forums > MaxMSP

Combine Coll into One List

August 15, 2013 | 1:55 pm

I need to combine a coll into a single list where:

0, 1;
1, 1 1;
2, 1;
3, 1 1 1 1;
4, 1;
5, 1 1;
6, 1;
7, 1;
8, 1 1;

becomes:

(1) (1 1) (1) (1 1 1 1) (1) (1 1) (1) (1) (1 1)

Length will always vary, too.


August 15, 2013 | 3:16 pm

Are the extra spaces in this a problem:

– Pasted Max Patch, click to expand. –

??


August 15, 2013 | 3:28 pm

that did it. Funny, because that’s what I was doing in another part of the patch with dealing with another list. Just didn’t connect it in my mind. Thanks.


August 20, 2013 | 4:16 am

here is what you originally requested..

– Pasted Max Patch, click to expand. –

August 21, 2013 | 8:05 am

It’s nice to know I am on the right track. I worked this same solution with Mike’s solution. Thanks though.


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