#N canvas 328 78 667 583 10;
#X obj 107 386 s_blsquare;
#X obj 107 259 mtof;
#X floatatom 107 239 5 0 0 0 - - -;
#X obj 108 441 soundoutput;
#X obj 52 35 s_blsquare;
#X floatatom 258 224 5 0 0 2 pwm_freq - -;
#X floatatom 194 387 5 0 0 1 phase_(0...1) - -;
#X obj 258 243 osc~ 0.5;
#X obj 140 322 pack 0 10;
#X obj 140 300 / 100;
#X floatatom 140 282 5 0 0 0 - - -;
#X obj 259 303 +~ 0.5;
#X obj 259 275 *~ 0.1;
#X obj 259 338 *~ 1;
#X obj 304 338 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X text 325 303 it's best to modulate around 0.5;
#X obj 345 242 / 100;
#X floatatom 345 224 5 0 0 2 depth - -;
#X text 97 90 Inlet 0: signal or float for frequency;
#X text 96 114 Inlet 1: signal or float for pulse width - 0.5 is a
50/50 square wave;
#X text 95 149 Inlet 2: float to set phase (0...1);
#X obj 140 343 line~;
#X text 153 33 bandlimited square wave with audio input for PWM.;
#X connect 0 0 3 0;
#X connect 0 0 3 1;
#X connect 1 0 0 0;
#X connect 2 0 1 0;
#X connect 5 0 7 0;
#X connect 6 0 0 2;
#X connect 7 0 12 0;
#X connect 8 0 21 0;
#X connect 9 0 8 0;
#X connect 10 0 9 0;
#X connect 11 0 13 0;
#X connect 12 0 11 0;
#X connect 13 0 0 1;
#X connect 14 0 13 1;
#X connect 16 0 12 1;
#X connect 17 0 16 0;
#X connect 21 0 0 1;
