Forums > MaxMSP

Updating MicroKontrol Infinite Encoders

June 11, 2008 | 6:25 pm

I’m using a MicroKontrol’s endless encoders to control knobs in Max. I
want changes in Max to update the MicroKontrol’s encoders.

int[0-127] -> ctlout[cc#] doesn’t seem to work.

I’m guessing that the MicroKontrol won’t allow Max to control it by
default, but maybe there’s something special I need to do in Max. Any
ideas?

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 428 344 53 196617 print test;
#N vpatcher 28 442 1311 773;
#P origin 81 3;
#P inlet 1206 55 15 0;
#P inlet 1121 55 15 0;
#P inlet 1057 53 15 0;
#P inlet 970 53 15 0;
#P inlet 873 53 15 0;
#P inlet 786 53 15 0;
#P inlet 684 53 15 0;
#P inlet 597 53 15 0;
#P inlet 527 51 15 0;
#P inlet 440 51 15 0;
#P inlet 353 51 15 0;
#P inlet 266 51 15 0;
#P inlet 169 51 15 0;
#P inlet 92 51 15 0;
#P inlet 20 49 15 0;
#P inlet -45 49 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 970 196 51 196617 ctlout 87;
#P newex 785 196 51 196617 ctlout 82;
#P newex 691 196 51 196617 ctlout 81;
#P newex 600 196 51 196617 ctlout 80;
#P newex 1206 198 51 196617 ctlout 90;
#P newex 1121 198 51 196617 ctlout 89;
#P newex 1057 196 51 196617 ctlout 88;
#P newex 874 196 51 196617 ctlout 83;
#P newex 534 194 51 196617 ctlout 51;
#P newex 442 194 51 196617 ctlout 50;
#P newex 354 194 51 196617 ctlout 49;
#P newex 264 194 51 196617 ctlout 48;
#P newex 173 194 51 196617 ctlout 19;
#P newex 92 194 51 196617 ctlout 18;
#P newex 23 195 51 196617 ctlout 17;
#P newex -45 195 51 196617 ctlout 16;
#P connect 16 0 0 0;
#P connect 17 0 1 0;
#P connect 18 0 2 0;
#P connect 19 0 3 0;
#P connect 20 0 4 0;
#P connect 21 0 5 0;
#P connect 22 0 6 0;
#P connect 23 0 7 0;
#P connect 24 0 12 0;
#P connect 25 0 13 0;
#P connect 26 0 14 0;
#P connect 27 0 8 0;
#P connect 28 0 15 0;
#P connect 29 0 9 0;
#P connect 30 0 10 0;
#P connect 31 0 11 0;
#P pop;
#P newobj 68 384 209 196617 p ctlouts;
#P newex 329 271 35 196617 s k_8;
#P newex 293 271 35 196617 s k_7;
#P newex 257 271 35 196617 s k_6;
#P newex 221 271 35 196617 s k_5;
#P newex 184 271 35 196617 s k_4;
#P newex 148 271 35 196617 s k_3;
#P newex 112 271 35 196617 s k_2;
#P newex 76 271 35 196617 s k_1;
#P newex 266 296 35 196617 s s_8;
#P newex 230 296 35 196617 s s_7;
#P newex 194 296 35 196617 s s_6;
#P newex 158 296 35 196617 s s_5;
#P newex 121 296 35 196617 s s_4;
#P newex 85 296 35 196617 s s_3;
#P newex 49 296 35 196617 s s_2;
#P newex 13 296 35 196617 s s_1;
#P hidden newex 2 11 48 196617 loadbang;
#P hidden newex 17 29 45 196617 midiinfo;
#P user umenu 17 48 96 196647 1 64 64 0;
#X add "microKONTROL Port 1";
#X add "microKONTROL Port 2";
#X add "microKONTROL Port 3";
#X add "to MaxMSP 1";
#X add "to MaxMSP 2";
#P hidden message 52 12 14 196617 1;
#P user textedit 319 205 359 229 32896 3 9;
#P user uslider 319 141 40 48 128 1 0 0;
#P user textedit 277 205 317 229 32896 3 9;
#P user uslider 277 141 40 48 128 1 0 0;
#P user textedit 235 205 275 229 32896 3 9;
#P user uslider 235 141 40 48 128 1 0 0;
#P user textedit 193 205 233 229 32896 3 9;
#P user uslider 193 141 40 48 128 1 0 0;
#P user textedit 142 205 182 229 32896 3 9;
#P user uslider 142 141 40 48 128 1 0 0;
#P user textedit 100 205 140 229 32896 3 9;
#P user uslider 100 141 40 48 128 1 0 0;
#P user textedit 58 205 98 229 32896 3 9;
#P user uslider 58 141 40 48 128 1 0 0;
#P user textedit 319 114 359 138 32896 3 9;
#P user dial 319 72 40 40 128 1 0 0 159 270 1 1. 170 170 170 221 221
221 120 120 120 225 225 225 0 0 0 0 0 0;
#P user textedit 277 114 317 138 32896 3 9;
#P user dial 277 72 40 40 128 1 0 0 159 270 1 1. 170 170 170 221 221
221 120 120 120 225 225 225 0 0 0 0 0 0;
#P user textedit 235 114 275 138 32896 3 9;
#P user dial 235 72 40 40 128 1 0 0 159 270 1 1. 170 170 170 221 221
221 120 120 120 225 225 225 0 0 0 0 0 0;
#P user textedit 193 114 233 138 32896 3 9;
#P user dial 193 72 40 40 128 1 0 0 159 270 1 1. 170 170 170 221 221
221 120 120 120 225 225 225 0 0 0 0 0 0;
#P user textedit 142 114 182 138 32896 3 9;
#P user dial 142 72 40 40 128 1 0 0 159 270 1 1. 170 170 170 221 221
221 120 120 120 225 225 225 0 0 0 0 0 0;
#P user textedit 100 114 140 138 32896 3 9;
#P user dial 100 72 40 40 128 1 0 0 159 270 1 1. 170 170 170 221 221
221 120 120 120 225 225 225 0 0 0 0 0 0;
#P user textedit 58 114 98 138 32896 3 9;
#P user dial 58 72 40 40 128 1 0 0 159 270 1 1. 170 170 170 221 221
221 120 120 120 225 225 225 0 0 0 0 0 0;
#P user textedit 16 205 56 229 32896 3 9;
#P user textedit 16 114 56 138 32896 3 9;
#N vpatcher -257 311 1013 524;
#P origin 228 3;
#P window setfont "Sans Serif" 9.;
#P newex 436 132 63 196617 s $1_knob8;
#P newex 346 133 63 196617 s $1_knob7;
#P newex 256 132 63 196617 s $1_knob6;
#P newex 166 133 63 196617 s $1_knob5;
#P newex 76 132 63 196617 s $1_knob4;
#P newex -14 134 63 196617 s $1_knob3;
#P newex -104 131 63 196617 s $1_knob2;
#P newex -194 132 63 196617 s $1_knob1;
#P newex 1147 140 57 196617 s $1_fad8;
#P newex 1061 141 57 196617 s $1_fad7;
#P newex 968 140 57 196617 s $1_fad6;
#P newex 888 141 57 196617 s $1_fad5;
#P newex 791 140 57 196617 s $1_fad4;
#P newex 714 142 57 196617 s $1_fad3;
#P newex 634 139 57 196617 s $1_fad2;
#P newex 542 140 57 196617 s $1_fad1;
#P outlet 1156 167 15 0;
#P outlet 1071 167 15 0;
#P outlet 981 167 15 0;
#P outlet 890 167 15 0;
#P outlet 800 167 15 0;
#P outlet 712 167 15 0;
#P outlet 622 167 15 0;
#P outlet 531 167 15 0;
#P newex 1150 117 87 196617 zmap 0 127 0. 1.;
#P newex 1158 85 45 196617 ctlin 90;
#P newex 1041 117 87 196617 zmap 0 127 0. 1.;
#P newex 1060 88 45 196617 ctlin 89;
#P newex 953 107 87 196617 zmap 0 127 0. 1.;
#P newex 972 89 45 196617 ctlin 88;
#P newex 877 119 87 196617 zmap 0 127 0. 1.;
#P newex 886 88 45 196617 ctlin 87;
#P newex 796 119 87 196617 zmap 0 127 0. 1.;
#P newex 806 87 45 196617 ctlin 83;
#P newex 708 119 87 196617 zmap 0 127 0. 1.;
#P newex 710 88 45 196617 ctlin 82;
#P newex 620 117 87 196617 zmap 0 127 0. 1.;
#P newex 618 91 45 196617 ctlin 81;
#P newex 532 119 87 196617 zmap 0 127 0. 1.;
#P newex 532 88 45 196617 ctlin 80;
#P outlet 431 167 15 0;
#P outlet 343 167 15 0;
#P outlet 253 167 15 0;
#P outlet 162 167 15 0;
#P outlet 72 167 15 0;
#P outlet -16 167 15 0;
#P outlet -106 167 15 0;
#P outlet -195 167 15 0;
#P newex 423 111 87 196617 zmap 0 127 0. 1.;
#P newex 424 78 45 196617 ctlin 51;
#P newex 335 111 87 196617 zmap 0 127 0. 1.;
#P newex 334 78 45 196617 ctlin 50;
#P newex 247 111 87 196617 zmap 0 127 0. 1.;
#P newex 246 79 45 196617 ctlin 49;
#P newex 159 111 87 196617 zmap 0 127 0. 1.;
#P newex 160 78 45 196617 ctlin 48;
#P newex 69 111 87 196617 zmap 0 127 0. 1.;
#P newex 70 78 45 196617 ctlin 19;
#P newex -19 111 87 196617 zmap 0 127 0. 1.;
#P newex -11 78 45 196617 ctlin 18;
#P newex -107 111 87 196617 zmap 0 127 0. 1.;
#P newex -107 82 45 196617 ctlin 17;
#P inlet 794 43 15 0;
#P newex -195 111 87 196617 zmap 0 127 0. 1.;
#P newex -194 78 45 196617 ctlin 16;
#P connect 0 0 1 0;
#P connect 0 0 17 0;
#P connect 2 0 0 0;
#P connect 1 0 57 0;
#P connect 2 0 3 0;
#P connect 3 0 4 0;
#P connect 3 0 18 0;
#P connect 4 0 58 0;
#P connect 5 0 6 0;
#P connect 5 0 19 0;
#P connect 6 0 59 0;
#P connect 2 0 5 0;
#P connect 7 0 8 0;
#P connect 2 0 7 0;
#P connect 7 0 20 0;
#P connect 8 0 60 0;
#P connect 9 0 10 0;
#P connect 2 0 9 0;
#P connect 9 0 21 0;
#P connect 10 0 61 0;
#P connect 2 0 11 0;
#P connect 11 0 12 0;
#P connect 11 0 22 0;
#P connect 12 0 62 0;
#P connect 2 0 13 0;
#P connect 13 0 14 0;
#P connect 13 0 23 0;
#P connect 14 0 63 0;
#P connect 15 0 16 0;
#P connect 2 0 15 0;
#P connect 15 0 24 0;
#P connect 16 0 64 0;
#P connect 25 0 41 0;
#P connect 2 0 25 0;
#P connect 25 0 26 0;
#P connect 26 0 49 0;
#P connect 2 0 27 0;
#P connect 27 0 28 0;
#P connect 27 0 42 0;
#P connect 28 0 50 0;
#P connect 29 0 30 0;
#P connect 2 0 29 0;
#P connect 29 0 43 0;
#P connect 30 0 51 0;
#P connect 32 0 52 0;
#P connect 31 0 32 0;
#P connect 31 0 44 0;
#P connect 2 0 31 0;
#P connect 33 0 34 0;
#P connect 2 0 33 0;
#P connect 34 0 53 0;
#P connect 33 0 45 0;
#P connect 35 0 36 0;
#P connect 36 0 54 0;
#P connect 2 0 35 0;
#P connect 35 0 46 0;
#P connect 37 0 38 0;
#P connect 2 0 37 0;
#P connect 38 0 55 0;
#P connect 37 0 47 0;
#P connect 40 0 56 0;
#P connect 39 0 40 0;
#P connect 39 0 48 0;
#P connect 2 0 39 0;
#P pop;
#P newobj 17 231 344 196617 p ctlins;
#P user uslider 16 141 40 48 128 1 0 0;
#P user dial 16 72 40 40 128 1 0 0 159 270 1 1. 170 170 170 221 221
221 120 120 120 225 225 225 0 0 0 0 0 0;
#P comment 116 50 130 196617 select output (MK Port B);
#P connect 3 8 38 0;
#P hidden connect 3 0 1 0;
#P hidden connect 3 8 2 0;
#P hidden connect 36 0 35 0;
#P connect 3 9 39 0;
#P hidden connect 37 0 34 0;
#P hidden connect 34 0 36 1;
#P hidden connect 3 1 6 0;
#P hidden connect 3 9 20 0;
#P connect 1 0 54 0;
#P connect 3 0 46 0;
#P fasten 6 0 54 1 64 113;
#P connect 3 10 40 0;
#P connect 8 0 54 2;
#P hidden connect 3 2 8 0;
#P hidden connect 3 10 22 0;
#P connect 10 0 54 3;
#P connect 3 1 47 0;
#P connect 12 0 54 4;
#P connect 3 11 41 0;
#P connect 14 0 54 5;
#P hidden connect 3 3 10 0;
#P hidden connect 3 11 24 0;
#P connect 16 0 54 6;
#P connect 3 2 48 0;
#P connect 3 12 42 0;
#P connect 18 0 54 7;
#P connect 3 3 49 0;
#P hidden connect 3 4 12 0;
#P hidden connect 3 12 26 0;
#P connect 3 13 43 0;
#P connect 3 4 50 0;
#P connect 3 14 44 0;
#P hidden connect 3 5 14 0;
#P hidden connect 3 13 28 0;
#P connect 3 5 51 0;
#P connect 3 15 45 0;
#P hidden connect 3 6 16 0;
#P hidden connect 3 14 30 0;
#P connect 3 6 52 0;
#P hidden connect 3 7 18 0;
#P hidden connect 3 15 32 0;
#P connect 3 7 53 0;
#P connect 18 0 55 0;
#P window clipboard copycount 56;


Morgan Sutherland


June 11, 2008 | 9:46 pm

From what I remember, the microKONTROL and its siblings only implement 2-way communication in Native Korg Mode (sysex-only).

When using regular MK scenes, the microKONTROL cannot be updated by the app (and the messages sent by the encoders are not actually endless).

The Native mode sysex documentation is available from Korg’s website. You may find some patches posted in the archive here too.


June 12, 2008 | 1:18 am

That’s quite annoying. Might just make me sell my MicroKontrol.

On Wed, Jun 11, 2008 at 5:46 PM, John Pitcairn
wrote:
>
> >From what I remember, the microKONTROL and its siblings only implement 2-way communication in Native Korg Mode (sysex-only).
>
> When using regular MK scenes, the microKONTROL cannot be updated by the app (and the messages sent by the encoders are not actually endless).
>
> The Native mode sysex documentation is available from Korg’s website. You may find some patches posted in the archive here too.
>
>


Morgan Sutherland


June 12, 2008 | 6:44 am

If you dont mind a little sysex programming, all aspects of the microKontrol can be programmed and updated. You can change the text in the LCDs, light up the pads ( with diff colors ) and use the main encoder…I have a padKontrol and have used native mode extensively and ill say it turns the controller into a completely different beast…


October 22, 2009 | 6:23 pm

did someone of you already write a kinda sysex based maxpatch for the microkontrol? would be even great to have a patch just for turning native mode on. i’d be greatfull


Viewing 5 posts - 1 through 5 (of 5 total)