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 comentarios

Sajad Sadeghkhani
Sajad Sadeghkhani el 6 de Ag. de 2021
I upgraded MATLAB to 2021a but the problem still exists! (and OS: windows 10 21H1)
Same problem R2021b.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Preguntada:

el 3 de Ag. de 2021

Comentada:

el 29 de Dic. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by