Go to file
Bel LaPointe 4e5212a9b7 hotwords uses installed rust-whisper 2023-03-31 11:03:57 -06:00
snowboy-2022 yaml good 2022-11-14 12:51:33 -07:00
whisper-2023 high runtime big model is super nice 2023-03-29 23:09:21 -06:00
whisper-cpp-2023 hotwords uses installed rust-whisper 2023-03-31 11:03:57 -06:00
.gitignore oooo closer 2023-03-31 09:46:34 -06:00
README.md readme 2023-03-22 21:43:35 -06:00

README.md

stt

listen on linux

https://wiki.archlinux.org/title/PulseAudio/Examples

10. ALSA monitor source

To be able to record from a monitor source (a.k.a. "What-U-Hear", "Stereo Mix"), use pactl list to find out the name of the source in PulseAudio (e.g. alsa_output.pci-0000_00_1b.0.analog-stereo.monitor). Then add lines like the following to /etc/asound.conf or ~/.asoundrc:

pcm.pulse_monitor {
  type pulse
  device alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
}

ctl.pulse_monitor {
  type pulse
  device alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
}

Now you can select pulse_monitor as a recording source.

Alternatively, you can use pavucontrol to do this: make sure you have set up the display to "All input devices", then select "Monitor of [your sound card]" as the recording source.
$ pactl list | grep -A 50 RUNNING | grep -E 'RUNNING|Name:|Monitor Source:' | grep Monitor.Source | head -n 1 | awk '{print $NF}'