midi formatting issues (debug)

May 11, 2008 at 7:42am

midi formatting issues (debug)

I run max 4.6 on a windows XP.

I am making a probability sequencer based on multislider. I having sending out midi through midiox but the messages don’t seem to be formatting right because midiox keeps getting a note on message and then turning off the channel I send it out on because midi feedback is detected. I’ve printed the messages I’ve been sending out and they seem to be fine. Could someone else look at this and make help me decide whether this is a problem with my patch or with midiox?

thanks

max v2;
#N vpatcher 0 0 1280 948;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 237 775 34 9109513 print 1;
#P window setfont “Sans Serif” 36.;
#P window linecount 2;
#P comment 310 780 357 9109540 < #P comment 195 57 271 9109540 < #P comment 1049 211 271 9109540 < #P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 250 833 34 9109513 print 2;
#P newex 129 834 46 9109513 midiout a;
#P newex 134 793 92 9109513 midiformat;
#P number 370 613 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 290 588 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 243 457 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 153 535 15 0;
#P newex 199 466 27 9109513 t b i;
#N comlet bang;
#P outlet 130 565 15 0;
#P newex 208 586 38 9109513 unpack;
#P comment 227 638 100 9109513 duration;
#P comment 208 619 100 9109513 velocity;
#P comment 284 459 100 9109513 probability;
#P newex 208 560 57 9109513 patcherargs;
#P number 153 620 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 192 683 27 9109513 t b i;
#P newex 136 707 27 9109513 int;
#P newex 153 657 49 9109513 makenote;
#P newex 152 735 45 9109513 pack 0 0;
#P newex 154 471 27 9109513 -;
#P newex 149 503 27 9109513 < ;
#P number 114 441 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 114 411 57 9109513 random 127;
#P newex 154 564 27 9109513 t b i;
#P newex 153 595 27 9109513 gate;
#N comlet random;
#P inlet 171 439 15 0;
#P message 18 185 43 9109513 fetch $1;
#P user multiSlider 66 324 973 32 0. 127. 48 2665 15 0 0 2 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 objectname multiSlider[2];
#P user multiSlider 66 281 973 32 0. 127. 48 2665 15 0 0 2 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 objectname multiSlider[1];
#P user multiSlider 67 185 973 88 0. 127. 48 2665 15 0 0 2 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 objectname multiSlider;
#P number 120 100 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N counter;
#X flags 0 0;
#P newobj 38 131 66 9109513 counter;
#P number 75 50 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 26 60 15 0;
#P newex 39 95 32 9109513 metro;

#37692
May 11, 2008 at 7:49am

nvm it looks like a midiox problem. i am running into stupid bugs with this patch. if anyone has suggestions on how to get midiox to work in this scenario that would be great.

#130314
May 11, 2008 at 8:17am

It looks like you did not paste the whole text of the patch. When I past it all the connections are missing and it looks like they are missing from the text posted to the list.

#130315

You must be logged in to reply to this topic.