PV_MagSmooth:
Filter:
sc3-plugins/Classes (extension) | UGens > FFT | UGens > Analysis

PV_MagSmooth
ExtensionExtension

Smooth spectral magnitudes over time

Description

Smooths out the magnitude of FFT bins over time using recursive averaging.

For each bin, the calculation looks like:

mag = (prevmag * factor) + (mag * (1-factor))

Class Methods

.new

Arguments:

chain

an fft chain

factor

from 0 (no smoothing occurs) to 1 ("infinite" smoothing, magnitudes never change)

Examples