pub fn parse_wav_generic(data: &[u8]) -> Result<(u16, u32, Vec<i16>), String>Expand description
Parse WAV file and return (channels, sample_rate, mono_i16_samples)
If stereo, automatically converts to mono by averaging channels. Returns samples as i16 normalized to [-32768, 32767] range.