FluidSpectralShape : FluidRTMultiOutUGen { const (1< 1) { ("Option '" ++ item ++ "' is repeated").warn}; }; bits = a.collect{ |sym| (featuresLookup[sym.asSymbol] !? {|x| x} ?? {this.prWarnUnrecognised(sym); 0}) }.reduce{|x,y| x | y}; ^bits } *kr { arg in = 0, select, minFreq = 0, maxFreq = -1, rolloffPercent = 95, unit = 0, power = 0, windowSize = 1024, hopSize = -1, fftSize = -1, maxFFTSize; var selectbits = select !? {this.prProcessSelect(select)} ?? {this.prProcessSelect(this.features)}; maxFFTSize = maxFFTSize ? -1; ^this.multiNew('control', in.asAudioRateInput(this), selectbits, minFreq, maxFreq, rolloffPercent, unit, power, windowSize, hopSize, fftSize, maxFFTSize); } init {arg ...theInputs; var numChannels; inputs = theInputs; numChannels = inputs.at(1).asBinaryDigits.sum; ^this.initOutputs(numChannels,rate); } checkInputs { if(inputs.at(10).rate != 'scalar') { ^(": maxFFTSize cannot be modulated."); }; ^this.checkValidInputs; } }