// Guitar Effect of Multiple Delay Lines Summed Together // copyright 2009 Les Hall // This software is protected by the GNU General Public License // variables 4 => int n; // number of delay lines 250::ms => dur d; // duration of delay lines // the patch DelayA delay_line[n]; adc => delay_line[0]; for (int i; i dac; if (i<(n-2)) { delay_line[i] => delay_line[i+1]; } d => delay_line[i].max; d => delay_line[i].delay; } // time loop while (true) { second => now; }