pub fn oscillator_buffer(
    sample_rate: f32,
    frequency: f32,
    length: Duration,
    generator_fn: fn(_: f32) -> f32
) -> Vec<f32>
Expand description

Create a sine wave buffer with this duration