Skip to content

Commit

Permalink
fixed bug in subscribe~, should pass all tests now
Browse files Browse the repository at this point in the history
  • Loading branch information
eerne committed Sep 2, 2011
1 parent d48e87f commit 66403fb
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 24 deletions.
2 changes: 1 addition & 1 deletion pd-dom-help.pd
Expand Up @@ -73,7 +73,7 @@ methods;
#X msg 177 220 chain random-osc~ random-osc~ random-osc~;
#X obj 26 379 utils/get.output~;
#X obj 177 20 declare -path ./ -path tests/abstractions/;
#X text 23 20 Pd-Dom 0.7.0;
#X text 23 20 Pd-Dom 0.7.1;
#X connect 0 0 19 0;
#X connect 1 0 17 0;
#X connect 2 0 4 1;
Expand Down
49 changes: 26 additions & 23 deletions pd-dom.pd
Expand Up @@ -36,7 +36,7 @@
#X obj 114 155 r~ \$1.node.-1;
#X obj 114 25 r \$1.last;
#X msg 204 26 receive~ set rack1.node.-1;
#X msg 137 115 message.node.-1;
#X msg 137 115 message.node.1;
#X obj 244 115 s \$1.from;
#X obj 114 75 route receive~ send;
#X connect 2 0 0 0;
Expand Down Expand Up @@ -110,7 +110,7 @@ to. Signal processing objects have to register themself to this list.
#X connect 19 0 18 0;
#X connect 20 1 10 0;
#X restore 335 190 pd node~;
#N canvas 60 22 474 345 subscribe~ 0;
#N canvas 60 22 578 380 subscribe~ 0;
#N canvas 778 22 302 497 find.previous 0;
#X obj 24 25 inlet;
#X obj 24 425 outlet;
Expand Down Expand Up @@ -167,7 +167,7 @@ to. Signal processing objects have to register themself to this list.
#X connect 15 0 14 0;
#X connect 16 0 15 0;
#X connect 16 1 14 1;
#X restore 74 155 pd find.previous;
#X restore 174 155 pd find.previous;
#N canvas 647 22 385 513 find.next 0;
#X obj 84 125 list length;
#X obj 44 305 symbol last;
Expand Down Expand Up @@ -257,31 +257,34 @@ to. Signal processing objects have to register themself to this list.
#X connect 12 2 11 0;
#X connect 14 0 0 0;
#X connect 15 0 10 0;
#X restore 304 155 pd find.next;
#X text 84 135 connect to previous node;
#X restore 404 155 pd find.next;
#X text 184 135 connect to previous node;
#X obj 24 25 inlet;
#X obj 24 295 s \$1;
#X obj 24 65 t a a;
#X text 309 135 connect next node;
#X obj 254 115 t a a;
#X obj 24 115 t a a;
#X obj 254 195 list prepend;
#X obj 24 195 list append;
#X msg 24 255 connect \$1 \$2 \, connect~ \$1 \$2;
#X connect 0 0 10 1;
#X connect 1 0 9 1;
#X connect 3 0 5 0;
#X connect 5 0 8 0;
#X connect 5 1 7 0;
#X text 409 135 connect next node;
#X obj 354 115 t a a;
#X obj 124 115 t a a;
#X obj 354 195 list prepend;
#X obj 124 195 list append;
#X msg 124 255 connect~ \$1 \$2;
#X msg 24 255 subscribe \$1;
#X obj 24 65 t a a a;
#X connect 0 0 9 1;
#X connect 1 0 8 1;
#X connect 3 0 12 0;
#X connect 6 0 8 0;
#X connect 6 1 1 0;
#X connect 7 0 9 0;
#X connect 7 1 1 0;
#X connect 7 1 0 0;
#X connect 8 0 10 0;
#X connect 8 1 0 0;
#X connect 9 0 11 0;
#X connect 10 0 11 0;
#X connect 9 0 10 0;
#X connect 10 0 4 0;
#X connect 11 0 4 0;
#X connect 12 0 11 0;
#X connect 12 1 7 0;
#X connect 12 2 6 0;
#X restore 145 280 pd subscribe~;
#N canvas 12 22 414 211 node.first 0;
#N canvas 706 22 414 211 node.first 0;
#X obj 25 40 inlet~;
#X obj 25 150 outlet~;
#X obj 25 80 s~ \$1.node.-1;
Expand Down Expand Up @@ -543,7 +546,7 @@ to. Signal processing objects have to register themself to this list.
#X connect 5 2 2 0;
#X connect 5 3 1 0;
#X restore 448 159 pd hooks;
#X text 23 20 Pd-Dom 0.7.0 - (c) by Enrique Erne \, MIT License;
#X text 23 20 Pd-Dom 0.7.1 - (c) by Enrique Erne \, MIT License;
#X connect 0 0 13 0;
#X connect 1 0 10 0;
#X connect 3 0 7 0;
Expand Down

0 comments on commit 66403fb

Please sign in to comment.