How to pass my voice input from android mobile and process in MATLAB?
1 view (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
Walter Roberson
on 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.)
See Also
Categories
Find more on Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!