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

delay_times

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

5 releases

0.2.1 Dec 31, 2024
0.2.0 Apr 17, 2022
0.1.2 Apr 15, 2022
0.1.1 Apr 15, 2022
0.1.0 Apr 15, 2022

#3 in #milliseconds

Download history 1/week @ 2024-09-18 1/week @ 2024-10-30 81/week @ 2024-12-25 44/week @ 2025-01-01

125 downloads per month

GPL-3.0-only

16KB
238 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

~235–660KB
~15K SLoC