Skip to main content

bpm_from_clock_period

Function bpm_from_clock_period 

Source
pub fn bpm_from_clock_period(period_seconds: f64) -> Result<f64, AudioError>
Expand description

Recover BPM from the interval (seconds) between two clock pulses.

Errors if period_seconds is not a positive finite number.