pub fn render_to_wav<P: PedalProcessor>( pedal: &mut P, input: &[f64], path: &Path, sample_rate: u32, ) -> Result<(), Box<dyn Error>>
Process a buffer of samples through a pedal and write the result to a WAV file.