Ps2 Routing Patch

Apr 19, 2006 at 9:20pm

Ps2 Routing Patch

I am still setting up my ps2 controller to control my dj decks and have run into a problem.

I have my digital up/down buttons sliding the pitch of the track up or down which works fine. The problem arises when I press any of the buttons or all the way up on right analogue (which isnt such a problem as I am only using it for left and to control crossfader).

When a button, circle, square etc is pressed and released the data from the hi object jumps back to 0 which is also the number which triggers digital up (well 32, 0 to be precise may vary on Mac OS as I am using PC). This is a nuisance as I have triangle configured to reset the pitch slider to its central (0 pitch shift) position. So whenever i pressed down after centering it also triggers the up button which messes up the working and makes the pitch slider go up even though you are holding down.

This is probably to do with the way I am triggering the various aspects (through a combination of select/route and onebang).
Was wondering if anyone knew any handy tips round this or has had similar problems.

Thanks

Will

max v2;
#N vpatcher 14 40 1037 688;
#P origin 0 10;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 306 68 14 9109513 0;
#P newex 262 40 45 9109513 loadbang;
#P message 262 68 35 9109513 poll 50;
#P newex 180 83 59 9109513 unpack 0 0;
#P user umenu 342 102 100 9109543 1 64 118 1;
#X add “USB Joystick “;
#P newex 262 99 27 9109513 hi;
#P comment 858 458 54 9109513 TRIANGLE;
#P newex 797 512 51 9109513 gate 2;
#P message 838 480 14 9109513 0;
#P message 805 480 14 9109513 1;
#P newex 805 456 43 9109513 onebang;
#P newex 805 429 46 9109513 select 48;
#P newex 855 429 51 9109513 select 128;
#P comment 709 472 37 9109513 RIGHT;
#P comment 589 472 30 9109513 LEFT;
#P newex 680 520 49 9109513 delay 500;
#P newex 554 520 49 9109513 delay 500;
#N vpatcher 302 131 902 531;
#P button 219 103 15 0;
#P button 138 102 15 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 0;
#P newex 198 228 55 9109513 r Pslider1;
#P newex 114 351 68 9109513 s USBPITCH2;
#P newex 114 325 68 9109513 s USBPITCH1;
#P window linecount 1;
#P newex 114 297 51 9109513 gate 2;
#P inlet 21 275 15 0;
#P message 158 75 14 9109513 0;
#P window linecount 0;
#P message 185 75 33 9109513 18000;
#P inlet 185 52 15 0;
#P inlet 271 77 15 0;
#P inlet 158 51 15 0;
#P inlet 60 52 15 0;
#P window setfont “Sans Serif” 10.;
#P flonum 114 263 41 10 920. 1080. 3 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P message 271 143 33 9109514 0 100;
#P toggle 60 79 15 0;
#P newex 60 100 53 9109514 qmetro 2;
#P newex 158 196 51 9109514 change 0.;
#P message 149 145 44 9109514 0.1 200;
#P message 197 145 47 9109514 -0.1 200;
#P newex 158 172 40 9109514 bline 0.;
#P newex 158 118 63 9109514 sel 0 18000;
#P message 61 234 44 9109514 set $1;
#P newex 114 225 33 9109514 + 0.;
#P connect 11 0 8 0;
#P connect 8 0 7 0;
#P fasten 10 0 1 0 119 285 55 285 55 226 66 226;
#P fasten 7 0 0 0 65 168 119 168;
#P fasten 1 0 0 0 66 258 109 258 109 220 119 220;
#P fasten 21 0 10 0 203 255 119 255;
#P connect 0 0 10 0;
#P fasten 17 0 18 0 26 293 119 293;
#P connect 18 0 19 0;
#P fasten 18 1 20 0 160 321 105 321 105 347 119 347;
#P fasten 6 0 0 1 163 220 142 220;
#P connect 16 0 22 0;
#P fasten 2 0 5 0 163 141 154 141;
#P fasten 10 0 18 1 119 285 160 285;
#P fasten 14 0 16 0 190 71 163 71;
#P fasten 15 0 2 0 190 105 163 105;
#P connect 16 0 2 0;
#P fasten 5 0 3 0 154 165 163 165;
#P fasten 4 0 3 0 202 165 163 165;
#P fasten 9 0 3 0 276 165 163 165;
#P fasten 7 0 3 0 65 168 163 168;
#P connect 3 0 6 0;
#P fasten 12 0 15 0 163 70 190 70;
#P fasten 2 1 4 0 189 141 202 141;
#P connect 15 0 23 0;
#P connect 13 0 9 0;
#P pop;
#P newobj 338 599 67 9109513 p pitchupdown;
#P comment 223 438 18 9109513 R3;
#P newex 168 554 114 9109513 s USBCROSSPUNCHR2;
#P newex 168 494 51 9109513 gate 2;
#P newex 168 528 114 9109513 s USBCROSSPUNCHR1;
#P message 201 460 14 9109513 0;
#P message 168 460 14 9109513 1;
#P newex 168 435 43 9109513 onebang;
#P newex 168 408 46 9109513 select 58;
#P newex 218 408 51 9109513 select 128;
#P newex 797 573 98 9109513 s USBPITCHRESET2;
#P newex 797 547 98 9109513 s USBPITCHRESET1;
#P newex 389 408 138 9109513 route 0 18000 27000 9000 -1;
#P newex 299 408 42 9109513 route 32;
#P message 601 550 14 9109513 0;
#P message 540 495 14 9109513 1;
#P message 721 547 14 9109513 0;
#P message 662 495 14 9109513 1;
#P newex 680 593 51 9109513 gate 2;
#P newex 560 593 51 9109513 gate 2;
#P newex 559 654 62 9109513 s USBLEFT2;
#P newex 680 654 69 9109513 s USBRIGHT2;
#P newex 560 627 62 9109513 s USBLEFT1;
#P newex 680 627 69 9109513 s USBRIGHT1;
#P newex 662 471 43 9109513 onebang;
#P newex 540 471 43 9109513 onebang;
#P comment 452 440 38 9109513 DOWN;
#P comment 347 438 18 9109513 UP;
#P comment 94 436 18 9109513 L3;
#P comment 913 189 37 9109513 START;
#P comment 735 149 91 9109513 RIGHT ANALOGUE;
#P comment 605 189 41 9109513 CIRCLE;
#P comment 490 188 41 9109513 CROSS;
#P comment 380 188 47 9109513 SQUARE;
#P comment 285 188 20 9109513 R2;
#P newex 405 495 51 9109513 gate 2;
#P newex 300 495 51 9109513 gate 2;
#P newex 299 556 53 9109513 s USBUP2;
#P newex 404 556 70 9109513 s USBDOWN2;
#P newex 39 554 112 9109513 s USBCROSSPUNCHL2;
#P newex 39 494 51 9109513 gate 2;
#P newex 39 528 112 9109513 s USBCROSSPUNCHL1;
#P message 72 460 14 9109513 0;
#P message 39 460 14 9109513 1;
#P newex 39 435 43 9109513 onebang;
#P newex 39 408 46 9109513 select 57;
#P newex 89 408 51 9109513 select 128;
#P number 900 294 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 900 319 64 9109513 s USBSTART;
#N counter 0 1;
#X flags 0 0;
#P newobj 900 265 66 9109513 counter 0 1;
#P newex 300 529 53 9109513 s USBUP1;
#P newex 405 529 70 9109513 s USBDOWN1;
#P button 406 461 15 0;
#P button 299 461 15 0;
#P newex 406 436 43 9109513 onebang;
#P newex 299 436 43 9109513 onebang;
#P newex 900 242 43 9109513 onebang;
#P newex 900 215 46 9109513 select 59;
#P newex 950 215 51 9109513 select 128;
#P newex 729 376 100 9109513 s USBCROSSFADER;
#P newex 589 300 51 9109513 gate 2;
#P newex 476 300 51 9109513 gate 2;
#P newex 368 300 51 9109513 gate 2;
#P newex 589 360 60 9109513 s USBCUE2;
#P newex 476 360 71 9109513 s USBPAUSE2;
#P newex 368 360 64 9109513 s USBPLAY2;
#P newex 255 360 55 9109513 s USBFW2;
#P newex 255 300 51 9109513 gate 2;
#P newex 255 333 55 9109513 s USBFW1;
#P newex 145 360 56 9109513 s USBRW2;
#P number 25 331 35 9 1 2 3 139 0 0 0 221 221 221 222 222 222 0 0 0;
#N counter 1 2;
#X flags 0 0;
#P newobj 25 305 66 9109513 counter 1 2;
#P number 25 284 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 145 300 51 9109513 gate 2;
#P newex 589 333 60 9109513 s USBCUE1;
#P newex 476 333 71 9109513 s USBPAUSE1;
#P newex 368 333 64 9109513 s USBPLAY1;
#P newex 145 333 56 9109513 s USBRW1;
#N vpatcher 230 128 738 489;
#P inlet 345 149 15 0;
#P outlet 57 321 15 0;
#P inlet 28 39 15 0;
#P user gswitch2 28 202 39 32 0 0;
#P window setfont “Sans Serif” 9.;
#P message 57 240 14 9109513 3;
#P newex 28 171 125 9109513 if $i1 >= 1000. then 1 else 0;
#P flonum 28 147 103 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 28 99 14 0;
#P newex 28 120 103 9109513 clocker 103.785004;
#B color 5;
#P newex 28 74 135 9109513 if $i1 == 127. then bang else 0;
#P message 345 172 14 9109513 1;
#P user gswitch2 203 202 39 32 1 0;
#P flonum 57 297 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 232 240 14 9109513 2;
#P message 203 240 14 9109513 1;
#P newex 57 270 53 9109513 gate 4;
#P newex 203 171 125 9109513 if $i1 >= 1000. then 1 else 0;
#P flonum 203 147 103 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 203 99 14 0;
#P newex 203 120 103 9109513 clocker 103.785004;
#B color 5;
#P newex 203 74 125 9109513 if $i1 == 0. then bang else 0;
#P connect 18 0 11 0;
#P connect 11 0 13 0;
#P connect 13 0 12 0;
#P connect 12 0 14 0;
#P connect 14 0 15 0;
#P connect 15 0 17 0;
#P fasten 10 0 17 1 350 193 62 193;
#P connect 17 1 16 0;
#P fasten 6 0 5 0 208 264 62 264;
#P fasten 7 0 5 0 237 264 62 264;
#P fasten 16 0 5 0 62 267 62 267;
#P connect 5 0 8 0;
#P connect 8 0 19 0;
#P fasten 18 0 5 1 33 64 175 64 175 236 105 236;
#P fasten 18 0 0 0 33 64 208 64;
#P fasten 0 0 2 0 208 96 208 96;
#P connect 2 0 1 0;
#P connect 1 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 9 0;
#P connect 9 0 6 0;
#P fasten 10 0 9 1 350 193 237 193;
#P connect 9 1 7 0;
#P connect 20 0 10 0;
#P pop;
#P newobj 729 352 67 9109513 p crosscontrol;
#P message 293 270 14 9109513 0;
#P message 260 270 14 9109513 1;
#P newex 260 245 43 9109513 onebang;
#P newex 260 217 46 9109513 select 55;
#P newex 310 217 51 9109513 select 128;
#P button 848 153 15 0;
#P newex 848 177 45 9109513 metro 70;
#P message 781 231 18 9109513 50;
#P newex 729 230 40 9109513 change;
#P flonum 729 329 51 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 729 304 118 9109513 scale 65535 0 127 0 1.;
#P number 729 282 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 729 257 40 9109513 line;
#P number 729 207 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 729 178 103 9109513 if $i1==20 then set $f2;
#P message 630 268 14 9109513 0;
#P message 597 268 14 9109513 1;
#P newex 597 244 43 9109513 onebang;
#P newex 597 217 46 9109513 select 49;
#P newex 647 217 51 9109513 select 128;
#N counter 0 1;
#X flags 0 0;
#P newobj 482 267 66 9109513 counter 0 1;
#P newex 482 244 43 9109513 onebang;
#P newex 482 217 46 9109513 select 50;
#P newex 532 217 51 9109513 select 128;
#N counter 0 1;
#X flags 0 0;
#P newobj 371 268 66 9109513 counter 0 1;
#P newex 371 244 43 9109513 onebang;
#P newex 371 217 46 9109513 select 51;
#P newex 421 217 51 9109513 select 128;
#P message 182 269 14 9109513 0;
#P message 149 269 14 9109513 1;
#P newex 149 244 43 9109513 onebang;
#P newex 149 217 46 9109513 select 54;
#P newex 199 217 51 9109513 select 128;
#N counter 0 1;
#X flags 0 0;
#P newobj 25 233 66 9109513 counter 0 1;
#P newex 25 207 43 9109513 onebang;
#P user ubumenu 25 259 76 9109513 0 0 1 0;
#X add Left DJ Deck;
#X add Right DJ Deck;
#X prefix_set 0 0 0;
#P newex 25 180 46 9109513 select 56;
#P newex 75 179 51 9109513 select 128;
#P number 25 146 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 75 146 57 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 178 186 20 9109513 R1;
#P fasten 133 0 2 0 185 113 30 113;
#P connect 2 0 4 0;
#P connect 4 0 6 0;
#P connect 6 0 7 0;
#P connect 7 0 5 0;
#P connect 5 0 47 0;
#P connect 47 0 48 0;
#P connect 48 0 49 0;
#P fasten 2 0 74 0 30 167 17 167 17 399 44 399;
#P connect 74 0 75 0;
#P connect 75 0 76 0;
#P fasten 49 0 79 0 30 488 44 488;
#P fasten 79 0 78 0 44 516 44 516;
#P fasten 79 1 80 0 85 521 34 521 34 550 44 550;
#P fasten 3 0 6 1 80 202 63 202;
#P fasten 73 0 75 1 94 430 77 430;
#P connect 75 1 77 0;
#P fasten 133 1 1 0 234 113 80 113;
#P connect 1 0 3 0;
#P fasten 76 0 79 1 44 481 85 481;
#P fasten 77 0 79 1 77 481 85 481;
#P fasten 1 0 73 0 80 167 17 167 17 399 94 399;
#P fasten 49 0 46 0 30 350 133 350 133 297 150 297;
#P fasten 46 0 42 0 150 322 150 322;
#P fasten 46 1 50 0 191 327 138 327 138 356 150 356;
#P fasten 2 0 9 0 30 167 154 167;
#P connect 9 0 10 0;
#P connect 10 0 11 0;
#P fasten 2 0 111 0 30 167 17 167 17 399 173 399;
#P connect 111 0 112 0;
#P connect 112 0 113 0;
#P fasten 49 0 116 0 30 488 173 488;
#P fasten 116 0 115 0 173 518 173 518;
#P fasten 116 1 117 0 214 523 165 523 165 550 173 550;
#P fasten 131 0 133 0 267 127 257 127 257 77 185 77;
#P fasten 8 0 10 1 204 239 187 239;
#P connect 10 1 12 0;
#P fasten 12 0 46 1 187 291 191 291;
#P fasten 11 0 46 1 154 291 191 291;
#P fasten 1 0 8 0 80 167 204 167;
#P fasten 110 0 112 1 223 432 206 432;
#P connect 112 1 114 0;
#P fasten 114 0 116 1 206 483 214 483;
#P fasten 113 0 116 1 173 483 214 483;
#P fasten 1 0 110 0 80 167 17 167 17 399 223 399;
#P fasten 49 0 52 0 30 351 133 351 133 297 260 297;
#P fasten 52 0 51 0 260 322 260 322;
#P fasten 52 1 53 0 301 327 248 327 248 356 260 356;
#P fasten 2 0 37 0 30 167 265 167;
#P connect 37 0 38 0;
#P connect 38 0 39 0;
#P connect 135 0 134 0;
#P fasten 132 1 131 0 437 121 303 121 303 96 267 96;
#P fasten 136 0 131 0 311 90 267 90;
#P connect 134 0 131 0;
#P fasten 36 0 38 1 315 240 298 240;
#P connect 38 1 40 0;
#P fasten 39 0 52 1 265 292 301 292;
#P fasten 40 0 52 1 298 292 301 292;
#P fasten 2 0 106 0 30 167 17 167 17 399 304 399;
#P connect 106 0 64 0;
#P connect 64 0 66 0;
#P fasten 83 1 82 0 346 523 294 523 294 552 304 552;
#P fasten 49 0 83 0 30 488 305 488;
#P connect 83 0 69 0;
#P fasten 135 0 136 0 267 63 311 63;
#P fasten 1 0 36 0 80 167 315 167;
#P fasten 107 0 64 1 394 432 337 432;
#P fasten 49 0 119 0 30 584 343 584;
#P fasten 66 0 83 1 304 482 346 482;
#P fasten 131 1 132 0 284 126 333 126 333 97 347 97;
#P fasten 135 0 119 1 267 63 357 63;
#P fasten 66 0 119 2 304 482 371 482;
#P fasten 49 0 57 0 30 351 130 351 130 297 373 297;
#P connect 57 0 43 0;
#P fasten 57 1 54 0 414 326 361 326 361 355 373 355;
#P fasten 2 0 14 0 30 167 376 167;
#P connect 14 0 15 0;
#P connect 15 0 16 0;
#P fasten 67 0 119 3 411 481 385 481;
#P fasten 1 0 107 0 80 167 17 167 17 399 394 399;
#P fasten 107 4 119 4 494 589 399 589;
#P fasten 13 0 15 1 426 239 409 239;
#P fasten 84 1 81 0 451 523 400 523 400 551 409 551;
#P fasten 49 0 84 0 30 488 410 488;
#P connect 84 0 68 0;
#P fasten 106 0 65 0 304 432 411 432;
#P connect 65 0 67 0;
#P fasten 16 0 57 1 376 292 414 292;
#P fasten 1 0 13 0 80 167 426 167;
#P fasten 107 1 65 1 419 432 444 432;
#P fasten 67 0 84 1 411 481 451 481;
#P fasten 49 0 58 0 30 350 131 350 131 297 481 297;
#P connect 58 0 44 0;
#P fasten 58 1 55 0 522 326 470 326 470 356 481 356;
#P fasten 2 0 18 0 30 167 487 167;
#P connect 18 0 19 0;
#P connect 19 0 20 0;
#P fasten 17 0 19 1 537 239 520 239;
#P fasten 20 0 58 1 487 291 522 291;
#P fasten 1 0 17 0 80 167 537 167;
#P fasten 106 0 94 0 304 432 545 432;
#P connect 94 0 104 0;
#P fasten 104 0 120 0 545 515 559 515;
#P fasten 100 1 99 0 606 621 549 621 549 650 564 650;
#P fasten 49 0 100 0 30 577 565 577;
#P connect 100 0 97 0;
#P fasten 107 2 94 1 444 432 578 432;
#P fasten 49 0 59 0 30 350 132 350 132 297 594 297;
#P connect 59 0 45 0;
#P fasten 59 1 56 0 635 326 582 326 582 356 594 356;
#P fasten 2 0 22 0 30 167 602 167;
#P connect 22 0 23 0;
#P connect 23 0 24 0;
#P fasten 120 0 105 0 559 544 606 544;
#P fasten 104 0 100 1 545 574 606 574;
#P fasten 105 0 100 1 606 586 606 586;
#P fasten 21 0 23 1 652 239 635 239;
#P connect 23 1 25 0;
#P fasten 24 0 59 1 602 292 635 292;
#P fasten 25 0 59 1 635 292 635 292;
#P fasten 1 0 21 0 80 167 652 167;
#P fasten 106 0 95 0 304 432 667 432;
#P connect 95 0 102 0;
#P fasten 102 0 121 0 667 516 685 516;
#P fasten 49 0 101 0 30 577 685 577;
#P connect 101 0 96 0;
#P fasten 101 1 98 0 726 619 667 619 667 650 685 650;
#P fasten 107 3 95 1 469 432 700 432;
#P fasten 121 0 103 0 685 543 726 543;
#P fasten 102 0 101 1 667 572 726 572;
#P connect 103 0 101 1;
#P fasten 2 0 26 0 30 167 734 167;
#P fasten 34 0 27 0 853 203 734 203;
#P connect 26 0 27 0;
#P connect 27 0 32 0;
#P connect 32 0 28 0;
#P connect 28 0 29 0;
#P connect 29 0 30 0;
#P connect 30 0 31 0;
#P connect 31 0 41 0;
#P connect 41 0 60 0;
#P fasten 33 0 28 1 786 253 749 253;
#P fasten 34 0 33 0 853 211 786 211;
#P fasten 34 0 41 1 853 346 791 346;
#P fasten 49 0 129 0 30 399 802 399;
#P connect 129 0 108 0;
#P fasten 129 1 109 0 843 540 792 540 792 570 802 570;
#P fasten 2 0 125 0 30 167 17 167 17 399 810 399;
#P connect 125 0 126 0;
#P connect 126 0 127 0;
#P fasten 1 0 26 1 80 167 827 167;
#P fasten 124 0 126 1 860 451 843 451;
#P connect 126 1 128 0;
#P fasten 128 0 129 1 843 504 843 504;
#P fasten 127 0 129 1 810 504 843 504;
#P fasten 135 0 35 0 267 63 853 63;
#P connect 35 0 34 0;
#P fasten 1 0 124 0 80 167 17 167 17 399 860 399;
#P fasten 2 0 62 0 30 175 905 175;
#P connect 62 0 63 0;
#P connect 63 0 70 0;
#P connect 70 0 72 0;
#P connect 72 0 71 0;
#P fasten 61 0 63 1 955 238 938 238;
#P fasten 1 0 61 0 80 175 955 175;
#P pop;

