Multislider from MIDI controller

MBM's icon

Hello to everybody:

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

I´m totally newbie with MAX, and I have a doubt. I´m trying to control one multislider from a external MIDI controller (Lemur´s multislider). I have done this:

I am for sure that there is a better way to do this, but I don´t know how. Any help?

BTW, is there actually not possible to use Pluggo with Max/MSP 5.2?

Thanks in advance and best regards.

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

maybe like this?

Brian Gruber's icon

look up the funnel object.

MBM's icon

Ok, thanks to both of you. Pak works perfectly, but not funnel (I didn´t know these objects, they are very interesting). Why is it? I mean, pak only sends numbers, there is not any "prepend" message. So I don´t understand why "pak" works and not "funnel" with "spray".

Thank you very much, this community is great :-)

Brian Gruber's icon

You don't need to use spray. funnel prepends a "0" to whatever comes in the first inlet, a "1" to the second, etc. For this purpose you would need to use a second argument to funnel to get it start at 1 instead of 0.

What funnel gets you here is the ability to use just one object (instead of the 4 message boxes you currently have). You still need to prepend a "select" (or "set") to the output of funnel.

As for why pak works sending just numbers without prepending any message, it's simply the case that multislider supports setting the value of all the sliders by sending one list of numbers.

MBM's icon

Ok, thank you, now I understand it :-)

Best regards.

MBM's icon

And there is a easier way to specify if I want a limited number of "ctlin"? I mean: let´s suppose that I want to control a multislider with 32 MIDI controller. I can do it with 32 objects ([ctlin 1][ctlin 2][ctlin 3]... etc.). But if I had to write it 32 times it would be very uncomfortable. Can I do it in another way? (sorry for my english).

Thanks in advance and best regards.

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

You can do it like this:

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

Mmmhh... thank you, but it´s not exactly what I had in mind. Anyway I must thank you because now I know another objects that I didn´t know (this program is infinite? ;-)). And thanks to that I found "Midiselect", that works exactly as I wanted :-)

Thanks again and regards!