pub fn oscillator_buffer( sample_rate: f32, frequency: f32, length: Duration, generator_fn: fn(_: f32) -> f32 ) -> Vec<f32>
Create a sine wave buffer with this duration