How to pass my voice input from android mobile and process in MATLAB?

조회 수: 1 (최근 30일)
Jin Sheng Ooi
Jin Sheng Ooi 2018년 1월 26일
댓글: Jin Sheng Ooi 2018년 1월 31일
I have written MATLAB code for voice signal processing. So now, I am gonna to take my voice input from my android mobile app and pass to MATLAB to process. Anyone can guide me on this? Does this involved in MATLAB production server?

답변 (1개)

Walter Roberson
Walter Roberson 2018년 1월 26일
Embed your MATLAB code inside a Simulink model that uses the Android https://www.mathworks.com/help/supportpkg/android/ref/audiocapture.html Audio Capture block. Note that during simulation (when model is not deployed to Android) the input will be all 0.
Alternately, write a Simulink model that uses the Android Audio Capture block together with an Android https://www.mathworks.com/help/supportpkg/android/ref/udpsend.html UDP Send block. Then on the MATLAB side, use https://www.mathworks.com/help/instrument/udpreceive.html UDP Receive. (Note: if you do not have Instrument Control toolbox, look in the File Exchange for the tcpudpip contribution.)
  댓글 수: 2
Jin Sheng Ooi
Jin Sheng Ooi 2018년 1월 28일
thx sir for this help. I will try on it very soon
Jin Sheng Ooi
Jin Sheng Ooi 2018년 1월 31일
Hi sir, i have tried on the audio capture simulink. How could I change the interface of the android? As now I want to have a login page before getting the user voice input. Hope to get more info from you.

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

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by