Skip to content

Commit

Permalink
Add missing helper abstraction used by some of the newer vanilla help…
Browse files Browse the repository at this point in the history
… patches.
  • Loading branch information
agraef committed Oct 1, 2024
1 parent eac22a4 commit 3d8f9c0
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pd/doc/5.reference/set-dsp-tgl.pd
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#N canvas 523 55 516 492 12;
#X msg 302 160 set 0;
#X msg 243 131 set 1;
#X obj 243 194 s \$0-set-tgl;
#X obj 243 224 r \$0-tgl;
#X obj 243 268 outlet;
#X obj 153 153 tgl 20 0 \$0-tgl \$0-set-tgl empty 0 -10 0 12 #dfdfdf #000000 #000000 0 1;
#X text 89 39 This is a simple helper abstraction for the Pd docs that sets the toggle according to the DSP state., f 42;
#N canvas 172 166 401 276 pd-messages 0;
#X obj 101 75 inlet;
#X obj 101 133 pdcontrol;
#X msg 101 105 dir;
#X msg 101 163 \; pd open pd-messages.pd \$1;
#X connect 0 0 2 0;
#X connect 1 0 3 0;
#X connect 2 0 1 0;
#X restore 298 411 pd pd-messages;
#X obj 243 102 receive pd-dsp-started;
#X obj 302 131 receive pd-dsp-stopped;
#X text 107 324 The trick is to rely on these messages sent by Pd. For more details on these and other messages that Pd sends or receives \, click here --->, f 39;
#X obj 298 375 bng 21 250 50 0 empty empty empty 0 -10 0 12 #dfdfdf #000000 #000000;
#X connect 0 0 2 0;
#X connect 1 0 2 0;
#X connect 3 0 4 0;
#X connect 8 0 1 0;
#X connect 9 0 0 0;
#X connect 11 0 7 0;
#X coords 0 -1 1 1 26 28 2 150 150;

0 comments on commit 3d8f9c0

Please sign in to comment.