AudioTransport: Use specialIndex to deal with multiple audio ins, make sure wrapper notes this in the right places
parent
750c41be07
commit
3bd79fffb1
@ -1,5 +1,13 @@
|
|||||||
FluidAudioTransport : UGen {
|
FluidAudioTransport : UGen {
|
||||||
|
|
||||||
|
init { |...theInputs|
|
||||||
|
theInputs.postln;
|
||||||
|
inputs = theInputs;
|
||||||
|
this.specialIndex = 1; //two audio inputs
|
||||||
|
// ^this.initOutputs(1,rate);
|
||||||
|
}
|
||||||
|
|
||||||
*ar { arg in = 0, in2 = 0 , interpolation=0.0, bandwidth=255,windowSize= 1024, hopSize= -1, fftSize= -1, maxFFTSize = 16384;
|
*ar { arg in = 0, in2 = 0 , interpolation=0.0, bandwidth=255,windowSize= 1024, hopSize= -1, fftSize= -1, maxFFTSize = 16384;
|
||||||
^this.multiNew('audio', in.asAudioRateInput(this), in2.asAudioRateInput(this), interpolation, bandwidth, windowSize, hopSize, fftSize, maxFFTSize)
|
^this.multiNew('audio', in.asAudioRateInput, in2, interpolation, bandwidth, windowSize, hopSize, fftSize, maxFFTSize)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue