Read/Write audio files in Matlab

2 Ansichten (letzte 30 Tage)
Kevin
Kevin am 9 Feb. 2012
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

Antworten (2)

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

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

Kategorien

Mehr zu Audio I/O and Waveform Generation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by