How to use recordblocking for an infinite interval?
조회 수: 2 (최근 30일)
이전 댓글 표시
I need to record an audio until I stop the recording (using a button or something), do you know how to do it?
댓글 수: 0
답변 (1개)
Geoff Hayes
2021년 10월 28일
@Marie Kate Palau I don't think you want to use recordblocking since that would prevent you from stopping the recording after an unknown period of time. Try using record instead. I'm assuming that you have a GUI to start and stop the recording?
댓글 수: 4
Walter Roberson
2021년 10월 28일
Your code is stopping recording immediately after sending out the message 'Deje de hablar' .
Consider something like
record(myRecorder);
% Graba durante 2 segundos
menu("Deje de hablar", "para de grabar");
stop(myRecorder);
참고 항목
카테고리
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!