View source: R/analyze_utilities.R
getSpectralFlux | R Documentation |
Internal soundgen function
getSpectralFlux(s)
s |
raw spectrogram (not normalized): rows = frequency bins, columns = STFT frames |
Calculates spectral flux: the average change across all spectral bins from one STFT frame to the next. Spectra are normalized in each frame, so amplitude changes have no effect on flux.
vector of length ncol(s)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.