Skip to main content

write_wav

Function write_wav 

Source
pub(crate) fn write_wav(path: &Path, audio: &[f32]) -> Result<(), String>
Expand description

Encode audio as a canonical 16-bit PCM wav at the one rate every model here reads.