How to simply record a string of sound from the computer microphone?
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
John
le 11 Jan 2022
Réponse apportée : Star Strider
le 11 Jan 2022
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 commentaires
Réponse acceptée
Geoff Hayes
le 11 Jan 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 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Audio and Video Data dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!