forked from bobbyziom/OSC-yun-harmony
-
Notifications
You must be signed in to change notification settings - Fork 0
/
msg_to_freq_example.pd
48 lines (48 loc) · 1.37 KB
/
msg_to_freq_example.pd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#N canvas 206 139 473 471 10;
#X declare -lib mrpeach;
#X obj -169 134 unpackOSC;
#X obj -170 68 import mrpeach;
#X obj -169 101 udpreceive 9001;
#X obj -169 168 routeOSC /yun;
#X obj -169 203 unpack s s s;
#X obj -169 244 atoi;
#X floatatom -169 283 5 0 0 0 - - -;
#X obj -135 244 atoi;
#X floatatom -135 283 5 0 0 0 - - -;
#X obj -100 244 atoi;
#X floatatom -100 283 5 0 0 0 - - -;
#X text -66 101 listen to port;
#X text -97 132 unpack OSC message and look for routes;
#X text -75 168 do something with numbers from defined route;
#X obj -169 330 osc~;
#X obj -135 330 osc~;
#X obj -100 329 osc~;
#X obj -135 401 dac~;
#X text -80 202 unpack symbols from message;
#X text -58 243 convert symbols to numbers;
#X text -61 283 see the numbers;
#X text -58 329 make some cosine waves;
#X text -92 398 listen to the beauty of your sensors :D;
#X text -72 68 import OSC lib;
#X obj -171 -6 cnv 15 200 60 empty empty empty 30 12 0 14 -228856 -66577
0;
#X text -152 6 yun and OSC example - bobbyziom;
#X connect 0 0 3 0;
#X connect 2 0 0 0;
#X connect 3 0 4 0;
#X connect 4 0 5 0;
#X connect 4 1 7 0;
#X connect 4 2 9 0;
#X connect 5 0 6 0;
#X connect 6 0 14 0;
#X connect 7 0 8 0;
#X connect 8 0 15 0;
#X connect 9 0 10 0;
#X connect 10 0 16 0;
#X connect 14 0 17 0;
#X connect 14 0 17 1;
#X connect 15 0 17 0;
#X connect 15 0 17 1;
#X connect 16 0 17 1;
#X connect 16 0 17 0;
#X coords 0 0 1 1 85 60 0;