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

5 次查看(过去 30 天)
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-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