real-time recording(audio) filtering
6 ビュー (過去 30 日間)
古いコメントを表示
Hi
I want to be able to record my voice and replay a filtered version. I found an old example where they used wavrecord and wavplay, which is no linger used in MatLab. Right now I use audiorecorder to record and use the method getaudiodata to receiev the data.
rec = audiorecorder;
disp('Start')
recordblocking(rec, 5);
disp('End');
data = getaudiodata(rec);
plot(data) %plot freq graph
Do I need convert to wav and the filter?
0 件のコメント
回答 (1 件)
Brian Hannan
2017 年 9 月 26 日
You can still play and filter the getaudiodata output. Use sound to play the recording. More info on this topic here.
There doesn't seem to be any need to do any kind of conversion. The getaudiodata output should have all the information you need for simple playback and filtering operations.
You may also be interested in using audioDeviceReader and audioDeviceWriter if you have access to the Audio System Toolbox.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Audio I/O and Waveform Generation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!