フィルターのクリア

how can i use audioplayer command in my GUI to play an audio?

2 ビュー (過去 30 日間)
rishabh gupta
rishabh gupta 2018 年 1 月 14 日
コメント済み: Muhammad Anis 2020 年 1 月 20 日
i want that when i press the play button(that i created in my GUI), a song plays. it is working fine with 'sound' command,but i want to use audioplayer command. please help.
  1 件のコメント
Muhammad Anis
Muhammad Anis 2020 年 1 月 20 日
can you send me this programme?
thanks

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

回答 (1 件)

Jan
Jan 2018 年 1 月 14 日
編集済み: Jan 2018 年 1 月 14 日
Replace
sound(Y, FS, BITS)
by
S = audioplayer(Y, FS, BITS);
S.play();

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by