specfiltSpectral Processing:Non-Standardspecfiltspecfilt
Filters each channel of an input spectrum.
Description
Filters each channel of an input spectrum.
Syntaxwsig specfilt wsigin, ifhtimInitializationifhtim -- half-time constant.
Performancewsigin -- the input spectrum.
Filters each channel of an input spectrum. At each new frame of wsigin, each magnitude value is injected into a 1st-order lowpass recursive filter, whose half-time constant has been initially set by sampling the ftable ifhtim across the (logarithmic) frequency space of the input spectrum. This unit effectively applies a persistence factor to the data occurring in each spectral channel, and is useful for simulating the energy integration that occurs during auditory perception. It may also be used as a time-attenuated running histogram of the spectral distribution.
Examples
wsig2 specdiff wsig1 ; sense onsets
wsig3 specfilt wsig2, 2 ; absorb slowlyspecdisp wsig2, 0.1 ; & display both spectraspecdisp wsig3, 0.1See Alsospecaddm,
specdiff,
spechist,
specscal