mp3read gives error - Data compression format (Format #65534) is not supported.

1 view (last 30 days)
Hello,
I have some .wav files and .mp3 files and am trying to find the spectrogram of both the files, to find how much information gets lost from .wav to .mp3 . Since Matlab cannot read mp3 files, I downloaded mp3read extension for Matlab, However, when matlab reads the mp3 file using the mp3read command ,it gives this error..
>> [mp3signal fsmp3]=mp3read(songname_mp3); ??? Error using ==> wavread at 166 Data compression format (Format #65534) is not supported.
Error in ==> mp3read at 333 [Y,FS] = wavread(tmpfile);
Could anyone suggest what could be done ? I would not like to convert the mp3 file into wav format, because then the purpose of finding the spectrogram gets lost.

Accepted Answer

Walter Roberson
Walter Roberson on 11 Dec 2011

More Answers (0)

Community Treasure Hunt

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

Start Hunting!