pub fn step_position(t: f64, bpm: f64, steps_per_beat: f64) -> (u64, f64)
Returns (global_step_index, phase_within_step) given time in seconds.