generating audio file through m.script

조회 수: 11 (최근 30일)
Deepa
Deepa 2018년 8월 27일
댓글: Deepa 2018년 8월 28일
hi, i need an audiofile to generate any speech for particular frequency and for particular time. can u suggest me how to generate audiofile using m-file.... ?
Thanks Deepa.R

채택된 답변

madhan ravi
madhan ravi 2018년 8월 27일
편집: madhan ravi 2018년 8월 27일
Try the below code:
recorder = audiorecorder;
disp('Start speaking.')
recorder.record(100); %100 refers to the seconds
while recorder.isrecording()
pause(0.1);
plot(recorder.getaudiodata());
drawnow();
end
disp('End of Recording.');
  댓글 수: 2
Deepa
Deepa 2018년 8월 27일
what is the variable here to store the captured speech ?
Deepa
Deepa 2018년 8월 28일
how to store the speech here ?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Code Generation and Deployment에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by