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.
19 lines
521 B
Python
19 lines
521 B
Python
FluidPitch : MultiOutUGen {
|
|
|
|
*kr { arg in = 0, algorithm = 2, minFreq = 20, maxFreq = 10000, unit = 0, windowSize = 1024, hopSize = -1, fftSize = -1, maxFFTSize = 16384;
|
|
^this.multiNew('control', in.asAudioRateInput(this), algorithm, minFreq, maxFreq, unit, windowSize, hopSize, fftSize, maxFFTSize);
|
|
}
|
|
|
|
init {arg ...theInputs;
|
|
inputs = theInputs;
|
|
^this.initOutputs(2,rate);
|
|
}
|
|
|
|
checkInputs {
|
|
if(inputs.at(5).rate != 'scalar') {
|
|
^(": maxFFTSize cannot be modulated.");
|
|
};
|
|
^this.checkValidInputs;
|
|
}
|
|
}
|