// Lunetta-based boolean sequencer // copyright 2009 Les Hall // This software is protected by the GNU General Public License // variables [9, 17, 23, 7] @=> int switches[]; // the switch settings int b; // the binary counter // the patch Step step => LPF lpf => dac; 440 => lpf.freq; 10 => lpf.Q; // time loop while (true) { 0 => int sum; for (int i; i sum; } <<< b, sum >>>; sum /4.0 => step.next; 1 +=> b; // increment b 255 & b => b; // make b an 8 bit counter second/4 => now; }