Permalink
Browse files

added pddom.from and pddom.to for abstractions that don't process signal

  • Loading branch information...
1 parent c62ee3e commit 947ac093a5be8d3c0edfe5e908ee59a52e543950 @eerne committed Aug 7, 2011
Showing with 303 additions and 221 deletions.
  1. +176 −176 pd-dom.pd
  2. +45 −44 pddom.core.pd
  3. +14 −0 pddom.from.pd
  4. +1 −1 pddom.from~.pd
  5. +12 −0 pddom.to.pd
  6. +9 −0 tests/message/add1.pd
  7. +5 −0 tests/message/bypass.pd
  8. +7 −0 tests/message/sig1~.pd
  9. +34 −0 tests/message/test-message.pd
View
View
@@ -48,9 +48,9 @@ menuclose \, obj 10 10 inlet~ \, obj 10 100 outlet~ \, obj 50 50 pd
#X connect 19 0 3 0;
#X connect 19 1 20 0;
#X connect 20 0 21 0;
-#X restore 477 354 pd node.new;
-#X obj 445 284 t a a;
-#N canvas 436 47 346 401 node.check 0;
+#X restore 487 314 pd node.new;
+#X obj 455 234 t a a;
+#N canvas 436 47 311 419 node.check 0;
#X obj 24 25 inlet;
#X obj 24 365 outlet;
#X obj 24 155 t a b;
@@ -74,9 +74,9 @@ menuclose \, obj 10 10 inlet~ \, obj 10 100 outlet~ \, obj 50 50 pd
#X connect 9 1 7 0;
#X connect 10 0 2 0;
#X connect 11 0 3 0;
-#X restore 477 324 pd node.check;
-#X obj 445 384 t a a;
-#X obj 283 294 t a b;
+#X restore 487 284 pd node.check;
+#X obj 455 354 t a a;
+#X obj 283 264 t a b;
#N canvas 173 24 393 348 list-drip 0;
#X obj 24 25 inlet;
#X obj 144 277 outlet;
@@ -100,17 +100,17 @@ menuclose \, obj 10 10 inlet~ \, obj 10 100 outlet~ \, obj 50 50 pd
#X connect 7 1 6 1;
#X connect 7 2 4 0;
#X connect 8 0 7 0;
-#X restore 322 224 pd list-drip;
+#X restore 353 234 pd list-drip;
#N canvas 893 22 317 214 reset 0;
#X obj 24 25 inlet;
#X obj 24 65 list append \$1;
#X msg 24 95 \; \$1 node reset \; pd-\$1.bin clear \, obj 10 10 sig~
0;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
-#X restore 676 324 pd reset;
-#X obj 644 294 t b b;
-#N canvas 32 22 531 452 node.check 0;
+#X restore 726 274 pd reset;
+#X obj 694 244 t b b;
+#N canvas 32 22 392 433 node.check 0;
#X obj 24 25 inlet;
#X obj 24 65 list split 1;
#X obj 24 175 list split 1;
@@ -136,41 +136,42 @@ menuclose \, obj 10 10 inlet~ \, obj 10 100 outlet~ \, obj 50 50 pd
#X connect 8 0 9 0;
#X connect 9 0 10 0;
#X connect 11 0 2 0;
-#X restore 472 414 pd node.check;
-#N canvas 657 22 352 384 node.delete 0;
+#X restore 482 384 pd node.check;
+#N canvas 657 22 518 450 node.delete 0;
#X obj 24 25 inlet;
-#X obj 24 235 list prepend \$1;
-#X msg 24 265 \; pd-\$1.bin.\$2 clear;
-#N canvas 69 22 450 300 node.exist 0;
+#X obj 147 328 list prepend \$1;
+#X msg 147 358 \; pd-\$1.bin.\$2 clear;
+#N canvas 394 22 450 300 node.exist 0;
#X obj 24 25 inlet;
-#X text 84 55 check nodes list if position exist;
-#X obj 24 245 outlet;
-#X floatatom 44 55 5 0 0 0 - - -;
-#X obj 63 145 list length;
-#X obj 24 205 spigot;
-#X obj 24 85 t a a b;
-#X obj 43 175 <;
-#X obj 63 115 pddom.get \$1.nodes;
-#X connect 0 0 6 0;
-#X connect 3 0 6 0;
-#X connect 4 0 7 1;
-#X connect 5 0 2 0;
-#X connect 6 0 5 0;
-#X connect 6 1 7 0;
-#X connect 6 2 8 0;
-#X connect 7 0 5 1;
-#X connect 8 0 4 0;
-#X restore 24 95 pd node.exist;
-#X obj 24 125 t a a;
-#X obj 74 195 s \$1;
-#X msg 74 165 disconnect \$1 \, node replace \$1 0;
+#X obj 24 225 outlet;
+#X obj 83 125 list length;
+#X obj 24 185 spigot;
+#X obj 24 65 t a a b;
+#X obj 63 155 <;
+#X obj 83 95 pddom.get \$1.nodes;
+#X connect 0 0 4 0;
+#X connect 2 0 5 1;
+#X connect 3 0 1 0;
+#X connect 4 0 3 0;
+#X connect 4 1 5 0;
+#X connect 4 2 6 0;
+#X connect 5 0 3 1;
+#X connect 6 0 2 0;
+#X restore 24 65 pd node.exist;
+#X obj 147 218 t a a;
+#X obj 197 288 s \$1;
+#X msg 197 258 disconnect \$1 \, node replace \$1 0;
+#X obj 24 95 list prepend \$1;
+#X msg 24 125 \; \$1 disconnect \$2 \; \$1 node replace \$2 0 \; pd-\$1.bin.\$2
+clear;
#X connect 0 0 3 0;
#X connect 1 0 2 0;
#X connect 3 0 4 0;
#X connect 4 0 1 0;
#X connect 4 1 6 0;
#X connect 6 0 5 0;
-#X restore 693 457 pd node.delete;
+#X connect 7 0 8 0;
+#X restore 683 427 pd node.delete;
#N canvas 463 27 559 400 node.set 0;
#X obj 24 25 inlet;
#X msg 84 25 1 testosc;
@@ -208,7 +209,7 @@ loadbang bang;
#X connect 3 0 2 0;
#X connect 3 1 6 0;
#X connect 6 0 7 0;
-#X restore 283 454 pd node.set;
+#X restore 283 414 pd node.set;
#N canvas 712 26 392 309 prepend-position 0;
#X obj 24 25 inlet;
#X obj 24 195 outlet;
@@ -224,7 +225,7 @@ loadbang bang;
#X connect 4 0 1 0;
#X connect 5 0 2 0;
#X connect 6 0 3 0;
-#X restore 283 254 pd prepend-position;
+#X restore 283 204 pd prepend-position;
#N canvas 598 22 357 369 dsp 0;
#X obj 24 25 inlet;
#X obj 24 235 f 1;
@@ -247,9 +248,9 @@ loadbang bang;
#X connect 7 2 9 0;
#X connect 8 0 6 1;
#X connect 9 0 6 1;
-#X restore 123 184 pd dsp;
+#X restore 123 194 pd dsp;
#X obj 183 114 t b a;
-#X obj 183 184 s \$1;
+#X obj 183 194 s \$1;
#X msg 183 154 dsp_ update;
#N canvas 73 22 546 555 node 0;
#X obj 24 25 inlet;
@@ -332,7 +333,7 @@ loadbang bang;
#X connect 16 0 14 1;
#X connect 16 1 14 2;
#X connect 18 0 14 0;
-#X restore 53 184 pd node;
+#X restore 53 194 pd node;
#X obj 53 74 route node dsp_;
#X obj 283 154 route add chain set delete reset;
#N canvas 173 24 393 348 list-drip 0;
@@ -360,7 +361,7 @@ loadbang bang;
#X connect 7 2 4 0;
#X connect 8 0 7 0;
#X connect 9 0 7 0;
-#X restore 693 427 pd list-drip;
+#X restore 683 317 pd list-drip;
#X connect 0 0 18 0;
#X connect 2 0 4 0;
#X connect 2 1 3 0;
@@ -369,7 +370,7 @@ loadbang bang;
#X connect 4 1 9 0;
#X connect 5 0 11 0;
#X connect 5 1 1 0;
-#X connect 6 0 12 0;
+#X connect 6 0 5 0;
#X connect 8 0 1 1;
#X connect 8 1 7 0;
#X connect 9 0 10 0;
View
@@ -0,0 +1,14 @@
+#N canvas 63 22 375 239 10;
+#X obj 24 25 namecanvas \$1.\$2.vis;
+#X obj 234 65 loadbang;
+#X obj 234 155 s \$1;
+#X obj 234 95 f \$2;
+#X obj 24 65 r \$1.\$2;
+#X obj 24 95 route receive~;
+#X obj 24 155 outlet;
+#X msg 234 125 subscribe \$1;
+#X connect 1 0 3 0;
+#X connect 3 0 7 0;
+#X connect 4 0 5 0;
+#X connect 5 1 6 0;
+#X connect 7 0 2 0;
View
@@ -9,7 +9,7 @@
#X obj 24 65 r \$1.\$2;
#X obj 24 95 route receive~;
#X obj 234 215 outlet;
-#X msg 234 125 subscribe \$1;
+#X msg 234 125 subscribe~ \$1;
#X connect 2 0 4 0;
#X connect 4 0 10 0;
#X connect 6 0 1 0;
View
@@ -0,0 +1,12 @@
+#N canvas 77 22 321 243 10;
+#X obj 24 25 inlet;
+#X obj 24 165 s;
+#X obj 174 25 r \$1.\$2;
+#X obj 174 65 route send;
+#X msg 174 135 set \$1;
+#X msg 174 165;
+#X connect 0 0 1 0;
+#X connect 2 0 3 0;
+#X connect 3 0 1 1;
+#X connect 3 0 4 0;
+#X connect 4 0 5 0;
@@ -0,0 +1,9 @@
+#N canvas 301 48 333 313 10;
+#X obj 36 44 pddom.from \$1 \$2;
+#X obj 36 174 pddom.to \$1 \$2;
+#X obj 36 124 + 1;
+#X obj 36 94 route float;
+#X connect 0 0 3 0;
+#X connect 2 0 1 0;
+#X connect 3 0 2 0;
+#X connect 3 1 1 0;
@@ -0,0 +1,5 @@
+#N canvas 301 48 333 313 10;
+#X text 29 29 example/02.latency.pd;
+#X obj 56 94 pddom.from \$1 \$2;
+#X obj 56 154 pddom.to \$1 \$2;
+#X connect 1 0 2 0;
@@ -0,0 +1,7 @@
+#N canvas 301 48 333 313 10;
+#X text 29 29 example/01.test100.pd;
+#X obj 130 124 sig~ 1;
+#X obj 56 154 pddom.to~ \$1 \$2;
+#X obj 56 94 pddom.from~ \$1 \$2;
+#X connect 1 0 2 0;
+#X connect 3 0 2 0;
@@ -0,0 +1,34 @@
+#N canvas 370 22 859 470 10;
+#X declare -path ./ -path ../../;
+#X msg 295 247 vis 0;
+#X obj 236 56 declare -path ./ -path ../../;
+#X obj 45 296 pd-dom message;
+#X msg 295 147 add bypass;
+#X msg 551 169 bang;
+#X obj 551 229 print nodes;
+#X msg 553 280 bang;
+#X obj 553 340 print nodes~;
+#X obj 551 49 r rack1;
+#X obj 551 109 print verbose;
+#X obj 551 79 spigot;
+#X obj 621 49 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X obj 551 199 pddom.get message.nodes;
+#X obj 553 310 pddom.get message.nodes~;
+#X obj 45 346 ../../utils/get.snapshot~;
+#X obj 45 246 sig~ 1.2345;
+#X msg 295 210 add sig1~;
+#X msg 295 180 add add1;
+#X connect 0 0 2 1;
+#X connect 2 0 14 0;
+#X connect 3 0 2 1;
+#X connect 4 0 12 0;
+#X connect 6 0 13 0;
+#X connect 8 0 10 0;
+#X connect 10 0 9 0;
+#X connect 11 0 10 1;
+#X connect 12 0 5 0;
+#X connect 13 0 7 0;
+#X connect 15 0 2 0;
+#X connect 16 0 2 1;
+#X connect 17 0 2 1;

0 comments on commit 947ac09

Please sign in to comment.