How to play multiple sound simultaneously in App Designer
3 ビュー (過去 30 日間)
古いコメントを表示
Hi
I have 2 aduio files (beep.wav and the following tone:
t=0:1/8000:1-1/10000;
tone = sin(2*pi*1000*t);
Fs = 30000;
playertone = audioplayer(tone, Fs);
When I press a specific button for each sound to play them, the apps plays the sound in a order that I pressed the button rather than at the same time. Is there any way to play the sounds at the same time by pressing 2 separate push buttons? Some suggested to use Mean to play 2 sounds. How? Any help is appreciated.
0 件のコメント
回答 (1 件)
Sarvesh Kale
2023 年 4 月 20 日
Hi Mo,
You might find the following Matlab answer useful
the solution suggested is to average both the signals sample by sample
I hope this helps
Thank you
Sarvesh Kale
参考
カテゴリ
Help Center および File Exchange で Audio and Video Data についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!