How to record audio with start and stop pushbuttons in gui and plot the fft

4 views (last 30 days)
I am writing a program to record an audio file with start and stop push buttons. how do I set an audiorecorder in first place? and then how to make the pushbuttons start the recording and stop the recording?
  5 Comments

Sign in to comment.

Answers (1)

Kevin Chng
Kevin Chng on 7 Sep 2018
Hi Mohanish,
Please refer to the attached m.file which consist the function of record, stop record, plot and play the audio. However, I constructed them in app designer instead of guide.
If you have any question, just let me know
  3 Comments
Kevin Chng
Kevin Chng on 11 Sep 2018
Okay, try to help you write up guide code if I have time this week. However, the concept is similar.
mohanish
mohanish on 11 Sep 2018
yes. thanks. I got the it to record an audio from microphone and plot the frequency domain. playing the recording back is remaining. i would also like to know how to plot the frequency domain simultaneously with the audio input.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!