recordblocking dos not record anything

I have same problem as here but I have Windows 10 1904 MATLAB 2019b.
myVoice = audiorecorder;
recordblocking(myVoice, 5);
y = getaudiodata(myVoice);
play(myVoice);
Although I can see microphone on taskbar is activated during 5 seconds recording, the y array is totally zero and nothing played.

2 commentaires

Sajad Sadeghkhani
Sajad Sadeghkhani le 6 Août 2021
I upgraded MATLAB to 2021a but the problem still exists! (and OS: windows 10 21H1)
Same problem R2021b.

Connectez-vous pour commenter.

Réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by