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

Re: [sc-users] JITLib Meta_RecNodeProxy-newFrom



ahhh, ok,

thanx for this info, getting deeper now!

regards
Till

On 17 Dec 2004, at 12:44, Julian Rohrhuber wrote:

Hey,

RecNodeProxy:

*newFrom { arg proxy, numChannels;
	^this.audio(proxy.server, numChannels ? proxy.numChannels)
		.source_({ proxy.ar(numChannels) });
}

shouldn't this be


*newFrom { arg proxy, numChannels;
	^this.audio(proxy.server, numChannels ? proxy.numChannels)
		.source_({ proxy.ar(numChannels ? proxy.numChannels) });
}

this would be a tautology. if the proxy is still neutral, it has no numChannels. if it is not neutral anymore, it will default to its own numChannels anyway:

	ar { arg numChannels, offset=0;
		if(this.isNeutral) {
			this.defineBus(\audio, numChannels)
		};
		this.prepareOutput;
		^InBus.ar(bus, numChannels ? bus.numChannels, offset)
	}
--








.
_______________________________________________
sc-users mailing list
sc-users@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-users