Notice: I took what I learnt from Hiccup to bring noise control to Numen. I don't plan to work on Hiccup further.
Hiccup is noise-based voice control for realtime computer interaction, such as playing games. It's focused on Linux.
There are videos here.
As it is, your mileage may vary greatly depending on your setup. I use a Blue Yeti with the gain dial at the minimum.
dotool requires permission to
/dev/uinput to create the virtual input
devices, and a udev rule grants this to users in group input.
You could try:
echo type hello | dotool
and if need be, you can run:
sudo groupadd -f input sudo usermod -a -G input $USER
and re-login and trigger the udev rule or just reboot.
The thresholds need to be about right for your setup, so first check:
arecord -q -D sysdefault:CARD=Microphone -f S16_LE -c 1 -r 16000 | hiccup --calibrate
hiccup program simply takes in audio and prints the names of a few
sounds while they're made. You could try running this, and going "ssshhhh
oooo aaaah" into your microphone:
arecord -q -D sysdefault:CARD=Microphone -f S16_LE -c 1 -r 16000 | hiccup
You can also send questions, thoughts or patches by composing an email to ~email@example.com.
AGPLv3 only, see LICENSE.
Copyright (c) 2023 John Gebbie