Read audio file
[y,Fs] =
audioread(filename)[y,Fs] =
audioread(filename,samples)[y,Fs] =
audioread(___,dataType)For MP3, MPEG-4 AAC, and AVI audio files on Windows 7 or
later and Linux platforms, audioread might
read fewer samples than expected. On Windows 7 platforms, this
is due to a limitation in the underlying Media Foundation framework.
On Linux platforms, this is due to a limitation in the underlying
GStreamer framework. If you require sample-accurate reading, work
with WAV or FLAC files.
On Linux platforms, audioread reads
MPEG-4 AAC files that contain single-channel data as stereo data.