Skip to main content

sine

Function sine 

Source
pub fn sine(
    freq_hz: f32,
    secs: f32,
    amplitude: f32,
    format: AudioFormat,
) -> Vec<f32>
Expand description

A pure sine at freq_hz and amplitude for secs, interleaved to format.channels.