How to simply record a string of sound from the computer microphone?
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
John
am 11 Jan. 2022
Beantwortet: Star Strider
am 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 Kommentare
Akzeptierte Antwort
Geoff Hayes
am 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 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Audio and Video Data finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!