patch to send wiimote data from i-mac to i-pad(rjdj) – just copy the text into a .pd file and open it with pd then

#N canvas 694 31 425 454 10;
#X floatatom 134 82 3 0 0 0 – - -;
#X floatatom 161 82 3 0 0 0 – - -;
#X floatatom 188 82 3 0 0 0 – - -;
#X floatatom 215 82 3 0 0 0 – - -;
#X floatatom 243 82 5 0 0 0 – - -;
#X obj 134 56 unpack 0 0 0 0 0;
#X obj 47 84 unpackOSC;
#X obj 47 33 udpreceive 9090;
#X text 172 29 port of osc;
#X obj 48 333 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 46 116 routeOSC /wii;
#X floatatom 47 144 5 0 0 0 – - -;
#X text 141 146 we put here the parameters from the webinterface;
#X obj 190 321 cnv 15 150 120 empty empty empty 20 12 0 14 -261682
-66577 0;
#X obj 199 332 netreceive 7070;
#X obj 199 376 unpack f f;
#X obj 197 408 print r1;
#X obj 274 410 print r2;
#X text 209 289 put this to rjdj to receive;
#X obj 49 193 pack f f;
#X floatatom 93 145 5 0 0 0 – - -;
#X msg 24 266 connect localhost 7070;
#X obj 48 310 netsend;
#X obj 94 168 t b f;
#X msg 48 238 send \$1 \$2;
#X connect 5 0 0 0;
#X connect 5 1 1 0;
#X connect 5 2 2 0;
#X connect 5 3 3 0;
#X connect 5 4 4 0;
#X connect 6 0 10 0;
#X connect 7 0 6 0;
#X connect 7 1 5 0;
#X connect 10 0 11 0;
#X connect 11 0 19 0;
#X connect 14 0 15 0;
#X connect 15 0 16 0;
#X connect 15 1 17 0;
#X connect 19 0 24 0;
#X connect 20 0 23 0;
#X connect 21 0 22 0;
#X connect 22 0 9 0;
#X connect 23 0 19 1;
#X connect 24 0 22 0;


Leave a Reply

You must be logged in to post a comment.