These versions of mp3read and mp3write are direct drop-in replacements for wavread and wavwrite to access MPEG audio mp3 files. Features include:
- aims to duplicate complete syntax of wavread and wavwrite
- also supports on-the-fly downsampling and channel merging of mpg123
- optimized for very long mp3 files - only decodes the needed portion
- uses popen for encoding to avoid a large temporary file (when available - see my popenw mex)
- attempts to preserve time alignment of files through read/write loop by removing "warm up" samples
- package includes helper binaries for Linux, Windows, Mac-PPC, Mac-Intel, and Mac-Intel-64bit
引用格式
Dan Ellis (2024). mp3read and mp3write (https://www.mathworks.com/matlabcentral/fileexchange/13852-mp3read-and-mp3write), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Audio and Video Data >
标签
致谢
参考作品: MP3WRITE and MP3READ
启发作品: m4awrite - write m4a format audio file, MIRtoolbox, MP3 Player (GUI), audioread - unified audio file input function
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!mp3readwrite/
mp3readwrite/html/
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.4.0.0 | - updated binaries for maci64 (static link) and windows (http works)
|
||
1.2.0.0 | Updated to use and include more recent versions of mpg123 and lame. I've done my best to fix inconsistencies with the 'size' return, but for some MP3s this relies on header info I can't probe. |
||
1.1.0.0 | This version enables the ability of mpg123 to read mp3 files from URLs. |
||
1.0.0.0 | - updated interaction of sample limits and predelay compensation in mp3read to make it more consistent
|