Trying to Play a longer wav file in a program

조회 수: 3 (최근 30일)
Naweed Niaz
Naweed Niaz 2021년 4월 16일
댓글: Jonas 2021년 4월 18일
Hi, Ive been trying to get to play Enter Sandman.wav in matlab once a certain criteria is met. I tried running
[y, fs] = audioread('Enter Sandman.wav');
soundsc(y, fs);
y returns as 1, and fs as 44100. The song is 3 minutes long, and when I play it, I only hear clicks from the speakers. Please help
  댓글 수: 1
Jonas
Jonas 2021년 4월 18일
could you please supply the file
did you already plot the audio data to see whats inside?

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by