Auto Link to Midi Controller

Oct 28, 2006 at 1:29am

Auto Link to Midi Controller

Is there some sort of object or abstraction I can set up to auto link midi controllers to my ctlin. Basically once my patches are final I want to be able to click on all the things that are meant to be linked to controllers such as sliders, move my the slider I want to link it to on my controller and then have it autolinked. Is this do-able?

#28403
Oct 28, 2006 at 2:04am

Do-able only through some cleverness … this would be a nice abstraction to create, but I’m not quite sure how it would be implemented.

You’d have to do a ctlin that would be activated once it was clicked, then the readout (controller # and channel #) would get mapped *into itself*, so that it would automatically filter the subsequent ctlin information.

Haven’t made one yet… but it’s certainly do-able.

-CJ

#87125
Oct 28, 2006 at 1:40pm

you mean something like that ?

max v2;
#N vpatcher 15 40 544 478;
#P window setfont “Sans Serif” 12.;
#P window linecount 1;
#P newex 279 109 48 9109516 t 0 i;
#P comment 252 330 100 9109516 to your knob …;
#P outlet 249 308 15 0;
#N comlet to toggle;
#P outlet 202 259 15 0;
#P newex 202 214 39 9109516 t 0;
#P newex 249 177 78 9109516 change;
#P newex 249 214 77 9109516 prepend set;
#P newex 249 272 79 9109516 ctlin;
#P newex 245 50 79 9109516 ctlin;
#P newex 249 141 78 9109516 gate;
#N comlet from toggle;
#P inlet 249 81 15 0;
#P comment 176 95 69 9109516 from toggle;
#P window linecount 2;
#P comment 65 147 100 9109516 toggle is the midilearn on/off;
#P window linecount 1;
#P comment 143 259 57 9109516 to toggle;
#P connect 8 0 9 0;
#P connect 9 0 10 0;
#P connect 13 0 4 0;
#P connect 3 0 4 0;
#P connect 4 0 8 0;
#P connect 8 0 7 0;
#P connect 7 0 6 0;
#P connect 6 0 11 0;
#P connect 5 1 13 0;
#P connect 13 1 4 1;
#P pop;

#87126
Oct 28, 2006 at 2:01pm

Max Chadwick wrote:
> Is there some sort of object or abstraction I can set up to auto link
> midi controllers to my ctlin. Basically once my patches are final I
> want to be able to click on all the things that are meant to be
> linked to controllers such as sliders, move my the slider I want to
> link it to on my controller and then have it autolinked. Is this
> do-able?

I made a St.LearnCtlin a long time ago, featuring even 14-bit
controllers… (havent touched it probably since Max 4.1 ;-)
I’d say yes, its do-able…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#87127
Oct 28, 2006 at 2:32pm

I posted on the list last year a patch that does this using a feature
of pattrstorage. See the posted thread. You need all your GUI to be
associated with a pattr object though.

I hope this helps

pa

http://www.cycling74.com/forums/index.php?
t=msg&goto=58007&rid=0&S=8fc15074c0adf77374f9da7b59e27d4a&srch=le_centre
#msg_58007

#87128
Oct 29, 2006 at 10:56am

>Max Chadwick wrote:
>>Is there some sort of object or abstraction I can set up to auto link
>>midi controllers to my ctlin. Basically once my patches are final I
>>want to be able to click on all the things that are meant to be
>>linked to controllers such as sliders, move my the slider I want to
>>link it to on my controller and then have it autolinked. Is this
>>do-able?

when i saw this feature (in live or reaktor ??) i build the
following patch (which i keep in prototypes) which does what you
describe, and keeps the info once you save and close the patch

clik on toggle, move your controller and that’s it

best

kasper

#P user dial 286 303 26 26 128 1 0 0 191 270 1 0.625 170 170 170 221
221 221 120 120 120 225 225 225 0 0 0 0 0 0;
#P toggle 311 303 13 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#N vpatcher 20 74 489 623;
#P outlet 113 414 15 0;
#P outlet 166 414 15 0;
#P inlet 103 96 15 0;
#P window setfont “Sans Serif” 9.;
#P message 166 392 39 196617 set $1;
#P toggle 149 165 15 0;
#P newex 294 255 40 196617 change;
#P newex 149 182 24 196617 gate;
#P number 303 174 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 294 235 14 196617 1;
#P message 328 235 14 196617 0;
#P button 328 217 15 0;
#P button 294 217 15 0;
#P newex 341 197 38 196617 del 20;
#P newex 294 197 44 196617 sel 129;
#P newex 341 151 29 196617 gate;
#P newex 49 93 30 196617 t b b;
#P message 69 114 14 196617 1;
#P message 304 343 43 196617 store 1;
#N vpreset 10;
#P preset 69 138 18 17;
#P newex 49 69 48 196617 loadbang;
#P number 211 261 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 113 375 15 0;
#P message 202 333 14 196617 1;
#P message 236 333 14 196617 0;
#P button 236 315 15 0;
#P newex 113 353 40 196617 change;
#P newex 113 392 46 196617 gate;
#P button 202 315 15 0;
#P newex 249 295 38 196617 del 20;
#P newex 202 295 44 196617 sel 129;
#P newex 222 221 29 196617 gate;
#P number 241 99 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 202 99 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 163 99 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 163 76 89 196617 ctlin;
#P toggle 103 127 15 0;
#P connect 16 0 20 0;
#P connect 20 1 19 0;
#P connect 19 0 17 0;
#P fasten 18 0 17 0 309 362 65 362 65 132 74 132;
#P fasten 7 0 0 0 254 314 275 314 275 124 108 124;
#P connect 33 0 0 0;
#P fasten 13 0 10 0 207 350 118 350;
#P fasten 12 0 10 0 241 350 118 350;
#P connect 10 0 14 0;
#P fasten 12 0 14 0 241 372 118 372;
#P connect 14 0 9 0;
#P connect 9 0 35 0;
#P fasten 30 0 31 0 299 277 266 277 266 154 154 154;
#P connect 31 0 29 0;
#P connect 29 0 9 1;
#P connect 1 0 2 0;
#P connect 2 0 29 1;
#P connect 0 0 32 0;
#P connect 32 0 34 0;
#P connect 1 1 3 0;
#P connect 3 0 6 0;
#P connect 6 0 8 0;
#P connect 8 0 13 0;
#P fasten 17 0 15 0 74 254 216 254;
#P fasten 5 0 15 0 227 249 216 249;
#P fasten 20 0 15 0 54 150 216 150;
#P fasten 0 0 5 0 108 207 227 207;
#P fasten 15 0 6 1 216 282 241 282;
#P connect 6 1 11 0;
#P connect 11 0 12 0;
#P connect 1 2 4 0;
#P fasten 3 0 5 1 207 193 246 193;
#P fasten 5 0 7 0 227 249 254 249;
#P fasten 4 0 22 0 246 118 299 118;
#P connect 22 0 24 0;
#P connect 24 0 27 0;
#P connect 27 0 30 0;
#P fasten 26 0 30 0 333 252 299 252;
#P fasten 21 0 28 0 346 171 308 171;
#P fasten 20 0 28 0 54 150 308 150;
#P fasten 17 0 28 0 74 161 308 161;
#P fasten 23 0 18 0 346 332 309 332;
#P fasten 7 0 18 0 254 332 309 332;
#P fasten 28 0 22 1 308 192 333 192;
#P connect 22 1 25 0;
#P connect 25 0 26 0;
#P fasten 0 0 21 0 108 146 346 146;
#P connect 21 0 23 0;
#P fasten 4 0 21 1 246 118 365 118;
#P pop;
#P hidden newobj 286 284 30 196617 p CC;
#P hidden connect 0 1 1 0;
#P hidden connect 1 0 0 0;
#P hidden connect 0 0 2 0;
#P window clipboard copycount 3;

#87129

You must be logged in to reply to this topic.