Audioread error line 135: The requested attribute was not found

Hi,
I try to read a mp3 file using audioread function:
audioread('audiorecordtest.mp3')
but I get this error:
Error using audioread (line 135)
Unexpected exception in plug-in: 'Unable to determine the sample rate of the audio stream Reason: The requested attribute was not found.'
How to solve this error?

2 commentaires

could be aa problem with the file . or if you are using linux then you could be having a problem with the gstreamer plugin .
Yes. You are right. Is a problem with my file.
I have tried with another file and it work.
Thanks

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by