pub fn write_wav( path: impl AsRef<Path>, samples: &[f32], ) -> Result<(), WavError>
Writes samples to path as a canonical WAV, replacing any file there.
samples
path