// Multiple Pitch Shifter // Copyright 2008 Les Hall // This software is protected by the GNU General Public License // parameters 5 => int n; // number of pitch shifters "PitchShifter.wav" => string filename; // output filename // the patch PitShift ps[n]; adc => ps[0]; for (1 => int i; i ps[i]; } ps[n-1] => dac; for (int i; i ps[i].shift; 0.5 => ps[i].mix; } 2 => dac.gain; dac => WvOut wvout => blackhole; wvout.wavFilename(filename); 15::second => now; wvout.closeFile(filename);