Go to file
Bel LaPointe 1dd631872c from env to flags 2023-11-28 22:31:16 -07:00
rust-whisper.d from env to flags 2023-11-28 22:31:16 -07:00
snowboy-2022 yaml good 2022-11-14 12:51:33 -07:00
.gitignore move to /rust-whisper.d with a download_models.sh 2023-03-31 16:41:46 -06:00
.gitmodules submodule for gitea-whisper-rs 2023-11-26 17:04:16 -07: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}'