read

Reads the audio file and returns an AudioRecording.

Throws

if the file is not a valid audio file.

if the audio encoding is not supported.

if a filesystem-level error occurs.