From 4a159c706fb4068755aa84c4dd6fa80cab59b4bd Mon Sep 17 00:00:00 2001 From: bel Date: Wed, 22 Mar 2023 21:42:08 -0600 Subject: [PATCH] readme --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..9272718 --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +# 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. +```