// Comb Filter Auto-Lansky-iser, PRC 2008 adc => DelayL d => dac; 0.8 => d.gain; d => d; 1.0 :: second => d.max; [60, 62, 64, 67, 69] @=> int pitches[]; // simple pentatonic scale while (1) { (1.0 / Std.mtof(pitches[Std.rand2(0,4)])) :: second => d.delay; // random pitch d.delay() => now; // delay's length of noise Std.rand2f(0.2,0.8) :: second => now; }