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

1 vue (au cours des 30 derniers jours)
Jin Sheng Ooi
Jin Sheng Ooi le 26 Jan 2018
Commenté : Jin Sheng Ooi le 31 Jan 2018
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?

Réponses (1)

Walter Roberson
Walter Roberson le 26 Jan 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 commentaires
Jin Sheng Ooi
Jin Sheng Ooi le 28 Jan 2018
thx sir for this help. I will try on it very soon
Jin Sheng Ooi
Jin Sheng Ooi le 31 Jan 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by