Multiple sliders midi out – HELP!

Apr 27, 2007 at 10:37am

Multiple sliders midi out – HELP!

Hi!

I’m creating a midi interface in MaxMSP, to route some jitter-color tracking on to Ableton live! The thing I need to do is to make a midi-interface similar to a hardware one. I need 16 buttons, and 8 sliders. The buttons is no problem just sends out a midi note that triggers an on/off funktion in Live, no worries!

Now, my problem is that only two faders will work at the same time. I’ve used the midi_tester as my start off point. I use the “ctlout” to send one slider, and another “ctlout 1 1″, to send another one. Both sending “from MaxMSP 1″ to Live. But I can’t connect anymore sliders to any of the two, or make more “ctlout”‘s. What can I do? As I said I need 8, and I’m lost now. I’ve tried giving them differen channels and numbers and Live acknowleged this, but this was with both sliders connected to “ctlout 1 1″, and when I connect the second one. The first one causes a reaction to the same function in live BUMMER…

Thanks
All help is welcome.

#31621
Apr 27, 2007 at 2:05pm

mmh, I’m not sure that I understand …
Your problem is that you want more than one slider of the multislider to be
sent to a ctlout right ?

#P slider 256 201 15 128 0 1;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 256 176 33 9109513 ctlin 3;
#P newex 111 167 40 9109513 change;
#P newex 70 188 40 9109513 change;
#P newex 29 209 40 9109513 change;
#P newex 29 139 93 9109513 unpack 0 0 0;
#P user ubumenu 198 101 100 9109513 0 1 1 0;
#X add;
#X prefix_set 0 0 0;
#P newex 198 50 45 9109513 loadbang;
#P newex 198 76 41 9109513 midiinfo;
#P newex 111 236 40 9109513 ctlout 3;
#P newex 70 259 40 9109513 ctlout 2;
#P slider 186 201 15 128 0 1;
#P slider 221 201 15 128 0 1;
#P newex 221 176 33 9109513 ctlin 2;
#P newex 186 176 33 9109513 ctlin 1;
#P newex 29 296 40 9109513 ctlout 1;
#P user multiSlider 29 21 138 96 0. 127. 3 2921 47 0 2 4 0 0 0;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P comment 254 76 120 9109513 1- choose a MIDI device;
#P hidden connect 11 1 2 0;
#P hidden connect 11 1 7 0;
#P hidden connect 11 1 8 0;
#P hidden connect 11 1 3 0;
#P hidden connect 11 1 4 0;
#P hidden connect 11 1 16 0;
#P connect 14 0 2 0;
#P lcolor 16;
#P connect 1 0 12 0;
#P connect 12 2 15 0;
#P connect 12 1 14 0;
#P connect 12 0 13 0;
#P connect 16 0 17 0;
#P connect 13 0 2 0;
#P connect 15 0 8 0;
#P connect 3 0 6 0;
#P connect 4 0 5 0;
#P connect 10 0 9 0;
#P connect 9 0 11 0;
#P window clipboard copycount 18;

#103005
Apr 27, 2007 at 8:07pm

Hi, thanks foor taking an interest!

This is for my bachelor project at design college, I am a designer, not a programmer, so I’m a bit lost right now.

I hope you can see the picture! What I want is to be able to make more midi sliders (values) int’s if you will (I guess), sorry I’m so bad at this. I’m a newbee, I don’t even know where to paiste the code you sent me? Please let me know.

Anyway, as you can see on the picture the two sliders controls the two marked dials, but if I add more to one “ctlout”, I can make live recognise the diference, but when I move either one attached to the same “ctlout 1 1″, the same dial moves in Live… I’m so out off ideas, perhaps becouse I know to litte. Have been, through all the helps, and the manual four times.

Thanks a lot.
Morten_B
[img]index.php?t=getfile&id=609&private=0[/img]

#103006
Apr 27, 2007 at 8:12pm

Hi, thanks for taking an interest!

This is for my bachelor project at design college, I am a designer, not a programmer, so I’m a bit lost right now.

