drumscript.audio_processor.onset_detector.detect_onsets¶ detect_onsets(audio_data: ndarray, sr: int) → list[float][source]¶