Problems Plotting Mp3 Audio Data Using The Mp3 Read Function

조회 수: 2 (최근 30일)
Darryl
Darryl 2013년 10월 21일
댓글: Darryl 2013년 10월 21일
I am using MatLab 2012a for the Mac. In order to evaluate my mp3 audio data I downloaded the mp3 read and write from the file exchange. I can read the data in, but when I plot the variable "Y", the computer completely grinds to a holt and then becomes extremely sluggish. So much that you can't do anything with the data except close the figure. I've made sure all the appropriate mp3 encoders are within the directory, etc. I can't seem to find anyone else having the same problem. I have 8gb of ram and a dual core processor.
  댓글 수: 2
Walter Roberson
Walter Roberson 2013년 10월 21일
After you read the data in, what does size() of the audio data show? And how are you plotting it?
Darryl
Darryl 2013년 10월 21일
You have just made me realise that the audio mp3 I was trying to plot was 20 mins, which in size is: 53285760.
[y, sr] = mp3read('Mp3/#02 Test/Cycling Indoors.mp3');
plot(y)
I've just this minute read a 3min mp3 using the same method as above, and its better, but still really sluggish. For example, zooming in, toggling buttons, etc.
I'm going to be working a lot with mp3 so need this to be as snappy as a .wav as I have no problem with them.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by