#25516
Apr 22, 2006 at 5:20am

Why don’t you use [route 56 54 55 51 50 49...] right behind hi instead
of an unpack? then you can easily get rid of all the onebangs as
well…. like that: (just to give you a start how to streamline your logic)

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 838 480 30 196617 > 0;
#P newex 209 464 30 196617 > 0;
#P newex 80 462 30 196617 > 0;
#P newex 16 395 578 196617 route 57 58 32 48;
#P newex 599 263 30 196617 > 0;
#P newex 296 264 30 196617 > 0;
#P newex 186 261 30 196617 > 0;
#P newex 25 128 810 196617 route 56 54 55 51 50 49 59 20;
#P message 306 68 14 196617 0;
#P newex 262 40 45 196617 loadbang;
#P message 262 68 49 196617 poll 50;
#P user umenu 342 102 100 196647 1 64 118 1;
#X add “USB Joystick “;
#P newex 262 99 27 196617 hi;
#P comment 858 458 54 196617 TRIANGLE;
#P newex 797 512 51 196617 gate 2;
#P comment 709 472 37 196617 RIGHT;
#P comment 589 472 30 196617 LEFT;
#P newex 680 520 63 196617 delay 500;
#P newex 554 520 63 196617 delay 500;
#N vpatcher 302 131 902 531;
#P button 219 103 15 0;
#P button 138 102 15 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 0;
#P newex 198 228 55 196617 r Pslider1;
#P newex 114 351 68 196617 s USBPITCH2;
#P newex 114 325 68 196617 s USBPITCH1;
#P window linecount 1;
#P newex 114 297 51 196617 gate 2;
#P inlet 21 275 15 0;
#P message 158 75 14 196617 0;
#P window linecount 0;
#P message 185 75 33 196617 18000;
#P inlet 185 52 15 0;
#P inlet 271 77 15 0;
#P inlet 158 51 15 0;
#P inlet 60 52 15 0;
#P window setfont “Sans Serif” 10.;
#P flonum 114 263 41 10 920. 1080. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P message 271 143 33 196618 0 100;
#P toggle 60 79 15 0;
#P newex 60 100 53 196618 qmetro 2;
#P newex 158 196 51 196618 change 0.;
#P message 149 145 44 196618 0.1 200;
#P message 197 145 47 196618 -0.1 200;
#P newex 158 172 40 196618 bline 0.;
#P newex 158 118 63 196618 sel 0 18000;
#P message 61 234 44 196618 set $1;
#P newex 114 225 33 196618 + 0.;
#P connect 11 0 8 0;
#P connect 8 0 7 0;
#P fasten 10 0 1 0 119 285 55 285 55 226 66 226;
#P fasten 7 0 0 0 65 168 119 168;
#P fasten 1 0 0 0 66 258 109 258 109 220 119 220;
#P connect 0 0 10 0;
#P fasten 21 0 10 0 203 255 119 255;
#P fasten 17 0 18 0 26 293 119 293;
#P connect 18 0 19 0;
#P fasten 18 1 20 0 160 321 105 321 105 347 119 347;
#P fasten 6 0 0 1 163 220 142 220;
#P connect 16 0 22 0;
#P fasten 2 0 5 0 163 141 154 141;
#P fasten 10 0 18 1 119 285 160 285;
#P fasten 14 0 16 0 190 71 163 71;
#P fasten 15 0 2 0 190 105 163 105;
#P connect 16 0 2 0;
#P fasten 7 0 3 0 65 168 163 168;
#P fasten 9 0 3 0 276 165 163 165;
#P fasten 4 0 3 0 202 165 163 165;
#P fasten 5 0 3 0 154 165 163 165;
#P connect 3 0 6 0;
#P fasten 12 0 15 0 163 70 190 70;
#P fasten 2 1 4 0 189 141 202 141;
#P connect 15 0 23 0;
#P connect 13 0 9 0;
#P pop;
#P newobj 338 599 81 196617 p pitchupdown;
#P comment 223 438 18 196617 R3;
#P newex 168 554 114 196617 s USBCROSSPUNCHR2;
#P newex 168 494 51 196617 gate 2;
#P newex 168 528 114 196617 s USBCROSSPUNCHR1;
#P newex 797 573 98 196617 s USBPITCHRESET2;
#P newex 797 547 98 196617 s USBPITCHRESET1;
#P newex 299 417 430 196617 route 0 18000 27000 9000 -1;
#P message 601 550 14 196617 0;
#P message 540 495 14 196617 1;
#P message 721 547 14 196617 0;
#P message 662 495 14 196617 1;
#P newex 680 593 51 196617 gate 2;
#P newex 560 593 51 196617 gate 2;
#P newex 559 654 62 196617 s USBLEFT2;
#P newex 680 654 69 196617 s USBRIGHT2;
#P newex 560 627 62 196617 s USBLEFT1;
#P newex 680 627 69 196617 s USBRIGHT1;
#P comment 452 440 38 196617 DOWN;
#P comment 347 438 18 196617 UP;
#P comment 94 436 18 196617 L3;
#P comment 663 190 37 196617 START;
#P comment 735 149 91 196617 RIGHT ANALOGUE;
#P comment 565 189 41 196617 CIRCLE;
#P comment 490 188 41 196617 CROSS;
#P comment 380 188 47 196617 SQUARE;
#P comment 285 188 20 196617 R2;
#P newex 405 495 51 196617 gate 2;
#P newex 300 495 51 196617 gate 2;
#P newex 299 556 53 196617 s USBUP2;
#P newex 404 556 70 196617 s USBDOWN2;
#P newex 39 554 112 196617 s USBCROSSPUNCHL2;
#P newex 39 494 51 196617 gate 2;
#P newex 39 528 112 196617 s USBCROSSPUNCHL1;
#P number 650 295 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 650 320 64 196617 s USBSTART;
#N counter 0 1;
#X flags 0 0;
#P newobj 650 266 66 196617 counter 0 1;
#P newex 300 529 53 196617 s USBUP1;
#P newex 405 529 70 196617 s USBDOWN1;
#P button 406 461 15 0;
#P button 299 461 15 0;
#P newex 650 241 65 196617 select 128;
#P newex 725 365 100 196617 s USBCROSSFADER;
#P newex 558 300 51 196617 gate 2;
#P newex 476 300 51 196617 gate 2;
#P newex 368 300 51 196617 gate 2;
#P newex 558 360 60 196617 s USBCUE2;
#P newex 476 360 71 196617 s USBPAUSE2;
#P newex 368 360 64 196617 s USBPLAY2;
#P newex 255 360 55 196617 s USBFW2;
#P newex 255 300 51 196617 gate 2;
#P newex 255 333 55 196617 s USBFW1;
#P newex 145 360 56 196617 s USBRW2;
#P number 25 331 35 9 1 2 3 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N counter 1 2;
#X flags 0 0;
#P newobj 25 305 66 196617 counter 1 2;
#P number 25 284 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 145 300 51 196617 gate 2;
#P newex 558 333 60 196617 s USBCUE1;
#P newex 476 333 71 196617 s USBPAUSE1;
#P newex 368 333 64 196617 s USBPLAY1;
#P newex 145 333 56 196617 s USBRW1;
#N vpatcher 230 128 738 489;
#P inlet 345 149 15 0;
#P outlet 57 321 15 0;
#P inlet 28 39 15 0;
#P user gswitch2 28 202 39 32 0 0;
#P window setfont “Sans Serif” 9.;
#P message 57 240 14 196617 3;
#P newex 28 171 125 196617 if $i1 >= 1000. then 1 else 0;
#P flonum 28 147 103 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 28 99 14 0;
#P newex 28 120 103 196617 clocker 103.785004;
#B color 5;
#P newex 28 74 135 196617 if $i1 == 127. then bang else 0;
#P message 345 172 14 196617 1;
#P user gswitch2 203 202 39 32 1 0;
#P flonum 57 297 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 232 240 14 196617 2;
#P message 203 240 14 196617 1;
#P newex 57 270 53 196617 gate 4;
#P newex 203 171 125 196617 if $i1 >= 1000. then 1 else 0;
#P flonum 203 147 103 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 203 99 14 0;
#P newex 203 120 103 196617 clocker 103.785004;
#B color 5;
#P newex 203 74 125 196617 if $i1 == 0. then bang else 0;
#P connect 18 0 11 0;
#P connect 11 0 13 0;
#P connect 13 0 12 0;
#P connect 12 0 14 0;
#P connect 14 0 15 0;
#P connect 15 0 17 0;
#P fasten 10 0 17 1 350 193 62 193;
#P connect 17 1 16 0;
#P fasten 16 0 5 0 62 267 62 267;
#P fasten 7 0 5 0 237 264 62 264;
#P fasten 6 0 5 0 208 264 62 264;
#P connect 5 0 8 0;
#P connect 8 0 19 0;
#P fasten 18 0 5 1 33 64 175 64 175 236 105 236;
#P fasten 18 0 0 0 33 64 208 64;
#P fasten 0 0 2 0 208 96 208 96;
#P connect 2 0 1 0;
#P connect 1 0 3 0;
#P connect 3 0 4 0;
#P connect 4 0 9 0;
#P connect 9 0 6 0;
#P fasten 10 0 9 1 350 193 237 193;
#P connect 9 1 7 0;
#P connect 20 0 10 0;
#P pop;
#P newobj 725 344 81 196617 p crosscontrol;
#P button 848 118 15 0;
#P newex 848 141 59 196617 metro 70;
#P message 777 231 18 196617 50;
#P newex 725 230 40 196617 change;
#P flonum 725 325 51 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 725 304 118 196617 scale 65535 0 127 0 1.;
#P number 725 282 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 725 257 40 196617 line;
#P number 725 207 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 725 178 64 196617 prepend set;
#N counter 0 1;
#X flags 0 0;
#P newobj 482 267 66 196617 counter 0 1;
#P newex 482 239 65 196617 select 128;
#N counter 0 1;
#X flags 0 0;
#P newobj 371 268 66 196617 counter 0 1;
#P newex 371 238 65 196617 select 128;
#N counter 0 1;
#X flags 0 0;
#P newobj 25 233 66 196617 counter 0 1;
#P user ubumenu 25 259 76 196617 0 0 1 0;
#X add Left DJ Deck;
#X add Right DJ Deck;
#X prefix_set 0 0 0;
#P newex 25 209 65 196617 select 128;
#P comment 178 186 20 196617 R1;
#P fasten 16 0 9 0 853 203 730 203;
#P fasten 16 0 15 0 853 211 782 211;
#P fasten 16 0 18 1 853 324 801 324;
#P fasten 86 0 95 0 267 122 21 122;
#P fasten 86 0 91 0 267 122 30 122;
#P fasten 95 3 98 0 447 404 843 404;
#P connect 98 0 84 1;
#P fasten 72 3 68 0 556 464 667 464;
#P fasten 72 2 70 0 472 438 545 438;
#P fasten 72 1 40 0 388 447 411 447;
#P connect 72 0 39 0;
#P fasten 95 0 96 0 21 422 85 422;
#P fasten 95 1 97 0 163 430 214 430;
#P connect 95 2 72 0;
#P connect 97 0 76 1;
#P connect 96 0 47 1;
#P fasten 26 0 47 0 30 488 44 488;
#P fasten 26 0 23 0 30 350 133 350 133 297 150 297;
#P fasten 26 0 76 0 30 488 173 488;
#P fasten 26 0 29 0 30 351 133 351 133 297 260 297;
#P fasten 26 0 51 0 30 488 305 488;
#P fasten 26 0 79 0 30 584 343 584;
#P fasten 26 0 34 0 30 351 130 351 130 297 373 297;
#P fasten 26 0 52 0 30 488 410 488;
#P fasten 26 0 35 0 30 350 131 350 131 297 481 297;
#P fasten 26 0 36 0 30 350 132 350 132 297 563 297;
#P fasten 26 0 66 0 30 577 565 577;
#P fasten 26 0 67 0 30 577 685 577;
#P fasten 26 0 84 0 30 388 802 388;
#P connect 91 7 8 0;
#P connect 8 0 9 0;
#P fasten 91 6 38 0 630 167 655 167;
#P fasten 91 5 94 0 530 206 604 206;
#P fasten 91 4 6 0 430 212 487 212;
#P fasten 91 3 4 0 330 217 376 217;
#P fasten 91 2 93 0 230 223 301 223;
#P fasten 91 1 92 0 130 229 191 229;
#P connect 91 0 1 0;
#P connect 89 0 88 0;
#P fasten 89 0 90 0 267 63 311 63;
#P fasten 89 0 79 1 267 63 357 63;
#P fasten 89 0 17 0 267 63 853 63;
#P connect 38 0 43 0;
#P connect 94 0 36 1;
#P connect 6 0 7 0;
#P connect 4 0 5 0;
#P connect 93 0 29 1;
#P connect 92 0 23 1;
#P connect 1 0 3 0;
#P connect 45 0 44 0;
#P connect 43 0 45 0;
#P connect 17 0 16 0;
#P fasten 84 1 74 0 843 540 792 540 792 570 802 570;
#P connect 84 0 73 0;
#P fasten 15 0 10 1 782 253 745 253;
#P connect 18 0 37 0;
#P connect 13 0 18 0;
#P connect 12 0 13 0;
#P connect 11 0 12 0;
#P connect 10 0 11 0;
#P connect 14 0 10 0;
#P connect 9 0 14 0;
#P connect 69 0 67 1;
#P fasten 68 0 81 0 667 516 685 516;
#P fasten 68 0 67 1 667 572 726 572;
#P fasten 81 0 69 0 685 543 726 543;
#P fasten 67 1 64 0 726 619 667 619 667 650 685 650;
#P connect 67 0 62 0;
#P fasten 71 0 66 1 606 586 606 586;
#P fasten 70 0 80 0 545 515 559 515;
#P fasten 70 0 66 1 545 574 606 574;
#P fasten 80 0 71 0 559 544 606 544;
#P fasten 36 1 33 0 604 326 551 326 551 356 563 356;
#P connect 36 0 22 0;
#P connect 66 0 63 0;
#P fasten 66 1 65 0 606 621 549 621 549 650 564 650;
#P fasten 7 0 35 1 487 291 522 291;
#P fasten 35 1 32 0 522 326 470 326 470 356 481 356;
#P connect 35 0 21 0;
#P fasten 40 0 79 3 411 481 385 481;
#P fasten 40 0 52 1 411 481 451 481;
#P fasten 5 0 34 1 376 292 414 292;
#P connect 52 0 41 0;
#P fasten 52 1 49 0 451 523 400 523 400 551 409 551;
#P fasten 72 4 79 4 640 589 411 589;
#P fasten 34 1 31 0 414 326 361 326 361 355 373 355;
#P connect 34 0 20 0;
#P fasten 39 0 51 1 304 482 346 482;
#P fasten 39 0 79 2 304 482 371 482;
#P fasten 86 1 87 0 284 126 333 126 333 97 347 97;
#P connect 51 0 42 0;
#P fasten 51 1 50 0 346 523 294 523 294 552 304 552;
#P connect 88 0 86 0;
#P fasten 90 0 86 0 311 90 267 90;
#P fasten 87 1 86 0 437 121 303 121 303 96 267 96;
#P fasten 29 1 30 0 301 327 248 327 248 356 260 356;
#P fasten 29 0 28 0 260 322 260 322;
#P fasten 76 1 77 0 214 523 165 523 165 550 173 550;
#P fasten 76 0 75 0 173 518 173 518;
#P fasten 23 1 27 0 191 327 138 327 138 356 150 356;
#P fasten 23 0 19 0 150 322 150 322;
#P fasten 47 1 48 0 85 521 34 521 34 550 44 550;
#P fasten 47 0 46 0 44 516 44 516;
#P connect 25 0 26 0;
#P connect 24 0 25 0;
#P connect 2 0 24 0;
#P connect 3 0 2 0;
#P window clipboard copycount 99;

