Trying to interleave lists from three multisliders

Feb 26, 2012 at 9:39pm

Trying to interleave lists from three multisliders

Hi, I’m trying to interleave multiple lists from multiple multisliders.

The idea is to be able to send lists to each individual voice in a poly~ patcher.

Here is what I have so far:

– Pasted Max Patch, click to expand. –

As you can see multisliders 2 and 3 are sending slider 2 twice rather than 1 then 2.

#61993
Feb 26, 2012 at 9:53pm

This is another idea I had that also doesn’t work.

– Pasted Max Patch, click to expand. –
#223864
Feb 26, 2012 at 9:54pm

They’re sending slider 2 twice because of [listfunnel].
Check out the new [join].. it makes this sort of stuff much easier.

http://cycling74.com/2011/11/28/week-45-pack-and-join/

Cheers

– Pasted Max Patch, click to expand. –
#223865
Feb 26, 2012 at 10:02pm

Ah, thanks that’s a very useful object!

I’m still having trouble getting each list from each slider
so for example I want a list that has the value of the first slider from each multislider, then after that to get the value from the second slider from each mutislider.

Here’s another patch that seems to only send the value of the 2nd slider.

– Pasted Max Patch, click to expand. –
#223866
Feb 26, 2012 at 10:12pm

This seems to work but only triggers after banging the uzi at the top.

– Pasted Max Patch, click to expand. –
#223867
Feb 26, 2012 at 10:35pm

This should work.
The sole purpose of the [zl change] + [zl len] combo is to avoid triggering the [uzi] twice. (once by clicking and again by releasing the mouse).

– Pasted Max Patch, click to expand. –
#223868
Feb 26, 2012 at 10:58pm

Ah thanks, that does the job. I’ve come into a problem though, in my main patch I want to send 12 values but you can only go up to 10 ‘$1′.
I’ve looked into sprintf to deal with this instead of [join] but this way I can’t send target $1 first. Hmm.. could this mean having to make two inputs on the poly~ for two separate lists?

#223869
Feb 26, 2012 at 11:04pm

EDIT: yeah.. two inputs should solve the problem – just make sure that both messages start with target $1, $2 etc..

#223870
Feb 26, 2012 at 11:09pm

Aha! I think I’ve had a breakthrough.

– Pasted Max Patch, click to expand. –

This should do the job for anyone wanting to send over 9 values to each voice on a poly.

I shall test it on my polyecho~ device and report back.

#223871
Feb 26, 2012 at 11:37pm

Hmm, tested it and now it only sends values to voice 7. Even though print is saying that the messages are formatted correctly.

Could it be that poly~ can’t keep up with the speed the messages are given to it?

#223872
Feb 27, 2012 at 8:27am

Could you attach your patch? or at least the relevant part of it?

#223873

You must be logged in to reply to this topic.