Combinig /replacing list entries

Nov 11, 2012 at 5:56pm

Combinig /replacing list entries

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

#65160
Nov 11, 2012 at 7:16pm

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. –
#234891

You must be logged in to reply to this topic.