1 // pulse width modulation (gewang / philipd)
3 // drive sinosc with blackhole
4 sinosc modw => blackhole;
8 phasor x => triosc t => ADSR te => dac;
10 2 => t.sync; // sync to input
12 // modulate pulse width
15 modw.last * .95 => t.width;
25 1 => te.keyOn; 125::ms => now;
26 1 => te.keyOff; 75::ms => now;