musicaiz.rhythm.ms_per_tick¶
- musicaiz.rhythm.ms_per_tick(bpm: int = 120, resolution: int = 96) float [source]¶
This function calculates the miliseconds that correspond to one tick.
- Parameters
- bpm: int
the tempo or bpms.
- resolution: int
the pulses o ticks per quarter note (PPQ or TPQN).
- Returns
- float
The miliseconds that correspond to a tick.