Spectral spread for audio signals and auditory spectrograms
specifies options using one or more spread
= spectralSpread(x
,f
,Name,Value
)Name,Value
pair arguments.
The spectral spread is calculated as described in [1]:
where
fk is the frequency in Hz corresponding to bin k.
sk is the spectral value at bin k.
b1 and b2 are the band edges, in bins, over which to calculate the spectral spread.
μ1 is the spectral centroid, calculated as
described by the spectralCentroid
function.
[1] Peeters, G. "A Large Set of Audio Features for Sound Description (Similarity and Classification) in the CUIDADO Project." Technical Report; IRCAM: Paris, France, 2004.