#delay #times #tempo #milliseconds #calculate #hertz

delay_times

Calculate delay times, in milliseconds and in hertz, for a given tempo

4 releases

0.2.0 Apr 17, 2022
0.1.2 Apr 15, 2022
0.1.1 Apr 15, 2022
0.1.0 Apr 15, 2022

#1 in #tempo

GPL-3.0-only

15KB
209 lines

delay_times

Calculate delay times, in milliseconds and in hertz, for a given tempo

use delay_times::DelayTimes;

fn main() {
    let delay_times = DelayTimes::new(120.0).in_ms().normal();
    assert!(delay_times.v_quarter, 500.0);
}

Dependencies

~265–720KB
~17K SLoC