SpeechToText doesn't work properly after Update #354
-
Hi, Recently I've updated from 8.0.3 to 8.6.3. After that the transcriptions endpoint didn't work any more. The spoken text wasn't recognized at all. Instead some random rubbish text came out. Any idea why this is? Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
Again, I'll need to see some sample code to get to the bottom of this. I had to re tool all the audio to make sure it is being generated at the correct frequency for all runtime platforms. Sounds like you were doing the same manually? You should be able to play the clip directly or use the The reason it forced to 44100 is a unity problem. The AudioClip sample buffer is always this length for whatever reason regardless of the The latest version of the plugin is correctly decoding and building AudioClips correctly so please take a look at the samples and adjust your implementation accordingly. |
Beta Was this translation helpful? Give feedback.
-
Even the current Recording Manager from the latest samples does not work with 16000 Hz so the Recording Manager is not the cause of the issue. I can show you code with original Recording Manager which does not work with downsampled AudioClip. |
Beta Was this translation helpful? Give feedback.
Yeah if you're handling the recording on your own then you're going to have to make sure that it's at 44100. It's just a quirk with the microphone in Unity.
I would encourage you to try out my recording manager that is used in the samples. It's probably much more reliable and handles more edge cases with cross platform support.