How to record audio for infinite time?
조회 수: 6 (최근 30일)
이전 댓글 표시
I am trying to build an audioplayer application. In order to make the application user friendly recording must be controlled by user. But recordblocking() always takes a certain time in seconds. How can I remove this time limit?
댓글 수: 0
답변 (2개)
jibrahim
2022년 7월 12일
Hi Harsha,
deviceReader = audioDeviceReader;
while 1 % for example
% Record a frame
acquiredAudio = deviceReader();
end
댓글 수: 0
Adithi
2022년 7월 14일
Hello,
I understand that you are trying to figure out how to record audio for infinite time using recordblocking(). But the recordblocking takes 2 parameter recorderObj and the length of the audio. Since the purpose of this function is to record the audio and hold control until recording completes, we should look for other options like using record function.
Refer to the below documentation on for more information on record function.
Hope this helps!.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Audio and Video Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!