How can I record my voice without pause?

1 次查看(过去 30 天)
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...

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Video games 的更多信息

Community Treasure Hunt

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

Start Hunting!