real-time recording(audio) filtering
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Brian Hannan
il 26 Set 2017
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 Commenti
Vedere anche
Categorie
Scopri di più su Audio I/O and Waveform Generation in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!