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

Re: [sc-users] JITLib Meta_RecNodeProxy-newFrom



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)
	}
--








.