How can I record my voice without pause?

1 view (last 30 days)
minsoo kim
minsoo kim on 4 Dec 2017
Commented: minsoo kim on 5 Dec 2017
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???

Answers (1)

Walter Roberson
Walter Roberson on 4 Dec 2017
You need to use the facilities of the Audio System Toolbox. audiorecord() is not suitable for this purpose.
  5 Comments
minsoo kim
minsoo kim on 5 Dec 2017
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 on 5 Dec 2017
ah nevermind. I solved the problem.

Sign in to comment.

Categories

Find more on Video games in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!