musicaiz.rhythm.ms_per_note¶
- musicaiz.rhythm.ms_per_note(note_length: str = 'quarter', bpm: int = 120, resolution: int = 96) float [source]¶
This function calculates the miliseconds that correspond to one note.
- Parameters
- note_length: str
the name of the note length in american notation.
- bpm: int
the tempo or bpms.
- Returns
- float
The miliseconds that correspond to a note length.