generating audio file through m.script

13 ビュー (過去 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 Center および File ExchangeCode Generation and Deployment についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by