speech-and-text-unity-ios-android icon indicating copy to clipboard operation
speech-and-text-unity-ios-android copied to clipboard

Record audio and use speech to text at the same time

Open titos999 opened this issue 5 years ago • 1 comments

Greetings and thank you for this project. Is there any possible way to get the recorded speech in an AudioClip? I would like to use the speech to text functionality but also be able to store the recorded result on the device as a .wav file.

I have tried the steps from the following link https://answers.unity.com/questions/354401/save-audio-to-a-file.html in order to record and save my voice input to my mobile and it is working correctly.

But if I use Microphone.Start and then call sampleSpeechToText.StartRecording() I receive: Network error and speech to text is not working at all. I suspect it is because of the microphone access but I am stuck.

titos999 avatar Mar 10 '20 14:03 titos999

Same issue. Please Help. :pray:

jinhe1997 avatar Dec 08 '20 11:12 jinhe1997