Effacer les filtres
Effacer les filtres

Read/Write audio files in Matlab

1 vue (au cours des 30 derniers jours)
Kevin
Kevin le 9 Fév 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

Réponses (2)

Grzegorz Knor
Grzegorz Knor le 9 Fév 2012
I propose to use any MP3 to WAV converter, and then wavread & wavwrite functions.

Jan
Jan le 9 Fév 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?.

Catégories

En savoir plus sur Audio I/O and Waveform Generation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by