audioread data all 0

31 views (last 30 days)
Matthew Philpotts
Matthew Philpotts on 4 Oct 2019
Commented: Shubh Sahu on 7 Oct 2019
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 Comment
Shubh Sahu
Shubh Sahu on 7 Oct 2019
Could you please provide .mp3 or .wav you want to read.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!