Warning: This document is for an old version of librosa. The latest version is 0.6.1rc0.

Onset detection

onset_detect([y, sr, onset_envelope, …]) Basic onset detector.
onset_backtrack(events, energy) Backtrack detected onset events to the nearest preceding local minimum of an energy function.
onset_strength([y, sr, S, lag, max_size, …]) Compute a spectral flux onset strength envelope.
onset_strength_multi([y, sr, S, lag, …]) Compute a spectral flux onset strength envelope across multiple channels.