[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] In and Out



I'm not sure what you're trying to solve, but..

This will not work. The bus number can be modulated, so it is perfectly legal to
patch a ugen into there.

On Thursday, July 18, 2002, at 02:15  AM, Julian Rohrhuber wrote:

so In could use either a bus number or a UGen input

In : MultiOutUGen {
	*ar { arg bus = 0, numChannels = 1;
		^if(bus.isKindOf(Integer), {
			this.multiNew('audio', numChannels, bus)
		}, {
			bus
		})
	}

--
--- james mccartney   james@xxxxxxxxxxxxxx   <http://www.audiosynth.com>
SuperCollider - a real time synthesis programming language for the PowerMac.
<ftp://www.audiosynth.com/pub/updates/SC2.2.15.sea.hqx>