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

조회 수: 4 (최근 30일)
mohanish
mohanish 2018년 8월 30일
댓글: mohanish 2018년 9월 11일
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
mohanish
mohanish 2018년 9월 5일
Don't I have to first set an audiorecorder?
mohanish
mohanish 2018년 9월 6일
here is the code and fig file that i am working on

댓글을 달려면 로그인하십시오.

답변 (1개)

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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by