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.
引用格式
Dan Ellis (2024). m4aread - read MPEG4 (AAC or M4A) compressed audio files (https://www.mathworks.com/matlabcentral/fileexchange/28745-m4aread-read-mpeg4-aac-or-m4a-compressed-audio-files), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Audio and Video Data >
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!m4aread/
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.4.0.0 | Added support for reading excerpts from very large files without excessive memory usage. |
||
1.3.0.0 | 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. |
||
1.2.0.0 | m4aread has been extended to support the FORCEMONO and DOWNSAMPLE flags exactly as defined for the parallel function mp3read.m. |
||
1.1.0.0 | No change to files, but noted in description that it can also pull audio directly from mp4 movie files. |
||
1.0.0.0 |