replacing 5 split values

Dec 3, 2012 at 9:57pm

replacing 5 split values

Hi all,

Firstly, thanks for the help so far.

My next head scratch.

I’m trying to replace ‘split’ object arguments that are generated from a changing source.


I have 5 split objects containing 10 arguments.

split 10 20 split 20 30 split 30 40 split 40 50 split 50 60

I’m then randomly generating different split arguments that I need to replace the above with.

So, I may need split 10 15 split 15 21 split 22 30 etc etc.

How could I achieve this without having to rewrite my new split ranges every time?

I’ve tried using prepend but can’t seem to find a way around this problem!!

Thanks again.

Dec 3, 2012 at 10:04pm

I’m not sure I understand the problem. split changes its values with the middle and right inlets…

– Pasted Max Patch, click to expand. –
Dec 3, 2012 at 10:38pm


I apologise I totally overlooked this!

I’ve been deep in Max for 8 hours, I need a break perhaps.

Nice one.

Dec 4, 2012 at 12:14am

Hi astevens,

if that’s how you’re using [split], you might be interested in trying [sadam.split] from my library (see ). It’s basically a [split] with as many ‘splitting points’ as you wish.



You must be logged in to reply to this topic.