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

4 visualizaciones (últimos 30 días)
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 comentarios
mohanish
mohanish el 5 de Sept. de 2018
Don't I have to first set an audiorecorder?
mohanish
mohanish el 6 de Sept. de 2018
here is the code and fig file that i am working on

Iniciar sesión para comentar.

Respuestas (1)

Kevin Chng
Kevin Chng el 7 de Sept. de 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 comentarios
Kevin Chng
Kevin Chng el 11 de Sept. de 2018
Okay, try to help you write up guide code if I have time this week. However, the concept is similar.
mohanish
mohanish el 11 de Sept. de 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.

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by