XML Feeds

.

[maxmsp] SYSEX to MIDI cc question

!include mhatsys at gmail.com
Tue Jul 3 02:28:28 MDT 2007


Hello,
   Im trying to use Max to hack the controls on my padKontrol... So i send some sysex to the padKontrol to envoke native mode...cool
When the PK is in native mode it sends out SYSEX from allknobs, buttons, pads, encoders... So i have max set up to recieve the SYSEX from the buttons and pads, and then convert it to a MIDI Note message...cool...
  When i turn a knob on the pk it sends out the sysex to max, i use match, then unpack, and route the bytes nessesary to convert  byte 7 to MIDI CC#, and byte 8 is just sent to a ctlout to preserve the changing CC value. 
   Problem is Max locks up on me all of the time when i start turning the knob, it will work for about 30 seconds or so then Max will lock up- and i have to do a hard reboot of windows. Can someone take a look at my simple patch and maybe tell me what im doing wrong, or let me know if there is another way to convert sysex to a cc. I have the latest version of Max, Ableton Live 6.07 ( latest version ) and win xp pro sp3. I also see that it has locked up on me even if i dont have Live open. I am also 99% sure that no MIDI is feeding back from Max or Live. Thanks!!



Patch:



#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 375 198 60 9109513 CC Number;
#P number 430 86 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 430 60 48 9109513 sysexin z;
#P newex 430 106 55 9109513 zl group 9;
#P newex 451 246 40 9109513 ctlout c;
#P newex 448 131 176 9109513 match 240 66 64 110 8 73 1 nn 247;
#P newex 269 133 176 9109513 match 240 66 64 110 8 73 0 nn 247;
#P comment 458 150 100 9109513 Knob 2;
#P comment 320 151 100 9109513 Knob 1;
#P number 539 186 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 572 166 60 9109513 CC Number;
#P newex 448 165 121 9109513 unpack 1 2 3 4 5 6 7 8 9;
#P newex 320 166 121 9109513 unpack 1 2 3 4 5 6 7 8 9;
#P number 319 211 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P connect 10 0 7 0;
#P connect 1 7 0 0;
#P connect 7 0 1 0;
#P connect 11 0 12 0;
#P connect 12 0 10 0;
#P connect 10 0 8 0;
#P connect 8 0 2 0;
#P fasten 0 0 9 0 324 232 456 232;
#P fasten 4 0 9 0 544 232 456 232;
#P fasten 1 6 9 1 403 233 471 233;
#P fasten 2 6 9 1 531 232 471 232;
#P connect 2 7 4 0;
#P window clipboard copycount 14;







More information about the maxmsp mailing list