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

1 visualizzazione (ultimi 30 giorni)
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?

Risposte (1)

Walter Roberson
Walter Roberson il 26 Gen 2018
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 Commenti
Jin Sheng Ooi
Jin Sheng Ooi il 31 Gen 2018
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.

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by