Trying to Play a longer wav file in a program

4 ビュー (過去 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 Center および File ExchangeAudio 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