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.
18 lines
471 B
Python
18 lines
471 B
Python
FluidLoudness : MultiOutUGen {
|
|
*kr { arg in = 0, kWeighting = 1, truePeak = 1, windowSize = 1024, hopSize = 512, maxwindowSize = 16384;
|
|
^this.multiNew('control', in.asAudioRateInput(this), kWeighting, truePeak, windowSize, hopSize, maxwindowSize);
|
|
}
|
|
|
|
init {arg ...theInputs;
|
|
inputs = theInputs;
|
|
^this.initOutputs(2,rate);
|
|
}
|
|
|
|
checkInputs {
|
|
if(inputs.at(5).rate != 'scalar') {
|
|
^(": maxwindowSize cannot be modulated.");
|
|
};
|
|
^this.checkValidInputs;
|
|
}
|
|
}
|