Skip to main content

tick_ms

Function tick_ms 

Source
pub fn tick_ms(bpm: f64) -> Option<f64>
Expand description

The length of one tick in ms, 1000 / ticks per second, the tick the MIDI writer uses.

Returns None for a tempo outside the 4 to 1000 BPM of Bpm.