Gaffa tape max size into SC class stubs

nix
Owen Green 7 years ago
parent 33fb34cbfe
commit 9738c8a057

@ -1,5 +1,5 @@
FluidBufNoveltySlice{ FluidBufNoveltySlice{
*process { arg server, srcBufNum, startAt = 0, nFrames = -1, startChan = 0, nChans = -1, transBufNum, kernelSize = 3, thresh = 0.8, filterSize = 0, winSize = 1024, hopSize = 512, fftSize = 2048; *process { arg server, srcBufNum, startAt = 0, nFrames = -1, startChan = 0, nChans = -1, transBufNum, kernelSize = 3, thresh = 0.8, filterSize = 11, winSize = 1024, hopSize = 512, fftSize = 2048, maxWindowSize=16384;
if(srcBufNum.isNil) { Error("Invalid buffer").format(thisMethod.name, this.class.name).throw}; if(srcBufNum.isNil) { Error("Invalid buffer").format(thisMethod.name, this.class.name).throw};
if(transBufNum.isNil) { Error("Invalid buffer").format(thisMethod.name, this.class.name).throw}; if(transBufNum.isNil) { Error("Invalid buffer").format(thisMethod.name, this.class.name).throw};

@ -1,7 +1,7 @@
FluidNMFMatch : MultiOutUGen { FluidNMFMatch : MultiOutUGen {
*kr { arg in = 0, dictBufNum, rank = 1, nIter = 10, winSize = 1024, hopSize = 256, fftSize = -1; *kr { arg in = 0, dictBufNum, rank = 1, nIter = 10, winSize = 1024, hopSize = 256, fftSize = -1;
^this.multiNew('control', in, dictBufNum, rank, nIter, winSize, hopSize, fftSize); ^this.multiNew('control', in, dictBufNum, rank, nIter, winSize, hopSize, fftSize,16384);
} }
init {arg ...theInputs; init {arg ...theInputs;

@ -1,13 +1,13 @@
FluidSines : MultiOutUGen { FluidSines : MultiOutUGen {
*ar { arg in = 0, bandwidth = 76, thresh = 0.7, minTrackLen = 15, magWeight = 0.1, freqWeight = 1.0, winSize= 2048, hopSize= 512, fftSize= 8192; *ar { arg in = 0, bandwidth = 76, thresh = 0.7, minTrackLen = 15, magWeight = 0.1, freqWeight = 1.0, winSize= 2048, hopSize= 512, fftSize= 8192;
^this.multiNew('audio', in.asAudioRateInput(this), bandwidth, thresh, minTrackLen, magWeight,freqWeight ,winSize, hopSize, fftSize) ^this.multiNew('audio', in.asAudioRateInput(this), bandwidth, thresh, minTrackLen, magWeight,freqWeight ,winSize, hopSize, fftSize,16384)
} }
init { arg ... theInputs; init { arg ... theInputs;
inputs = theInputs; inputs = theInputs;
channels = [ channels = [
OutputProxy(rate, this, 0), OutputProxy(rate, this, 0),
OutputProxy(rate, this, 1) OutputProxy(rate, this, 1)
]; ]
^channels ^channels
} }
checkInputs { ^this.checkNInputs(1) } checkInputs { ^this.checkNInputs(1) }

Loading…
Cancel
Save