drumscript.drum_classifier.classify¶
This script determines the classification rules by which the parameters in py are applied to audio_file_path. It fuses high-resolution acoustic DNA extraction with simultaneous HFER/LFER physics rules. Natively detects and filters isolated single-beat cymbals/kicks using Peak Dominance.
Functions
Stage 1: Evaluates both skins and Metals simultaneously. |
|
Wrapper to route validated onsets through the Physics-First Classification Engine. |
|
Stage 2B: Sorts Metals (Hats, Cymbals). |
|
Stage 2A: Sorts skins (kick, snare, toms). |
|
Dedicated classification engine for single beats, paradiddles, and rudiments. |
|
Analyses the audio slice and extracts the physical DSP features. |
|
Cuts a specific millisecond slice of audio starting exactly at the onset time. |