alphacep / alphacep/vosk-unity-asr

How to properly disable audio recording

Aberta
#11 5 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
C#
Estrelas
128
Forks
26
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.