On 21.04.2008, at 16:35, Rohan Drape wrote: >> >> is there a particular reason soundIn hides the number of channels >> being read? maybe a variation (soundInN?) could be added? > > i'm not sure i understand the question, can you perhaps elaborate? > > the number of channels being read is the degree (number of output > ports) of the input, which selects which channels to read, zero > indexed. > > soundIn :: UGen -> UGen > soundIn n = in' 1 AR (numOutputBuses + n)
great, thanks, mce is what i was looking for. am i correct in assuming that in' 2 AR 0 compiles to a single In ugen, while soundIn [0, 1] references two? what i meant was making the first argument to in' available as an argument to soundIn. reading consecutive input buses is a fairly common scenario ... thanks, <sk> _______________________________________________ haskell-art mailing list haskell-art@lists.lurk.org http://lists.lurk.org/mailman/listinfo/haskell-art