getSpectralFlux: Get spectral flux

View source: R/analyze_utilities.R

getSpectralFluxR Documentation

Get spectral flux

Description

Internal soundgen function

Usage

getSpectralFlux(s)

Arguments

s

raw spectrogram (not normalized): rows = frequency bins, columns = STFT frames

Details

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.

Value

vector of length ncol(s)


soundgen documentation built on Sept. 29, 2023, 5:09 p.m.