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 Kommentar

Shubh Sahu
Shubh Sahu am 7 Okt. 2019
Could you please provide .mp3 or .wav you want to read.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Gefragt:

am 4 Okt. 2019

Kommentiert:

am 7 Okt. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by