alphacep / vosk-unity-asr

Automatic Speech Recognition in Unity using Vosk library
61 stars 16 forks source link

Have "File Not Found" error when vosk receive voices #5

Closed Snail921 closed 1 year ago

Snail921 commented 1 year ago

Picture As you can see, after decompression completed successfully, the editor throws when the vosk receives voices. The windows running on Japanese system but does it matter? This had never happened with old project which had inevitable crash issue for the first launch. Can you point out where the source of this issue?

nshmyrev commented 1 year ago

Ok, and what is the translation of Japanese message after Win32Exception on the screenshot?

Snail921 commented 1 year ago

It says "The designated file is not found."

nshmyrev commented 1 year ago

It tries to execute TTS espeak I think and fails. See the code. You can change it to some other TTS method.

nshmyrev commented 1 year ago

Here:

https://github.com/alphacep/vosk-unity-asr/blob/master/Assets/Scripts/VoskDialogText.cs#L73

Snail921 commented 1 year ago

Oh I see. Now I get it working perfectly. Thanks for the advise.