Skip to main content

Module spectral_flux_onset

Module spectral_flux_onset 

Source
Expand description

Onset detection from consecutive magnitude frames via true spectral flux and a causal adaptive threshold. One public function; caller-buffered; zero-heap hot path (a bounded fixed-size stack ring is the only working state).

Functionsยง

onset_detection
Detect note/percussion onsets in a magnitude spectrogram.