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

Shubh Sahu
Shubh Sahu 2019년 10월 7일
Could you please provide .mp3 or .wav you want to read.

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

답변 (0개)

카테고리

질문:

2019년 10월 4일

댓글:

2019년 10월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by