pub fn sine( freq_hz: f32, secs: f32, amplitude: f32, format: AudioFormat, ) -> Vec<f32>
A pure sine at freq_hz and amplitude for secs, interleaved to format.channels.
freq_hz
amplitude
secs
format.channels