Trying to interleave lists from three multisliders

geddonn's icon

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.

Max Patch
Copy patch and select New From Clipboard in Max.

Here is what I have so far:

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

geddonn's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

yp's icon

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

Max Patch
Copy patch and select New From Clipboard in Max.

Cheers

geddonn's icon

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.

Max Patch
Copy patch and select New From Clipboard in Max.

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

geddonn's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

yp's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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).

geddonn's icon

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?

yp's icon

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

geddonn's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Aha! I think I've had a breakthrough.

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.

geddonn's icon

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?

yp's icon

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