Skip to main content

sonify_events_mono

Function sonify_events_mono 

Source
pub fn sonify_events_mono(
    events: &[AuditoryEvent],
    sample_rate: u32,
    total_frames: usize,
    out: &mut [f32],
) -> usize
Expand description

Render events into mono f32 of total_frames at sample_rate. Overlapping events sum with soft clip.