フィルターのクリア

Matlab Sound timeout error

5 ビュー (過去 30 日間)
Aryan
Aryan 2023 年 11 月 28 日
コメント済み: Aryan 2023 年 12 月 4 日
I am just trying to do a simple sound code to understand how it works
load gong.mat
sound(y)
But i get the following error
Sound
Error using sound
Timeout occurred while trying to communicate to the device.
Error in
sound(y)

採用された回答

Walter Roberson
Walter Roberson 2023 年 11 月 28 日
That is the error message you would get if you were trying to use sound() with MATLAB Online, or with MATLAB Answers. The browsers are not able to send commands to access your sound hardware in the right way.
(If I understand correctly, it could be theoretically implemented with Google Chrome, but not with any other browser -- unless that facility has been ported to Microsoft's Edge since it is based on Chromium.)
  1 件のコメント
Aryan
Aryan 2023 年 12 月 4 日
Thank you so much!!! It works on chrome

サインインしてコメントする。

その他の回答 (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