Skip to main content

step_position

Function step_position 

Source
pub fn step_position(t: f64, bpm: f64, steps_per_beat: f64) -> (u64, f64)
Expand description

Returns (global_step_index, phase_within_step) given time in seconds.