Read/Write audio files in Matlab

1 次查看(过去 30 天)
Kevin
Kevin 2012-2-9
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

回答(2 个)

Grzegorz Knor
Grzegorz Knor 2012-2-9
I propose to use any MP3 to WAV converter, and then wavread & wavwrite functions.

Jan
Jan 2012-2-9
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.
In addition I can recommend to ask Google for further solutions: Google: Matlab+mp3+read?.

类别

Help CenterFile Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by