pub fn load_audio_samples_16khz_mono(
audio_path: &Path,
) -> Result<Vec<f32>, AppError>Expand description
Load audio file and convert to 16kHz mono f32 samples.
This is the format required by whisper.cpp / whisper-rs for transcription. Supports WAV files with integer or float samples, any sample rate, mono or stereo.