You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
442 B
Python

FluidNMFMatch : MultiOutUGen {
*kr { arg in = 0, dictBufNum, maxRank = 1, nIter = 10, winSize = 1024, hopSize = 512, fftSize = -1;
^this.multiNew('control', in, dictBufNum, maxRank, nIter, winSize, hopSize, fftSize);
}
init {arg ...theInputs;
inputs = theInputs;
^this.initOutputs(inputs[2],rate);
}
checkInputs {
if (inputs.at(0).rate != 'audio', {
^(" input 0 is not audio rate");
});
^this.checkValidInputs;
}
}