Skip to main content

bars_for

Function bars_for 

Source
pub fn bars_for(
    delay_ms: f64,
    jitter_ms: f64,
    block_frames: u64,
    bar_frames: u64,
    sample_rate: u32,
) -> u32
Expand description

The smallest whole number of bars (1, 2, 4, …) that covers delay_ms + jitter_ms plus one block.