Skip to main content

clock_period_seconds

Function clock_period_seconds 

Source
pub fn clock_period_seconds(bpm: f64) -> Result<f64, AudioError>
Expand description

Seconds between consecutive clock pulses at a given tempo.

Errors if bpm is not a positive finite number.