// Multi-channel output example dac.channels() => int numChans; // number of available channels SinOsc s[dac.channels()]; // suitable sized array of sin oscs 200.0 => float freq; // base frequency variable for (0 => int i; i < numChans; i++) { // iterate over all channels freq => s[i].freq; // set sin osc frequency s[i] => dac.chan(i); // hook up to dac channel 1.059 * freq => freq; // frequency up by half step 2.0 :: second => now; // hang out a bit } 2.0 :: second => now; // hang out a bit