2 *ar { arg bufnum, channelsArray;
3 ^this.multiNewList(['audio', bufnum] ++ channelsArray.asArray)
4 //^0.0 // DiskOut has no output
5 // now it does: the number of frames written
10 if (rate == 'audio', {
11 for(1, inputs.size - 1, { arg i;
12 if (inputs.at(i).rate != 'audio', {
13 ^("input was not audio rate: " + inputs.at(i));
17 ^this.checkValidInputs
21 DiskIn : MultiOutUGen {
22 *ar { arg numChannels, bufnum, loop = 0;
23 ^this.multiNew('audio', numChannels, bufnum, loop)
25 init { arg numChannels, bufnum, loop = 0;
26 inputs = [bufnum, loop];
27 ^this.initOutputs(numChannels, rate)
31 VDiskIn : MultiOutUGen {
32 *ar { arg numChannels, bufnum, rate = 1, loop = 0, sendID = 0;
33 ^this.multiNew('audio', numChannels, bufnum, rate, loop, sendID)
35 init { arg numChannels, bufnum, argRate = 1, loop = 0, sendID = 0;
36 inputs = [bufnum, argRate, loop, sendID];
37 ^this.initOutputs(numChannels, rate)