cube~ object help patch for max users

getting started and troubleshooting

Moderator: bschiett

cube~ object help patch for max users

Postby piboer on Tue Apr 29, 2008 10:59 pm

Hi,

I've made a help-style patch for Max/MSP that should make it easier to directly integrate the cubes into your patches and understand what's going on in that cube~ object. It's a bit easier to navigate than the MIDI Bridge software, since there's no UI or assumptions. It doesn't cover the audio aspects, just sensor data and face detection.

Peter

name this "cube~.help"

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 248 36 132 196617 http://www.percussa.com;
#P user ubutton 246 32 135 19 0 0;
#P window linecount 2;
#P hidden message 196 9 223 196617 \; max launchbrowser http://www.percussa.com;
#P window setfont "Sans Serif" 18.;
#P window linecount 1;
#P comment 35 10 106 196626 cube~;
#B frgb 21 56 9;
#P window setfont "Sans Serif" 9.;
#P comment 35 35 210 196617 communicates with the percussa audio cubes;
#P user panel 30 5 400 50;
#X brgb 255 247 207;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#P window linecount 4;
#P comment 479 587 234 196617 Note that for this patch to work \, you will need the javascripts "status_algo32.js" and "detect.js" in your Max search path. These js's can be found in the AudioCube's "patches" folder.;
#P comment 479 530 234 196617 If you want to use this patch for multiple cubes \, and you need the streams of data from each cube attached via USB \, you'll need a copy of this for each cube you have.;
#P message 510 374 194 196617 1 21 15 14 10 2 48 18 31 13 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0;
#P window linecount 1;
#P comment 510 361 206 196617 example list output from the cube~ object:;
#P comment 477 511 234 196617 I encourage you to look in the yellow subpatchers!;
#P comment 233 210 221 196617 (...just so you can see what's going into cube~);
#P hidden newex 524 86 69 196617 loadmess 0.8;
#P user ubutton 440 39 242 26 0 0;
#P window setfont "Sans Serif" 14.;
#P comment 440 46 234 196622 http://www.lividinstruments.com;
#P comment 442 26 195 196622 pete@lividinstruments.com;
#P comment 434 6 170 196622 patch by Peter Nyboer;
#P window setfont "Sans Serif" 9.;
#P window linecount 2;
#P comment 368 297 74 196617 print output to Max window;
#P window linecount 1;
#P comment 516 339 228 196617 "data" is different depending on the "algorithm";
#P message 508 320 221 196617 1 21 <red> <green> <blue> <algorithm> data.....;
#P comment 506 303 158 196617 data out is formatted as such:;
#P window setfont "Sans Serif" 10.;
#N vpatcher 27 81 288 260;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 15 72 54 196617 change -1;
#P outlet 15 103 15 0;
#P inlet 15 31 15 0;
#P newex 15 51 51 196617 zl slice 1;
#P window linecount 8;
#P comment 78 37 138 196617 since I've already broken off the first 5 elements of cube~'s output in the "getcolor" subpatch \, I just need the first element of the list to get the current mode (or "algo" as it's referred to in docs).;
#P connect 2 0 1 0;
#P connect 1 0 4 0;
#P connect 4 0 3 0;
#P pop;
#P newobj 430 454 88 196618 p current_mode;
#B color 5;
#P window setfont "Sans Serif" 9.;
#P comment 128 592 57 196617 detected...;
#P comment 125 404 57 196617 detected...;
#P comment 46 493 57 196617 detected...;
#P comment 207 495 57 196617 detected...;
#P number 243 106 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 2;
#P comment 240 123 46 196617 Current Mode;
#P window linecount 1;
#P comment 191 525 14 196617 2;
#P comment 96 525 14 196617 0;
#P comment 143 481 14 196617 1;
#P comment 143 574 38 196617 3 (usb);
#P number 212 550 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 212 519 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 212 537 41 196617 face#:;
#P comment 212 506 41 196617 cube#:;
#P number 133 461 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 133 430 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 133 448 41 196617 face#:;
#P comment 133 417 41 196617 cube#:;
#P number 133 649 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 133 618 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 133 636 41 196617 face#:;
#P comment 133 605 41 196617 cube#:;
#P number 53 550 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 53 519 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 53 537 41 196617 face#:;
#P comment 621 73 173 196617 Cube Identity (used in face detection);
#P number 622 87 35 9 0 255 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 622 128 69 196617 prepend 2 11;
#P message 622 108 49 196617 0 0 0 \$1;
#N vpatcher 20 74 325 265;
#P window setfont "Sans Serif" 9.;
#P newex 50 50 70 196617 speedlim 100;
#P newex 132 129 70 196617 speedlim 100;
#P newex 109 109 70 196617 speedlim 100;
#P newex 86 89 70 196617 speedlim 100;
#P newex 65 69 70 196617 speedlim 100;
#P inlet 132 109 15 0;
#P inlet 109 89 15 0;
#P inlet 86 69 15 0;
#P inlet 65 49 15 0;
#P inlet 50 30 15 0;
#P outlet 132 151 15 0;
#P outlet 109 131 15 0;
#P outlet 86 111 15 0;
#P outlet 65 91 15 0;
#P outlet 50 72 15 0;
#P connect 5 0 14 0;
#P connect 14 0 0 0;
#P connect 6 0 10 0;
#P connect 10 0 1 0;
#P connect 7 0 11 0;
#P connect 11 0 2 0;
#P connect 8 0 12 0;
#P connect 12 0 3 0;
#P connect 9 0 13 0;
#P connect 13 0 4 0;
#P pop;
#P newobj 282 482 95 196617 p speedlim_display;
#P window setfont "Sans Serif" 10.;
#N vpatcher 68 201 638 409;
#N comlet face 3 - face#;
#P outlet 242 122 15 0;
#N comlet face 3 - cube#;
#P outlet 225 122 15 0;
#N comlet face 0 \, face#;
#P outlet 175 122 15 0;
#N comlet face 2 - cube#;
#P outlet 158 122 15 0;
#N comlet face 1 - face#;
#P outlet 108 122 15 0;
#N comlet face 1 - cube#;
#P outlet 91 122 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 6;
#P comment 303 75 173 196617 this is pretty gnarly bit "unravelling" so I'll leave it to the provided JavaScripts that unpack the data and boil it down to the cube/face pairs as detected on the face of the receiving cube.;
#P window linecount 1;
#P newex 234 86 62 196617 js detect.js;
#P newex 165 85 62 196617 js detect.js;
#P newex 92 86 62 196617 js detect.js;
#N comlet face 0 - face#;
#P outlet 41 122 15 0;
#N comlet face 0 - cube#;
#P outlet 24 122 15 0;
#P newex 24 59 246 196617 js status_algo32.js 13;
#P newex 24 84 62 196617 js detect.js;
#P inlet 24 35 15 0;
#P window linecount 0;
#P comment 303 58 212 196617 algorithm 13 is the "face detection" output.;
#P connect 1 0 3 0;
#P connect 3 0 2 0;
#P connect 2 2 4 0;
#P connect 2 3 5 0;
#P connect 6 2 10 0;
#P connect 3 1 6 0;
#P connect 6 3 11 0;
#P connect 7 2 12 0;
#P connect 3 2 7 0;
#P connect 7 3 13 0;
#P connect 8 2 14 0;
#P connect 3 3 8 0;
#P connect 8 3 15 0;
#P pop;
#P newobj 98 380 105 196618 p getfaces;
#B color 5;
#P window setfont "Sans Serif" 9.;
#P comment 239 184 230 196617 no matter the command \, it starts with "write 1";
#P comment 493 73 94 196617 Sensor Sensitivity;
#P comment 317 73 38 196617 Color:;
#P comment 166 73 37 196617 Mode:;
#P window setfont "Sans Serif" 10.;
#N vpatcher 10 59 422 416;
#P window setfont "Sans Serif" 9.;
#P window linecount 5;
#P comment 195 147 82 196617 let's make it easy and set the sensitivity to the same value for ALL faces;
#P window linecount 2;
#P comment 145 278 180 196617 sets the sensitivity of face 0's sensor to "0.8" \, using a scale of 0.-1.;
#P window linecount 1;
#P comment 145 244 62 196617 example:;
#P message 145 259 160 196617 write 1 2 12 204 204 0 0;
#P newex 124 186 69 196617 prepend 2 15;
#P newex 124 165 69 196617 prepend 2 14;
#P newex 124 144 69 196617 prepend 2 13;
#P newex 98 206 18 196617 t l;
#P window linecount 4;
#P comment 48 260 72 196617 bang resets high and low detection for scaling;
#P window linecount 1;
#P comment 165 77 62 196617 msb and lsb;
#P newex 50 221 44 196617 del 500;
#P newex 50 201 23 196617 t b;
#P newex 50 124 66 196617 pack 0 0 0 0;
#P newex 50 96 29 196617 >> 8;
#P newex 110 75 55 196617 & 255;
#P newex 50 75 55 196617 & 65280;
#P newex 50 50 111 196617 scale 0. 1. 0 65535;
#P newex 50 147 69 196617 prepend 2 12;
#N comlet sensitivity 0-1;
#P inlet 50 30 15 0;
#P outlet 98 228 15 0;
#N comlet reset bang;
#P outlet 50 243 15 0;
#P user panel 139 239 194 72;
#X brgb 191 191 191;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P connect 3 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 8 0;
#P connect 8 0 9 0;
#P connect 9 0 4 0;
#P connect 4 0 10 0;
#P connect 10 0 11 0;
#P connect 11 0 1 0;
#P fasten 7 0 9 1 115 116 73 116;
#P connect 17 0 14 0;
#P connect 16 0 14 0;
#P connect 15 0 14 0;
#P connect 4 0 14 0;
#P connect 14 0 2 0;
#P fasten 5 0 7 0 55 71 115 71;
#P fasten 9 0 15 0 55 142 129 142;
#P fasten 9 0 16 0 55 142 129 142;
#P fasten 9 0 17 0 55 143 129 143;
#P pop;
#P newobj 496 128 111 196618 p sensor_sensitivity;
#B color 5;
#P window setfont "Sans Serif" 9.;
#P comment 375 410 68 196617 reset scaling;
#P button 359 410 15 0;
#P comment 352 603 60 196617 scaled data;
#P comment 282 601 50 196617 raw data;
#P message 496 87 23 196617 0.8;
#P flonum 496 108 35 9 0. 0.99 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user multiSlider 282 515 51 83 0. 217. 4 2921 15 0 0 2 4 0 0;
#M frgb 255 255 255;
#M brgb 0 0 0;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 96 185 80;
#M rgb5 189 91 91;
#M rgb6 167 207 246;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P window setfont "Sans Serif" 10.;
#N vpatcher 400 110 804 438;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 115 127 119 196617 scale each sensor's data;
#P window linecount 6;
#P comment 249 55 91 196617 reset bang will reset the high and low values so the sensor provides a useful normalized range;
#P window linecount 2;
#P comment 0 69 75 196617 break off the sensor data list;
#N comlet reset scaling;
#P inlet 239 30 15 0;
#N comlet face 3;
#P outlet 180 274 15 0;
#N comlet face 2;
#P outlet 157 273 15 0;
#N comlet face 1;
#P outlet 134 272 15 0;
#N comlet face 0;
#P outlet 113 271 15 0;
#P window linecount 1;
#N vpatcher 40 104 250 267;
#P window setfont "Sans Serif" 9.;
#P newex 119 45 44 196617 t 255 0;
#P newex 50 93 87 196617 scale 0 255 0. 1.;
#P newex 98 72 40 196617 peak;
#P newex 56 72 40 196617 trough;
#N comlet sensor data;
#P inlet 25 31 15 0;
#N comlet reset scale;
#P inlet 119 25 15 0;
#N comlet scaled 0-1;
#P outlet 50 115 15 0;
#P connect 2 0 5 0;
#P connect 5 0 0 0;
#P connect 2 0 3 0;
#P connect 3 0 5 1;
#P connect 4 0 5 2;
#P connect 6 0 3 1;
#P connect 2 0 4 0;
#P connect 1 0 6 0;
#P connect 6 1 4 1;
#P pop;
#P newobj 180 251 41 196617 p scale;
#N vpatcher 40 104 250 267;
#P window setfont "Sans Serif" 9.;
#P newex 119 45 44 196617 t 255 0;
#P newex 50 93 87 196617 scale 0 255 0. 1.;
#P newex 98 72 40 196617 peak;
#P newex 56 72 40 196617 trough;
#N comlet sensor data;
#P inlet 25 31 15 0;
#N comlet reset scale;
#P inlet 119 25 15 0;
#N comlet scaled 0-1;
#P outlet 50 115 15 0;
#P connect 2 0 5 0;
#P connect 5 0 0 0;
#P connect 2 0 3 0;
#P connect 3 0 5 1;
#P connect 4 0 5 2;
#P connect 6 0 3 1;
#P connect 2 0 4 0;
#P connect 1 0 6 0;
#P connect 6 1 4 1;
#P pop;
#P newobj 157 231 41 196617 p scale;
#N vpatcher 40 104 250 267;
#P window setfont "Sans Serif" 9.;
#P newex 119 45 44 196617 t 255 0;
#P newex 50 93 87 196617 scale 0 255 0. 1.;
#P newex 98 72 40 196617 peak;
#P newex 56 72 40 196617 trough;
#N comlet sensor data;
#P inlet 25 31 15 0;
#N comlet reset scale;
#P inlet 119 25 15 0;
#N comlet scaled 0-1;
#P outlet 50 115 15 0;
#P connect 2 0 5 0;
#P connect 5 0 0 0;
#P connect 2 0 3 0;
#P connect 3 0 5 1;
#P connect 4 0 5 2;
#P connect 6 0 3 1;
#P connect 2 0 4 0;
#P connect 1 0 6 0;
#P connect 6 1 4 1;
#P pop;
#P newobj 134 211 41 196617 p scale;
#N vpatcher 40 104 250 267;
#P window setfont "Sans Serif" 9.;
#P newex 119 45 44 196617 t 255 0;
#P newex 50 93 87 196617 scale 0 255 0. 1.;
#P newex 98 72 40 196617 peak;
#P newex 56 72 40 196617 trough;
#N comlet sensor data;
#P inlet 25 31 15 0;
#N comlet reset scale;
#P inlet 119 25 15 0;
#N comlet scaled 0-1;
#P outlet 50 115 15 0;
#P connect 2 0 5 0;
#P connect 5 0 0 0;
#P connect 2 0 3 0;
#P connect 3 0 5 1;
#P connect 4 0 5 2;
#P connect 6 0 3 1;
#P connect 2 0 4 0;
#P connect 1 0 6 0;
#P connect 6 1 4 1;
#P pop;
#P newobj 113 191 41 196617 p scale;
#P newex 113 144 76 196617 unpack 0 0 0 0;
#N vpatcher 10 59 256 411;
#P window setfont Arial 9.;
#P newex 31 56 61 131137545 prepend list;
#P newex 32 80 27 131137545 t l l;
#P newex 105 112 36 131137545 zl reg;
#N comlet set current value;
#P inlet 153 68 15 0;
#P inlet 34 35 15 0;
#P outlet 79 244 15 0;
#P outlet 54 244 15 0;
#P newex 109 134 60 131137545 prepend set;
#P newex 108 195 21 131137545 t 2;
#P newex 109 159 37 131137545 match;
#P newex 54 221 47 131137545 gate 2 1;
#P newex 75 86 69 131137545 t l l b 1 clear;
#P window setfont "Sans Serif" 9.;
#P comment 40 268 100 196617 only pass lists that have changed;
#P connect 8 0 12 0;
#P connect 12 0 11 0;
#P connect 1 3 2 0;
#P connect 4 0 2 0;
#P connect 2 0 6 0;
#P connect 11 1 1 0;
#P connect 2 1 7 0;
#P connect 11 0 2 1;
#P connect 1 2 10 0;
#P connect 3 0 4 0;
#P connect 10 0 5 0;
#P connect 5 0 3 0;
#P connect 1 4 3 0;
#P connect 1 1 3 0;
#P connect 9 0 10 1;
#P connect 1 0 10 1;
#P pop;
#P newobj 80 92 64 196617 p changeany;
#P newex 80 72 79 196617 zl slice 4;
#P window linecount 0;
#P newex 80 50 43 196617 route 2;
#N comlet raw data from cube;
#P outlet 80 220 15 0;
#N comlet data in \, with rbg stripped off;
#P inlet 80 28 15 0;
#P connect 0 0 2 0;
#P connect 2 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 1 0;
#P connect 4 0 5 0;
#P connect 5 0 6 0;
#P connect 6 0 10 0;
#P connect 5 1 7 0;
#P connect 7 0 11 0;
#P fasten 14 0 6 1 244 174 149 174;
#P connect 5 2 8 0;
#P connect 8 0 12 0;
#P fasten 14 0 7 1 244 184 170 184;
#P connect 5 3 9 0;
#P connect 9 0 13 0;
#P fasten 14 0 8 1 244 194 193 194;
#P fasten 14 0 9 1 244 204 216 204;
#P pop;
#P newobj 282 433 70 196618 p getsensors;
#B color 5;
#N vpatcher 63 61 476 362;
#P origin 0 -4;
#P window setfont "Sans Serif" 9.;
#P window linecount 4;
#P comment 224 107 133 196617 I branch the data with slice to get the color data \, then pass on the rest of the data to the right outlet;
#P window linecount 1;
#P newex 111 140 50 196617 qlim 200;
#N comlet data out \, rgb bytes stripped off;
#P outlet 213 209 15 0;
#N vpatcher 10 59 610 459;
#P window setfont Arial 9.;
#P newex 31 56 61 131137545 prepend list;
#P newex 32 80 27 131137545 t l l;
#P newex 105 112 36 131137545 zl reg;
#N comlet set current value;
#P inlet 153 68 15 0;
#P inlet 34 35 15 0;
#P outlet 79 244 15 0;
#P outlet 54 244 15 0;
#P newex 109 134 60 131137545 prepend set;
#P newex 108 195 21 131137545 t 2;
#P newex 109 159 37 131137545 match;
#P newex 54 221 47 131137545 gate 2 1;
#P newex 75 86 69 131137545 t l l b 1 clear;
#P connect 7 0 11 0;
#P connect 11 0 10 0;
#P connect 0 3 1 0;
#P connect 3 0 1 0;
#P connect 1 0 5 0;
#P connect 10 1 0 0;
#P connect 1 1 6 0;
#P connect 10 0 1 1;
#P connect 0 2 9 0;
#P connect 2 0 3 0;
#P connect 9 0 4 0;
#P connect 4 0 2 0;
#P connect 0 4 2 0;
#P connect 0 1 2 0;
#P connect 8 0 9 1;
#P connect 0 0 9 1;
#P pop;
#P newobj 111 162 64 196617 p changeany;
#P newex 111 207 68 196617 prepend brgb;
#P newex 111 184 74 196617 vexpr $i1*17;
#P newex 111 100 51 196617 zl slice 3;
#P newex 111 78 49 196617 route 21;
#P newex 111 58 43 196617 route 1;
#N comlet data from cube;
#P inlet 111 38 15 0;
#N comlet brgb <r \, g \, b>;
#P outlet 111 229 15 0;
#P window linecount 6;
#P comment 8 144 100 196617 displaying the current color is not very high priority \, so I defer it to low priority and limit the reportage;
#P connect 2 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 10 0;
#P connect 10 0 8 0;
#P connect 8 0 6 0;
#P connect 6 0 7 0;
#P connect 7 0 1 0;
#P fasten 5 1 9 0 157 123 218 123;
#P pop;
#P newobj 270 403 58 196618 p getcolor;
#B color 5;
#P window setfont "Sans Serif" 9.;
#P comment 49 73 74 196617 Select a Cube:;
#P newex 45 108 62 196617 prepend set;
#P user ubumenu 45 87 100 196617 0 1 1 0;
#X add "cube 0x1d100000";
#X add "cube 0xfd330000";
#X prefix_set 0 0 <none> 0;
#P message 400 128 69 196617 random color;
#N vpatcher 10 59 206 235;
#P window setfont "Sans Serif" 9.;
#P newex 50 51 20 196617 t b;
#P inlet 50 26 15 0;
#P newex 50 73 40 196617 uzi 3;
#P newex 50 115 55 196617 zl group 3;
#P newex 50 95 58 196617 random 16;
#P outlet 50 137 15 0;
#P connect 4 0 5 0;
#P connect 5 0 3 0;
#P connect 3 0 1 0;
#P connect 1 0 2 0;
#P connect 2 0 0 0;
#P pop;
#P newobj 400 148 33 196617 p rnd;
#P toggle 352 296 15 0;
#P newex 352 356 57 196617 print []out;
#P message 171 223 160 196617 write 1 2 12 204 204 0 0;
#P newex 171 203 62 196617 prepend set;
#P newex 156 145 54 196617 prepend 1;
#P newex 427 335 63 196617 print []done;
#P newex 414 356 78 196617 print []identity;
#P newex 186 248 48 196617 loadbang;
#P newex 186 268 50 196617 deferlow;
#P newex 314 148 54 196617 prepend 0;
#P newex 156 182 82 196617 prepend write 1;
#P newex 314 128 73 196617 vexpr $i1/17;
#P user swatch 314 87 145 34;
#P comment 189 126 40 196617 sensor;
#P comment 189 87 40 196617 sender;
#P message 167 124 14 196617 2;
#P message 167 87 20 196617 12;
#P message 167 106 20 196617 13;
#P newex 352 335 29 196617 gate;
#P message 186 287 25 196617 find;
#P newex 186 308 157 196617 cube~;
#P comment 189 106 49 196617 receiver;
#P user panel 109 494 80 80;
#X brgb 136 0 153;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P user multiSlider 406 515 13 85 0. 1. 1 2681 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 user multiSlider 384 515 13 85 0. 1. 1 2681 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 user multiSlider 362 515 13 85 0. 1. 1 2681 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 user multiSlider 340 515 13 85 0. 1. 1 2681 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 comment 53 506 41 196617 cube#:;
#P user panel 37 401 230 268;
#X brgb 247 247 247;
#X frgb 0 0 0;
#X border 1;
#X rounded 0;
#X shadow 0;
#X done;
#P window linecount 2;
#P hidden message 433 22 261 196617 \; max launchbrowser http://www.lividinstruments.com;
#P user panel 469 502 251 144;
#X brgb 255 247 207;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#P fasten 10 6 33 0 241 333 60 333 32 312 32 96 50 76;
#P fasten 10 6 24 0 269 330 419 330;
#P connect 52 0 53 0;
#P connect 54 0 52 0;
#P connect 39 0 45 0;
#P hidden connect 90 0 39 0;
#P connect 40 0 39 0;
#P hidden connect 89 0 1 0;
#P fasten 36 1 37 0 323 430 287 430;
#P fasten 36 1 81 0 323 429 435 429;
#P fasten 10 8 25 0 295 327 432 327;
#P fasten 51 4 7 0 371 507 411 507;
#P connect 32 0 31 0;
#P fasten 51 3 6 0 350 507 389 507;
#P fasten 10 5 50 0 256 376 103 376;
#P fasten 10 5 36 0 256 390 275 390;
#P fasten 10 5 12 1 256 333 376 333;
#P fasten 37 4 51 4 347 468 371 468;
#P fasten 51 2 5 0 329 507 367 507;
#P connect 12 0 29 0;
#P connect 30 0 12 0;
#P fasten 37 3 51 3 332 471 350 471;
#P connect 43 0 37 1;
#P fasten 45 0 37 1 501 407 347 407;
#P fasten 51 1 4 0 308 507 345 507;
#P fasten 37 2 51 2 317 475 329 475;
#P connect 19 0 21 0;
#P fasten 31 0 21 0 405 167 395 167 395 147 319 147;
#P connect 18 0 19 0;
#P fasten 37 1 51 1 302 463 308 463;
#P connect 51 0 38 0;
#P fasten 37 0 51 0 287 463 287 463;
#P fasten 81 0 76 0 435 596 397 697 56 709 4 640 8 94 41 62 248 62;
#P hidden fasten 50 5 70 0 168 484 217 484;
#P hidden fasten 50 4 69 0 155 487 217 487;
#P hidden connect 101 0 100 0;
#P connect 11 0 10 0;
#P fasten 34 0 10 0 50 306 191 306;
#P fasten 20 0 27 0 161 201 176 201;
#P fasten 20 0 10 0 161 306 191 306;
#P connect 22 0 11 0;
#P connect 23 0 22 0;
#P connect 27 0 28 0;
#P fasten 53 0 20 0 627 175 161 175;
#P connect 26 0 20 0;
#P fasten 21 0 20 0 319 175 161 175;
#P fasten 45 1 20 0 602 175 161 175;
#P fasten 14 0 26 0 172 104 161 104;
#P fasten 13 0 26 0 172 122 161 122;
#P fasten 15 0 26 0 172 141 161 141;
#P hidden fasten 50 7 62 0 194 646 138 646;
#P hidden fasten 50 6 61 0 181 616 138 616;
#P hidden fasten 50 3 66 0 142 458 138 458;
#P hidden fasten 50 2 65 0 129 424 138 424;
#P fasten 36 0 8 0 275 492 114 492;
#P hidden fasten 50 1 58 0 116 484 58 484;
#P hidden fasten 50 0 57 0 103 469 58 469;
#P connect 33 0 34 0;
#P window clipboard copycount 103;
piboer
Level 0 Cubist
 
Posts: 1
Joined: Fri Apr 18, 2008 12:20 am

Postby bschiett on Wed May 14, 2008 8:28 am

thanks for posting, can't wait to check it out.

what do you guys think of a plugin system for midibridge so you can add your own subpatches which take the sensor and trigger info, so you don't need to re-create all the stuff in midibridge?

bert
User avatar
bschiett
Cube Master
 
Posts: 89
Joined: Wed Jan 30, 2008 1:07 am
Location: Belgium


Return to help

Who is online

Users browsing this forum: No registered users and 1 guest

cron