How to simply record a string of sound from the computer microphone?
11 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
There is an example of continuous fft, but what I want is simply record a string of sound wave from the microphone for future analysis, say one second or 2 seconds of sound.
Thanks.
0 Commenti
Risposta accettata
Geoff Hayes
il 11 Gen 2022
recObj = audiorecorder; % create the object
recordblocking(recObj,5); % record for five seconds
play(recObj); % playback the recording
y = getaudiodata(recObj); % get the audio data
0 Commenti
Più risposte (1)
Vedere anche
Categorie
Scopri di più su Audio and Video Data 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!