// rec_io.ck // copyright 2007 Les Hall // just copies the mic to the dac so recording can be done // our patch adc => Gain g => dac; // set controlling parameters 256 => int num_samples; // number of samples per time advancement // set gains 1.0 => g.gain; // control loop num_samples::samp => now; while( true ) { num_samples::samp => now; }