drumscript.notation_generator.helpers¶
Helper functions for musical calculations.
Functions
Calculates the difference between two frequencies in cents. |
|
Formats a classified drum event into a dictionary containing notation-specific information using the DRUM_NOTATION_MAP imported from constants.py |
|
Converts a duration in beats to a standard musical note name (e.g., 'quarter', 'eighth'). |
|
Rounds a time value (in beats) to the nearest specified rhythmic subdivision. |