I want to implement Speech-to-text functionality using Azure on a Unity project that will be deployed to Android. I have tried this example: https://docs.microsoft.com/en-us/azure/cognitive-services/speech/getstarted/getstartedcsharpdesktop But Im not sure how Im supposed to implement this in my Unity project. Can anyone point me at the right direction?
1 Answers
1
votes
Based on my understanding, I think you are developing an Android App using Unity. So considering to the compatibility of client library for Android, I suggested that the best way is follow the other tutorial for REST API in C# to implement your needs in your Unity project, and first you need to implement a feature to record a speech audio file, then pass it as the request body of REST API.
For real-time streaming, please refer to Speech Websocket Protocol.
Hope it helps. Any concern, please feel free to let me know.