Show HN: Push-to-Talk for Pulseaudio
gitlab.com
gitlab.com
On a related note, I started using Nvidia's RTX Voice a few weeks back; I've never found anything better to remove background noise (and the noise of my mechanical keyboard). That includes some very expensive hardware solutions. It's incredible.
https://www.nvidia.com/en-us/geforce/guides/nvidia-rtx-voice...
http://www.penguinproducer.com/Blog/2012/01/ladspa-noise-rem...
1. figure out the keycode for key you want to use. for me this was Scroll_Lock, so it looked like:
keycode 78 (keysym 0xff14, Scroll_Lock)
2. Add the following to the i3 config: xset -r 78 # no repeat for scroll-lock
pulseaudio-ctl mute-input yes # mute at startup
bindsym Scroll_Lock exec pulseaudio-ctl mute-input no
bindsym --release Scroll_Lock exec pulseaudio-ctl mute-input yesI discovered an interesting feature around muting one day as well. People used to conduct calls at their desk in the open office as there was nowhere else to go. It was awful, but worse was if I was in the same call as someone near me as I'd hear them both in my earpiece and across the room. One day it was my boss, sitting right next to me. I noticed that each caller had a mute icon next to them so I pressed his and, lo! It worked. I could no longer hear him in my earpiece. But neither could anyone else. Turns out you could remotely activate any other caller's mute button.
As someone who changes sound cards a lot, I like the global solution..
But I had to configure the shortcut (Setup is i3 + pulseaudio + sxhkd):
/*sxhkd/.config/sxhkd/sxhkdrc (lines 19-20)*/
@XF86Audio{RaiseVolume,LowerVolume,Mute,MicMute}
pulseaudio-ctl {up,down,mute,mute-input}Very useful for remote work:
- you can type on mechanical keyboards during calls without annoying your co-workers
- if you move away from your computer for a while, the microphone will be muted, so you avoid background noise and embarrassing situations
- if you un-mute the microphone without touching the trigger key, it will remain un-muted. In case you want to have longer conversations. Touching the trigger key will mute it again
My Thinkpad also has microphone mute button with a LED, so I already have this.
It's pretty simple to add notifications, just change this script to invoke a wrapper script that uses "notify-send" then runs "pulseaudio-ctl":
notify-send "Muted: $1"
pulseaudio-ctl mute-input "$1"
https://gitlab.com/somini/inpulse-to-talk/-/blob/master/inpu...Edit: this is the headset https://www.astrogaming.com/en-us/products/headsets/a10-gen-...
Also, this is not an endorsement, I would actually not recommend this headset.