plotting the recorded sound while recording

23 views (last 30 days)
Is it possible to record speech from microphone and plot it continuously?
I tried to use "audiorecorder" but, it plots the results after recording. What I want to do is, for instance I want to record for 5 sec. While recording I want to see what is recorded in every sec. X-axis (time) should be between 0 and 5 at the end of the recording and the whole record must be shown on one plot.

Accepted Answer

Geoff Hayes
Geoff Hayes on 26 Nov 2014
Edited: Geoff Hayes on 26 Nov 2014
Huseyin - yes, you can do what you want using the audiorecorder and a timer function that could fire every one second and process/plot the data captured in that last one second. See How to record and analyze audio in real-time for an idea of how to proceed.
See also How to trigger the microphone to record via a GUI pushbutton for an example that provides information.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!