alphacep / vosk-api

Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Apache License 2.0
7.37k stars 1.04k forks source link

vosk-transcriber and microphone #1475

Open s0i37 opened 6 months ago

s0i37 commented 6 months ago

Hello. How can I use vosk-transcriber standalone tool with direct microphone grabbing? I try to use:

vosk-transcriber --lang ru --input <(arecord -D pulse -f S16_LE)

And it doesn't work(

Thank you!

nshmyrev commented 6 months ago

vosk-transcriber is not supposed to support microphone inputs. There are external tools to dictate, for example, https://github.com/ideasman42/nerd-dictation