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 件のコメント

Sajad Sadeghkhani
Sajad Sadeghkhani 2021 年 8 月 6 日
I upgraded MATLAB to 2021a but the problem still exists! (and OS: windows 10 21H1)
Faidon Cornelis Kourounakis
Faidon Cornelis Kourounakis 2021 年 12 月 29 日
Same problem R2021b.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeWorkspace Variables and MAT Files についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by