pub fn read(path: &str) -> Result<AudioFile, AudioError>Expand description
Reads an audio file. Courtesy of symphonia. Supports WAV and AIFF, and (hopefully) all other Symphonia formats.
Note that if you are reading a mp3 file, you may need to set the bits_per_sample and audio_format if you
plan to write the file using the write function in this module.
§Example
use aus::read;
let file = read("myaudio.wav").unwrap();