pub fn ticks_for_ms(ms: f64, bpm: f64) -> Option<u32>Expand description
The whole ticks that cover ms at a tempo, rounded up, so an overlap
is never shorter than asked.
Returns None for a tempo outside the 4 to 1000 BPM of Bpm, a
length that is NaN or negative, or a tick count beyond u32.