-
SpectralEntropy : MultiOutUGen { *kr { arg fft, fftsize=2048, numbands=1; if(numbands>fftsize) { numbands = fftsize; }; ^this.multiNew('control', fft, fftsize, numbands); } init { arg ... theInputs; inputs = theInputs; ^this.initOutputs(the ...
-
CQ_Diff : MultiOutUGen { // Based on Qitch *kr { arg in1 = 0.0, in2 = 0.0, databufnum; ^this.multiNew('control', in1, in2, databufnum) } init { arg ... theInputs; inputs = theInputs; ^this.initOutputs(1, rate); } }
-
Metro : UGen { *ar {arg bpm, numBeats, mul = 1, add = 0; ^this.multiNew('audio', bpm, numBeats).madd(mul, add) } *kr {arg bpm, numBeats, mul = 1, add = 0; ^this.multiNew('control', bpm, numBeats).madd(mul, add) } }
-
/* //input FFT //outputs [0] entropy [1] ratio top value to second highest //[2] */ BeatStatistics : MultiOutUGen { *kr { arg fft, leak = 0.995, numpreviousbeats=4; ^this.multiNew('control',fft, leak, numpreviousbeats); } init { arg ... the ...
-
//transient input not currently used but reserved for future use in downweighting frames which have high transient content KeyClarity : UGen { *kr { arg chain,keydecay=2.0,chromaleak= 0.5; //transient=0.0; ^this.multiNew('control',chain,key ...
-
//transient input not currently used but reserved for future use in downweighting frames which have high transient content KeyMode : UGen { *kr { arg chain,keydecay=2.0,chromaleak= 0.5; //transient=0.0; ^this.multiNew('control',chain,keydec ...
-
AverageOutput : UGen { *ar { arg in, trig=0.0, mul=1.0, add=0.0; ^this.multiNew('audio', in, trig).madd(mul, add); } *kr { arg in, trig=0.0, mul=1.0, add=0.0; ^this.multiNew('control', in, trig).madd(mul, add); } }
-
FFTSubbandPower - Spectral power, divided into subbands #[power1, power2, ... powerN+1] = FFTSubbandPower.kr(chain, [cutfreq1, cutfreq2, ... cutfreqN], square, scalemode) Calculates the spectral power measure, in the same manner as FFTPower ...
-
Chromagram : MultiOutUGen { *kr { arg fft, fftsize=2048, n=12, tuningbase=32.703195662575, octaves=8, integrationflag=0, coeff=0.9, octaveratio=2, perframenormalize=0; ^this.multiNew('control', fft, fftsize, n, tuningbase, octaves, integrat ...
-
//conversion of Tartini pitch tracking algorithm, from Philip MacLeod's Tartini project Tartini : MultiOutUGen { *kr { arg in = 0.0, threshold=0.93, n=2048, k=0, overlap=1024, smallCutoff=0.5; ^this.multiNew('control', in, threshold, n, k, ...