Skip to main content

decode_wav

Function decode_wav 

Source
fn decode_wav(path: &Path) -> Result<Vec<f32>, Error>
Expand description

Decode one 16-bit mono wav at the model’s own rate, refusing anything else by name rather than resampling it.