I hope you can see the picture! What I want is to be able to make more midi sliders (values) int’s if you will (I guess), sorry I’m so bad at this. I’m a newbee, I don’t even know where to paiste the code you sent me? Please let me know.

Anyway, as you can see on the picture the two sliders controls the two marked dials, but if I add more to one “ctlout”, and change the channel and the number, I can make live recognise the diference, but when I move either one attached to the same “ctlout 1 1″, the same dial moves in Live… I’m so out off ideas, perhaps becouse I know to litte. Have been, through all the helps, and the manual four times.

Thanks a lot.
Morten_B
[img]index.php?t=getfile&id=609&private=0[/img]

#103007
Apr 27, 2007 at 8:21pm

Found out how to paiste the code… Sorry! My brain stopped working about 7 hours ago…

Here is my code.

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P comment 726 332 143 196617 3. – 4 25;
#P comment 726 315 143 196617 1. – 4 22;
#P hidden newex 667 280 54 196617 ctlout 1 1;
#P user hslider 725 279 18 128 128 1 0 0;
#P user hslider 725 121 18 128 128 1 0 0;
#P message 615 170 20 196617 61;
#P button 615 126 28 0;
#P message 615 243 20 196617 57;
#P button 615 199 28 0;
#P message 615 319 20 196617 53;
#P button 615 275 28 0;
#P message 513 170 20 196617 58;
#P button 513 126 28 0;
#P message 581 170 20 196617 60;
#P message 547 170 20 196617 59;
#P button 581 126 28 0;
#P button 547 126 28 0;
#P message 513 243 20 196617 54;
#P button 513 199 28 0;
#P message 581 243 20 196617 56;
#P message 547 243 20 196617 55;
#P button 581 199 28 0;
#P button 547 199 28 0;
#P number 793 165 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user hslider 725 189 18 128 128 1 0 0;
#P number 759 165 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 725 165 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 725 147 135 196617 CC (value , number , channel);
#P comment 8 81 185 196617 Midi_INTERFACE for Ableton Live;
#B color 1;
#P comment 747 217 135 196617 reset slider to middle pos.;
#P message 725 216 20 196617 64;
#P message 513 319 20 196617 50;
#P button 513 275 28 0;
#P comment 725 81 135 196617 CC (value , number , channel);
#P number 792 256 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 758 256 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 725 256 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 581 319 20 196617 52;
#P message 547 319 20 196617 51;
#P button 512 343 15 0;
#P hidden newex 221 137 93 196617 makenote 64 1000;
#P user kslider 513 81 35 1 36 48 19 7 0 128 128 128 128 128 128 255 255 255 0 0 0 0 0 0;
#P hidden newex 222 260 42 196617 midiout;
#P number 6 313 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 6 297 55 196617 raw bytes;
#P number 43 278 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 6 278 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 221 239 45 196617 touchout;
#P comment 6 262 131 196617 aftertouch (value , channel);
#P number 43 242 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 6 242 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 221 219 41 196617 pgmout;
#P comment 5 226 169 196617 program change (program , channel);
#P number 42 207 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 5 207 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 221 200 43 196617 bendout;
#P comment 6 191 125 196617 pitch bend (bend , channel);
#P number 80 171 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 43 171 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 6 171 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 221 180 42 196617 polyout;
#P comment 6 155 185 196617 poly pressure (pressure , key , channel);
#P number 80 136 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 43 136 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 6 136 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 221 158 42 196617 noteout;
#P comment 6 120 143 196617 note (pitch , velocity , channel);
#P number 793 98 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 759 98 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 725 98 35 9 0 127 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 674 122 40 196617 ctlout;
#P comment 725 238 135 196617 CC (value , number , channel);
#P hidden message 396 143 22 196617 set;
#P hidden message 367 172 19 196617 -1;
#P user umenu 531 342 100 196647 1 64 358 1;
#X add “AU DLS Synth 1″;
#X add “from MaxMSP 1″;
#X add “from MaxMSP 2″;
#P hidden newex 367 194 45 196617 midiinfo;
#P hidden message 346 172 19 196617 -1;
#P hidden newex 311 193 45 196617 midiinfo;
#P hidden button 322 125 15 0;
#P comment 632 342 69 196617 output device;
#P hidden newex 323 144 45 196617 loadbang;
#P button 581 275 28 0;
#P button 547 275 28 0;
#P window setfont “Sans Serif” 20.;
#P comment 8 25 100 196628 controller;
#P hidden connect 53 0 80 0;
#P hidden connect 53 0 47 0;
#P hidden connect 80 0 47 0;
#P hidden connect 59 0 57 0;
#P hidden connect 79 0 14 0;
#P hidden connect 49 0 81 2;
#P hidden connect 16 0 13 2;
#P hidden connect 48 0 81 1;
#P hidden connect 15 0 13 1;
#P hidden connect 14 0 13 0;
#P hidden connect 9 1 13 0;
#P hidden connect 47 0 81 0;
#P hidden connect 9 1 18 0;
#P hidden connect 9 1 23 0;
#P hidden connect 9 1 28 0;
#P hidden connect 9 1 32 0;
#P hidden connect 9 1 36 0;
#P hidden connect 9 1 41 0;
#P hidden connect 9 1 81 0;
#P connect 73 0 74 0;
#P connect 75 0 76 0;
#P connect 77 0 78 0;
#P connect 2 0 46 0;
#P connect 62 0 64 0;
#P connect 68 0 70 0;
#P connect 1 0 45 0;
#P connect 61 0 63 0;
#P connect 67 0 69 0;
#P hidden connect 8 0 9 0;
#P connect 51 0 52 0;
#P connect 65 0 66 0;
#P connect 71 0 72 0;
#P hidden connect 78 0 42 0;
#P hidden connect 70 0 42 0;
#P hidden connect 69 0 42 0;
#P hidden connect 72 0 42 0;
#P hidden connect 76 0 42 0;
#P hidden connect 64 0 42 0;
#P hidden connect 63 0 42 0;
#P hidden connect 66 0 42 0;
#P hidden connect 74 0 42 0;
#P hidden connect 46 0 42 0;
#P hidden connect 45 0 42 0;
#P hidden connect 52 0 42 0;
#P hidden connect 3 0 7 0;
#P hidden connect 3 0 10 0;
#P hidden connect 3 0 11 0;
#P hidden connect 10 0 8 0;
#P hidden connect 44 0 10 0;
#P hidden connect 7 0 6 1;
#P hidden connect 5 0 3 0;
#P hidden connect 42 1 43 1;
#P hidden connect 38 0 36 1;
#P hidden connect 30 0 28 1;
#P hidden connect 26 0 23 2;
#P hidden connect 21 0 18 2;
#P hidden connect 34 0 32 1;
#P hidden connect 25 0 23 1;
#P hidden connect 20 0 18 1;
#P hidden connect 40 0 41 0;
#P hidden connect 37 0 36 0;
#P hidden connect 33 0 32 0;
#P hidden connect 29 0 28 0;
#P hidden connect 24 0 23 0;
#P hidden connect 19 0 18 0;
#P hidden connect 42 0 43 0;
#P hidden connect 43 1 20 0;
#P hidden connect 43 0 19 0;
#P window clipboard copycount 84;

Hope you can help.

#103008
Apr 28, 2007 at 12:45am

To open a patch in text format, copy it, and in max -> file -> new from
clipboard, or copy it, and in max -> new -> paste.

I have to admit I still don’t understand exactly your problem, but I try
anyway.
1st, I think it is MUCH better to specify arguments to ctlout, i.e. ctlout 1
1 = controller 1 on midi channel 1.
On the pic, you are in midi learn mode in ableton, so I guess you have to do
this:
1- select a knob in ableton you want to midi-control
2- move the slider in max that goes in ctlout 1
the knob is now assigned to controller nr 1
3- select another knob you want to midi-control
4- move a slider in max that goes in ctlout 2,
u.s.w…

If you connect many sliders to ctlout 1, they all send infos only on midi
controller 1, so I guess it’s normal that only the knob assigned to ctl1 in
ableton moves…
Good luck.

#103009

You must be logged in to reply to this topic.