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

Onset detection

onset_detect([y, sr, onset_envelope, hop_length]) Basic onset detector.
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.