#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;
