Function Reference
— Function File: loadaudio (name, ext, bps)

Loads audio data from the file name.ext into the vector x.

The extension ext determines how the data in the audio file is interpreted; the extensions lin (default) and raw correspond to linear, the extensions au, mu, or snd to mu-law encoding.

The argument bps can be either 8 (default) or 16, and specifies the number of bits per sample used in the audio file.