-
SpecFlatness Spectral Flatness measure SpecFlatness.kr(chain) Given an FFT chain this calculates the Spectral Flatness measure, defined as a power spectrum's geometric mean divided by its arithmetic mean. This gives a measure which ranges f ...
-
FFTTrigger Outputs the necessary signal for FFT chains, without doing an FFT on a signal FFTrigger(buffer, hop, polar) buffer - a buffer to condition for FFT use hop - the hop size for timing triggers (defaults to 0.5) polar - a flag. If 0. ...
-
... ch18.htm in - processing target kernel - processing kernel. framesize - size of FFT frame, must be a power of two ( { var input, kernel; input = SoundIn .ar(0); kernel = Mix .ar( LFSaw .ar([300,500,800,1000]* MouseX .kr(1.0,2.0),0,0.25)); / ...
-
... rigger signal which is 1 when an onset is detected, and 0 otherwise. chain - an FFT chain threshold - the detection threshold, typically between 0 and 1, although in rare cases you may find values outside this range useful odftype - the fun ...
-
... trackh,trackq,tempo, phase, period, groove; var bsound,hsound,qsound, beep; var fft; var feature1, feature2, feature3; in= PlayBuf .ar(1,d.bufnum, BufRateScale .kr(d.bufnum),1,0,1); //in = SoundIn.ar(0); //Create some features fft = FFT (b. ...
-
SpecCentroid Spectral centroid SpecCentroid.kr(chain) Given an FFT chain , this measures the spectral centroid , which is the weighted mean frequency, or the "centre of mass" of the spectrum. (DC is ignored.) This can be a useful indicator ...
-
... 0], 1); Signal [1, 2, 3, 4].blend( Signal [5, 5, 5, 0], 2); Fourier Transform: *fftCosTable(size) Fill a Signal with the cosine table needed by the FFT methods. Signal .fftCosTable(512).plot; fft(imag, cosTable) Perform an FFT on a real and ...
-
... gger trigger - update the kernel on a change from <=0 to >0 framesize - size of FFT frame, must be a power of two. Convolution uses twice this number internally, maximum value you can give this argument is 2^16=65536. Note that it gets prog ...
-
... 2L , but convolves with two buffers and outputs a stereo signal. This saves one FFT transformation per period, as compared to using two copies of Convolution2L . Useful applications could include stereo reverberation or HRTF convolution. Se ...
-
... gger trigger - update the kernel on a change from <=0 to >0 framesize - size of FFT frame, does not have to be a power of two. See Convolution2 and Convolution2L for more efficient convolution UGens.