Read/Write audio files in Matlab
2 views (last 30 days)
Show older comments
Hi everyone,
I would like to read/write audio files (eg. *.wav, *.mp3) in Matlab. I know that Matlab comes with wavread.m and wavwrite.m. So that is good. But what about mp3? I have tried mp3read from File Exchange but it complained about running out of memory when I try to load a few megabyte mp3 file into Matlab.
It does not need to be free. I am willing to pay for a commercial audio toolbox (if it exists).
I am starting to work on audio signal processing. If you happen to know of any good resource for learning audio, please let me know.
Thanks
0 Comments
Answers (2)
Grzegorz Knor
on 9 Feb 2012
I propose to use any MP3 to WAV converter, and then wavread & wavwrite functions.
0 Comments
Jan
on 9 Feb 2012
There are two submissions in the FEX, which contain a function mp3read. If one of them creates an error message, it would be helpful, if you explain which function you are talking of, post the the error message, ask the author and try the other one.
0 Comments
See Also
Categories
Find more on Audio I/O and Waveform Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!