I am trying to read in some .mp3 and .wav files using audioread
[y,fs]=audioread('Free.mp3');
sound(y,fs);
The file is able to play with sound, but all the data in 'y' is 0. I get the sampling frequency fs.
The handel.mat file I turned into a .wav and that works fine, I get the data in y. Why will my other audio files not load in, but is able to play?

1 commentaire

Shubh Sahu
Shubh Sahu le 7 Oct 2019
Could you please provide .mp3 or .wav you want to read.

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