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

4 vues (au cours des 30 derniers jours)
mohanish
mohanish le 30 Août 2018
Commenté : mohanish le 11 Sep 2018
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 commentaires
mohanish
mohanish le 5 Sep 2018
Don't I have to first set an audiorecorder?
mohanish
mohanish le 6 Sep 2018
here is the code and fig file that i am working on

Connectez-vous pour commenter.

Réponses (1)

Kevin Chng
Kevin Chng le 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 commentaires
Kevin Chng
Kevin Chng le 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 le 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.

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by