Forums > MaxMSP

Combinig /replacing list entries

November 11, 2012 | 5:56 pm

Hi,
i’m new to max and have a (maybe) very basic problem:

I got two lists , one have always 32 entries (list1) , the other is varying in lenght up to 32 (list2), lets say it has 16 entries.
I want to replace the entries of list1 by list2 but keep the last 16 entries in list1 as they are (until list1 also has 32, the all entries should be overwritten)..

– Pasted Max Patch, click to expand. –

i think its a very simple thing but with all my attempts with te zl-object i had no luck..
can anybody help?

thanks in advance
rossi


November 11, 2012 | 7:16 pm

Hello,

You can implement that with a couple of zl objects using len, slice and join.

Here is one implementation. I hope you find it useful.

– Pasted Max Patch, click to expand. –

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