Be the first to rate this file! 36 Downloads (last 30 days) File Size: 146.39 KB File ID: #28745
image thumbnail

m4aread - read MPEG4 (AAC or M4A) compressed audio files

by Dan Ellis

 

17 Sep 2010 (Updated 09 Sep 2011)

m4aread reads m4a or aac compressed audio files just like wavread reads uncompressed audio files

| Watch this File

File Information
Description

m4aread provides a drop-in replacement for wavread when the audio files are compressed using MPEG4 audio (AAC or M4A) format. (Protected m4p files cannot be decoded, unfortunately.)

All the work is done by the external "faad" binary, an open-source AAC decoder available for multiple platforms. Matlab File Exchange precludes posting binaries, but binaries for MACI64, GLNXA64, and Windows, can be downloaded from http://www.ee.columbia.edu/~dpwe/resources/matlab/m4aread/ .

faad can extract the audio from an mp4 format video, so you can also read these files directly with m4aread.

This is based on my mp3read code.

MATLAB release MATLAB 7.10 (2010a)
Other requirements Relies on external faad binary. Examples for windows, 64 bit linux and mac are available at the link above, but may not work unless properly installed for your platform.
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
18 Sep 2010

No change to files, but noted in description that it can also pull audio directly from mp4 movie files.

12 Oct 2010

m4aread has been extended to support the FORCEMONO and DOWNSAMPLE flags exactly as defined for the parallel function mp3read.m.

13 Oct 2010

The code is updated to support the FORCEMONO and DOWNSAMPLE options that were introduced in mp3read.

I removed the previously-included binaries to comply with MFE policy.

09 Sep 2011

Added support for reading excerpts from very large files without excessive memory usage.

Tag Activity for this File
Tag Applied By Date/Time
sound Dan Ellis 17 Sep 2010 12:26:50
audio Dan Ellis 17 Sep 2010 12:26:50
data import Dan Ellis 17 Sep 2010 12:26:50
signal processing Dan Ellis 17 Sep 2010 12:26:50
mpeg Dan Ellis 17 Sep 2010 12:26:50
m4a Dan Ellis 17 Sep 2010 12:26:50
aac Dan Ellis 17 Sep 2010 12:26:50
mpeg4 Dan Ellis 17 Sep 2010 12:26:50
mp4 Dan Ellis 20 Sep 2010 10:43:18
mp4 ARAVIND 25 Jan 2011 01:13:46

Contact us at files@mathworks.com