Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
131 lines (131 sloc) 3.57 KB
#N canvas 315 23 818 742 10;
#X obj 596 141 oscparse;
#X obj 53 197 netsend -u -b;
#X msg 37 48 connect localhost 12002;
#X obj 53 148 list prepend send;
#X obj 53 171 list trim;
#X msg 53 104 list localhost 3001;
#X obj 656 142 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X msg 596 96 listen 3001;
#X obj 53 126 oscformat -f si serialosc list;
#X obj 349 699 netsend -u -b;
#X obj 349 656 list prepend send;
#X obj 349 676 list trim;
#X msg 21 501 list localhost 3001;
#X msg 22 286 disconnect;
#X obj 21 523 oscformat -f si sys info;
#X obj 596 118 netreceive -u -b;
#X obj 21 626 oscformat sys port;
#X msg 21 603 3001;
#X obj 511 208 route monome;
#X obj 596 169 list trim;
#X obj 619 291 route serialosc;
#X obj 619 314 route device;
#X symbolatom 619 382 10 0 0 0 Type - -;
#X symbolatom 619 362 10 0 0 0 ID - -;
#X floatatom 619 402 5 0 0 0 Port - -;
#X obj 619 337 unpack s s f;
#X obj 204 312 hsl 128 15 0 15 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 0 1;
#X obj 646 216 print;
#X obj 646 194 spigot;
#X obj 690 194 tgl 15 0 empty empty Debug 19 7 0 10 -262144 -1 -1 0
1;
#X obj 596 74 loadbang;
#X text 29 22 1 Connect to serialosc process;
#X text 443 34 On load: set up a UDP server to recieve data from the
serialosc process.;
#X text 622 268 Data for last device in list;
#X text 198 291 Manual brightness of all LEDs;
#X text 56 80 2 List devices (enable Debug to see in Pd console);
#X text 17 480 4 List data about device;
#X text 369 634 Process \, send oscformat lists to device;
#X text 18 235 3 Set port to port of desired serialosc device \, then
open connection.;
#X text 17 581 5 Set host port to our UDP server;
#X msg 22 265 connect localhost 18339;
#X obj 186 402 oscformat monome ring all;
#X obj 511 231 route enc;
#X obj 511 254 route delta;
#X obj 492 337 f;
#X obj 497 373 +;
#X obj 511 299 t b f;
#X obj 510 277 route 0;
#X obj 498 394 clip 0 30;
#X obj 496 416 / 2;
#X obj 480 308 * 2;
#X text 365 179 Adjust all LED brightness with turn;
#X obj 254 472 oscformat monome ring all;
#X obj 306 538 oscformat monome ring all;
#X obj 363 603 oscformat monome ring all;
#X obj 186 358 t b f;
#X obj 254 428 t b f;
#X obj 306 494 t b f;
#X obj 364 561 t b f;
#X obj 200 331 t f f f f f;
#X obj 363 580 pack 3 f;
#X obj 186 379 pack 0 f;
#X obj 306 515 pack 2 f;
#X obj 254 449 pack 1 f;
#X connect 0 0 19 0;
#X connect 2 0 1 0;
#X connect 3 0 4 0;
#X connect 4 0 1 0;
#X connect 5 0 8 0;
#X connect 7 0 15 0;
#X connect 8 0 3 0;
#X connect 10 0 11 0;
#X connect 11 0 9 0;
#X connect 12 0 14 0;
#X connect 13 0 9 0;
#X connect 14 0 10 0;
#X connect 15 0 0 0;
#X connect 15 0 6 0;
#X connect 16 0 10 0;
#X connect 17 0 16 0;
#X connect 18 0 42 0;
#X connect 19 0 18 0;
#X connect 19 0 20 0;
#X connect 19 0 28 0;
#X connect 20 0 21 0;
#X connect 21 0 25 0;
#X connect 25 0 23 0;
#X connect 25 1 22 0;
#X connect 25 2 24 0;
#X connect 26 0 59 0;
#X connect 28 0 27 0;
#X connect 29 0 28 1;
#X connect 30 0 7 0;
#X connect 40 0 9 0;
#X connect 41 0 10 0;
#X connect 42 0 43 0;
#X connect 43 0 47 0;
#X connect 44 0 45 0;
#X connect 45 0 48 0;
#X connect 46 0 44 0;
#X connect 46 1 45 1;
#X connect 47 0 46 0;
#X connect 48 0 49 0;
#X connect 49 0 26 0;
#X connect 50 0 44 1;
#X connect 52 0 10 0;
#X connect 53 0 10 0;
#X connect 54 0 10 0;
#X connect 55 0 61 0;
#X connect 55 1 61 1;
#X connect 56 0 63 0;
#X connect 56 1 63 1;
#X connect 57 0 62 0;
#X connect 57 1 62 1;
#X connect 58 0 60 0;
#X connect 58 1 60 1;
#X connect 59 0 55 0;
#X connect 59 1 56 0;
#X connect 59 2 57 0;
#X connect 59 3 58 0;
#X connect 59 4 50 0;
#X connect 60 0 54 0;
#X connect 61 0 41 0;
#X connect 62 0 53 0;
#X connect 63 0 52 0;