wav2vec2-live icon indicating copy to clipboard operation
wav2vec2-live copied to clipboard

break in little pause

Open Siyamfahad opened this issue 2 years ago • 2 comments

i am using the default code, but it looks like taking command very fast if I take a little pause it breaks the line and and prints it the next line for example if i speak "how are you" its taking "how" then "are " in the next line,,,, i can i reduce sensetivity of taking command??

Siyamfahad avatar May 12 '22 15:05 Siyamfahad

You can change the threshold here: https://github.com/oliverguhr/wav2vec2-live/blob/a22f099010820776cf179a3d142411243b392d94/live_asr.py#L39

the value of vad is

an integer between 0 and 3. 0 is the least aggressive about filtering out non-speech, 3 is the most aggressive. (You can also set the mode when you create the VAD, e.g. vad = webrtcvad.Vad(3)):

refer to here: https://github.com/wiseman/py-webrtcvad#how-to-use-it

voidful avatar Jul 15 '22 09:07 voidful

Thanks @voidful! Did that solve your problem @Siyamfahad?

oliverguhr avatar Jul 22 '22 11:07 oliverguhr