Code covered by the BSD License  

Highlights from
audioread - unified audio file input function

Be the first to rate this file! 47 Downloads (last 30 days) File Size: 904.46 KB File ID: #32894
image thumbnail

audioread - unified audio file input function

by Dan Ellis

 

14 Sep 2011 (Updated 30 Apr 2012)

audioread provides a single, unified function for reading audio files in wav, mp3, aac, flac...

| Watch this File

File Information
Description

audioread provides a single, unified function for reading audio files in a range of different file formats, including wav, mp3, aac, flac, AIFF, etc. In most cases, access is actually provided by external binaries, but this is hidden within audioread (and its subfunctions). The idea is to make your code independent of the kind of audio files used as input.

In addition, audioread provides support for common modifications performed during sound input, namely resampling (changing the sampling rate), casting multi-channel signals to mono, and loading only a limited time range of the sound. Care has been taken to ensure that short subregions of very large soundfiles can be read with the minimum of memory overhead (for instance, without having to load in the entire soundfile at any time.

MATLAB release MATLAB 7.11 (2010b)
Other requirements External binaries for mpg123, faad, flac, must be installed as described on the page. Support for NIST SPHERE is via ReadSound.mex, download full package from http://labrosa.ee.columbia.edu/matlab/audioread/
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
27 Apr 2012

Better handling of errors in external programs

30 Apr 2012

FIxed bug reading flac files with downsampling that would truncate 2nd half of file.

Tag Activity for this File
Tag Applied By Date/Time
data import Dan Ellis 14 Sep 2011 15:23:37
audio Dan Ellis 14 Sep 2011 15:23:37
sound Dan Ellis 14 Sep 2011 15:23:37
mp3 Dan Ellis 14 Sep 2011 15:23:37
wav Dan Ellis 14 Sep 2011 15:23:37
aac Dan Ellis 14 Sep 2011 15:23:37
flac Dan Ellis 14 Sep 2011 15:23:37
mp4 Dan Ellis 14 Sep 2011 15:23:37
aac othmane 11 May 2012 15:42:12

Contact us at files@mathworks.com