How can I record my voice without pause?
Afficher commentaires plus anciens
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???
Réponses (1)
Walter Roberson
le 4 Déc 2017
0 votes
You need to use the facilities of the Audio System Toolbox. audiorecord() is not suitable for this purpose.
5 commentaires
minsoo kim
le 4 Déc 2017
Walter Roberson
le 4 Déc 2017
audiorecorder() has a record() method that is not blocking. However it cannot be used for continuous voice input, as the data is not available until the end of the recording period. You cannot just keep calling the record method repeatedly because of the setup time -- that is, you would get gaps in the input.
The DSP toolbox has a continuous audio input function.
minsoo kim
le 5 Déc 2017
minsoo kim
le 5 Déc 2017
minsoo kim
le 5 Déc 2017
Catégories
En savoir plus sur 신호 분석과 시각화 dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!