drumscript.notation_generator.helpers.format_drum_event¶
- format_drum_event(drum_type: str, onset_time_seconds: float) dict[str, Any][source]¶
Formats a classified drum event into a dictionary containing notation-specific information using the DRUM_NOTATION_MAP imported from constants.py
- Parameters:
drum_type (str) – Type of drum (e.g., ‘kick’).
onset_time_seconds (float) – Time of onset.
- Returns:
Formatted event dictionary.
- Return type:
dict[str, Any]