drumscript.drum_classifier.classify.classify_rudiment_events

classify_rudiment_events(audio_path: ndarray, sr: int, onsets: list[float]) list[dict][source]

Dedicated classification engine for single beats, paradiddles, and rudiments. Uses strict, data-driven physics boundaries and ADSR Transient Gating to guarantee perfect single beats and clean ghost notes.