#N canvas 29 231 549 563 12; #X obj 187 79 adc~ 3; #X obj 230 116 snapshot~; #X obj 246 33 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X obj 254 219 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 127; #X obj 172 155 moses -0.05; #X obj 271 155 moses 0.05; #X text 263 32 Enable; #X obj 231 467 noteout; #X msg 338 183 0; #X msg 221 422 64; #X obj 200 315 -; #X msg 172 180 127; #X obj 193 280 t f f; #X obj 196 348 spigot; #X obj 246 79 metro 10; #X msg 359 329 \; pd dsp 1 \;; #X obj 359 304 loadbang; #X msg 277 424 1; #X text 151 423 MIDI Note; #X text 309 425 MIDI Channel; #X text 66 269 Filter out all bangs except for when the switch changes state. There has to be a better way to do this.; #X text 361 255 Initialize audio upon startup; #X text 19 99 Thresholds for detecting positive and negative pulses. The specific value isn't critical. ---->; #X connect 0 0 1 0; #X connect 1 0 4 0; #X connect 1 0 5 0; #X connect 2 0 14 0; #X connect 3 0 7 1; #X connect 3 0 12 0; #X connect 4 0 11 0; #X connect 5 1 8 0; #X connect 8 0 3 0; #X connect 9 0 7 0; #X connect 10 0 13 1; #X connect 10 0 13 0; #X connect 11 0 3 0; #X connect 12 0 10 1; #X connect 12 1 10 0; #X connect 13 0 9 0; #X connect 14 0 1 0; #X connect 16 0 15 0; #X connect 17 0 7 2;