diff options
author | Martin Peach <mrpeach@users.sourceforge.net> | 2007-07-11 17:34:38 +0000 |
---|---|---|
committer | Martin Peach <mrpeach@users.sourceforge.net> | 2007-07-11 17:34:38 +0000 |
commit | ede66ad78a3c06557c53b2c0b6ee014aa3418e03 (patch) | |
tree | 5e040d57f42f3ec3c4f826cd227885e04998221a /osc/routeOSC-help.pd | |
parent | b46366d420af97d820fb72a0e7cf34b38ca9edc0 (diff) |
unpackOSC now simply outputs (through the right outlet) a delay in milliseconds when it
receives a timetag, as the timetag itself is not useable inside pd.
The delay is zero when the timetag is in the past.
Help patches have been updated to match.
Also corrected a mistake in packOSC.c timetag calculation.
svn path=/trunk/externals/mrpeach/; revision=8008
Diffstat (limited to 'osc/routeOSC-help.pd')
-rwxr-xr-x | osc/routeOSC-help.pd | 52 |
1 files changed, 30 insertions, 22 deletions
diff --git a/osc/routeOSC-help.pd b/osc/routeOSC-help.pd index 53aec8a..2895d49 100755 --- a/osc/routeOSC-help.pd +++ b/osc/routeOSC-help.pd @@ -1,28 +1,32 @@ -#N canvas 0 0 623 272 12; -#X obj 58 69 udpreceive 9997; -#X obj 188 97 unpack 0 0 0 0; -#X floatatom 188 128 3 0 0 0 - - -; -#X floatatom 228 128 3 0 0 0 - - -; -#X floatatom 268 128 3 0 0 0 - - -; -#X floatatom 309 128 3 0 0 0 - - -; -#X text 148 127 from; -#X obj 58 97 unpackOSC; -#X obj 58 147 print; -#X obj 70 206 routeOSC /test /west; -#X obj 70 241 print a; -#X obj 157 241 print b; -#X obj 245 241 print c; -#X msg 76 175 set /left; -#X msg 193 175 set /left /right; +#N canvas 0 0 641 324 12; +#X obj 25 64 udpreceive 9997; +#X obj 155 116 unpack 0 0 0 0; +#X floatatom 155 147 3 0 0 0 - - -; +#X floatatom 195 147 3 0 0 0 - - -; +#X floatatom 235 147 3 0 0 0 - - -; +#X floatatom 276 147 3 0 0 0 - - -; +#X text 115 146 from; +#X obj 25 116 unpackOSC; +#X obj 35 142 print; +#X obj 25 262 routeOSC /test /west; +#X obj 25 297 print a; +#X obj 112 297 print b; +#X obj 200 297 print c; +#X msg 31 231 set /left; +#X msg 148 231 set /left /right; #X text 10 7 routeOSC; #X text 10 25 accepts lists of floats that are interpreted as OSC packets ; #X text 10 43 set message reassigns outputs; -#X text 258 205 arguments are OSC addresses to route; -#X obj 134 147 print timetag; -#X text 329 244 2007/07/05 Martin Peach; -#X text 423 121 see also:; -#X obj 502 121 packOSC; +#X text 213 261 arguments are OSC addresses to route; +#X text 390 140 see also:; +#X obj 469 140 packOSC; +#X text 284 300 2007/07/11 Martin Peach; +#X obj 43 185 delay 0; +#X obj 43 206 bng 15 250 50 0 empty empty sync 17 7 0 10 -24198 -258699 +-1; +#X obj 43 164 b; +#X floatatom 118 185 10 0 0 1 ms_delay - -; #X connect 0 0 7 0; #X connect 0 1 1 0; #X connect 1 0 2 0; @@ -31,9 +35,13 @@ #X connect 1 3 5 0; #X connect 7 0 8 0; #X connect 7 0 9 0; -#X connect 7 1 19 0; +#X connect 7 0 24 0; +#X connect 7 1 22 1; +#X connect 7 1 25 0; #X connect 9 0 10 0; #X connect 9 1 11 0; #X connect 9 2 12 0; #X connect 13 0 9 0; #X connect 14 0 9 0; +#X connect 22 0 23 0; +#X connect 24 0 22 0; |