4 // control oscillators - send to blackhole
5 sinosc modw => blackhole;
12 x => sinosc s => Envelope se => dac;
13 x => triosc t => Envelope te => dac;
14 t => sinosc ts => Envelope tse => dac;
15 ts => triosc tst => Envelope tste => dac;
16 x => pulseosc p => Envelope pe => dac;
17 x => sawosc w => Envelope we => dac;
18 x => sqrosc q => Envelope qe => dac;
20 // oscillator sync mode
21 2 => s.sync; // 2 = sync to input
33 0.1 => se.time => te.time => tse.time => tste.time =>
34 pe.time => we.time => qe.time;
36 // pulse width modulation
51 // alternate the envelopes
55 if ( c % 7 == 0 ) { 1.0 => se.target; 0.0 => qe.target;}
56 if ( c % 7 == 1 ) { 1.0 => te.target; 0.0 => se.target;}
57 if ( c % 7 == 2 ) { 1.0 => tse.target; 0.0 => te.target;}
58 if ( c % 7 == 3 ) { 1.0 => tste.target; 0.0 => tse.target;}
59 if ( c % 7 == 4 ) { 1.0 => pe.target; 0.0 => tste.target;}
60 if ( c % 7 == 5 ) { 1.0 => we.target; 0.0 => pe.target;}
61 if ( c % 7 == 6 ) { 1.0 => qe.target; 0.0 => we.target;}