필터 지우기
필터 지우기

record speech and process during recording

조회 수: 3 (최근 30일)
Vic Lee
Vic Lee 2015년 10월 8일
답변: Dinesh Iyer 2015년 10월 9일
I am new with Matlab. I want to record speech and process the recorded data while recording. I need to process for every 10ms (can have a little delay, say process speech for every 50ms). The processing continues and accumulates while recording.
I saw there is some information about using audiorecorder, and use callback: TimerFcn. I tried this method (following the question: "plotting the recorded sound while recording" http://www.mathworks.com/matlabcentral/answers/164435-plotting-the-recorded-sound-while-recording)
I got error: Cannot retrieve audio data while recording is in progress. Could you please help me with this problem? Thanks, Vic

답변 (1개)

Dinesh Iyer
Dinesh Iyer 2015년 10월 9일
Hi Vic,
For this workflow, you need to use the dsp.AudioPlayer/dsp.AudioRecorder system objects and not the audioplayer/audiorecorder. The system objects also allow you greater control over latency.
Dinesh

카테고리

Help CenterFile Exchange에서 Audio Processing Algorithm Design에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by