3 *ar { arg bus = 0, mul=1.0, add=0.0;
5 chanOffset = this.channelOffset;
7 ^In.ar(chanOffset + bus, 1).madd(mul,add)
10 // check to see if channels array is consecutive [n,n+1,n+2...]
11 if(bus.every({arg item, i;
12 (i==0) or: {item == (bus.at(i-1)+1)}
14 ^In.ar(chanOffset + bus.first, bus.size).madd(mul,add)
16 // allow In to multi channel expand
17 ^In.ar(chanOffset + bus).madd(mul,add)
26 // backward compatible version. Only difference: starts counting from channel 1
29 *ar { arg channel = 0, mul=1.0, add=0.0;
30 ^super.ar(channel, mul, add)
33 ^NumOutputBuses.ir - 1