How can I record my voice without pause?

1 回表示 (過去 30 日間)
minsoo kim
minsoo kim 2017 年 12 月 4 日
コメント済み: minsoo kim 2017 年 12 月 5 日
I made a voice control ping-pong game with matlab gui.
In the middle of the game, pressing "r" initiates recording for 1 sec.
Problem is, the game stops just for 1 sec if I press "r" which means, nothing happens during recording.
Since the title of my project is "real-time voice control ping-pong game", this problem should be solved.
Any ideas???

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 12 月 4 日
You need to use the facilities of the Audio System Toolbox. audiorecord() is not suitable for this purpose.
  5 件のコメント
minsoo kim
minsoo kim 2017 年 12 月 5 日
sry, I have one more question. How can I stop record function? I mean, I want to record just for 1 second, but I have no idea how to do this...
minsoo kim
minsoo kim 2017 年 12 月 5 日
ah nevermind. I solved the problem.

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

カテゴリ

Help Center および File ExchangeVideo games についてさらに検索

Community Treasure Hunt

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

Start Hunting!