alphacep / alphacep/vosk-unity-asr
How to properly disable audio recording
- Langage dominant
- C#
- Étoiles
- 128
- Forks
- 26
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Hi, it's not really an issue but more a question but i didn't know where to post it.
I wanted to know what is the best method to turn on and off the audio registration with vosk,
Since my program needs to switch on and off really often, like when a collider enders/exits a trigger area, I have to know the best solution.
By now i'm usin the ToggleRecording() method, but it seems like it also stops the STT process? I didn't really understand the code quite mutch, but if that's the case i don't want it to be this way.
Here's an example of what i want:
- user enters a trigger area
- vosk starts recording
- user starts speaking
- user stops speaking
- vosk calculates the result
- vosk stops recording
- user exits the trigger area
BUT that it can also work this way:
- user enters a trigger area
- vosk starts recording
- user starts speaking
- user stops speaking
- user exits the trigger area
- vosk stops recording
- vosk calculates the result
I hope i made myself clear.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.