~geb/sprec

Speech recognition command

4348ea7 TEMP note to self!

~geb pushed to ~geb/sprec git

5 months ago

6015527 version 0.1

~geb pushed to ~geb/sprec git

5 months ago

#sprec

sprec is a simple speech recognition command that can be used for transcription or automation.

It uses the Vosk speech recognition toolkit, which is FOSS and offline.

#Install From Source

go (aka golang) and scdoc are required.

A binary of the speech recognition library and an English model (about 40MB) can be installed with:

./get-vosk.sh && sudo ./get-vosk.sh install
./get-model.sh && sudo ./get-model.sh install

sprec itself can be installed with:

./build.sh && sudo ./build.sh install

#Usage

sprec is documented in the manpage.

The sprec_type script types out speech recognition results in realtime. It uses arecord and dotool, and has a --help flag.

#Handsfree Computing

For full-on handsfree computing, see Numen.

#Contact

You can send questions or patches by composing an email to ~geb/public-inbox@lists.sr.ht.

#Support My Work 👀

Thank you!

#License

GPLv3 only, see LICENSE.

Copyright (c) 2023 John Gebbie