[][] [][][] [][] [][][]
[][][][][][][][][][][][][][][]

Stefan Tiedje
Klanggestalter
Electronic Composition
&
Improvisation

/~~~~~
\ /|() ()|
))))) )| | |( \
/// _/)/ )))))
___/ ///

————————-x—-
–_____———–|———–
–(_|_ —-|—–|—–()—-
– _|_)—-|—–()———–
———-()————x—–

14, Av. Pr. Franklin Roosevelt,
94320 Thiais, France
Phone at CCMIX +33-1-57 42 91 09

#75204
Apr 22, 2006 at 9:18pm

scuse me.

but how do u connect a PS2 controller to a computer ???
I am very interested.
Do you need a special gadget to do this ?
Is this going to be a midi ?

I have a powerbook 1.5ghz.

Thank you.

#75205
Apr 22, 2006 at 10:40pm

I’m guessing he’s using either a USB clone of a PS controller or has a PS2>USB adaptor and is using the fantastic ‘hi’ object to read in the data from the controller.

john.

#75206
Apr 22, 2006 at 11:17pm

Thanks Stefan that seems to of got rid of that problem I was experiencing, which was caused by the oneband objects.

Yes I am using a USB converter, which I purchased off ebay, to use my PS2 controller in conjunction with the hi object in max.

#75207
Apr 23, 2006 at 12:10am

sweet!

thank u guys for the influence!

#75208
Apr 23, 2006 at 12:44am

there’s a converter from ps2 to usb that you can easily but online or
in shops…

then you connect it via usb to computer, then you decode it with Hi
object in max, or with junxtion by steim.org

cheers…

#75209

You must be logged in to reply to this topic.