Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record audio and use speech to text at the same time #17

Open
titos999 opened this issue Mar 10, 2020 · 1 comment
Open

Record audio and use speech to text at the same time #17

titos999 opened this issue Mar 10, 2020 · 1 comment

Comments

@titos999
Copy link

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.

@jinhe1997
Copy link

Same issue. Please Help. 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants