I need a way to modulate my voice on-the-fly (to lower or raise pitch, etc, for privacy) for use in Mumble, TeamSpeak and other such programs. Is there any way to do this under Linux/Ubuntu?
I have found a couple possible programs under Windows, and if necessary I could run Mumble, TeamSpeak, etc. under VirtualBox/Wine along with a modulator, but I would far prefer to use Linux, although I have not been able to find any native programs for Linux that can do this during my quick Google search.
nice -n -8 sox --buffer 2048 -c 1 -r 48000 -t pulseaudio default -t pulseaudio null pitch -800
. The combination of a lowernice
value and the-c
(channels),-r
(samplerate) and--buffer
(the default is 8192 bytes (!), see here) does wonders. Channel count and samplerate must ideally match your source. (continues...) – Marc.2377 Dec 12 '19 at 00:42module-echo-cancel
for input, which already does noise cancelling (and adds its fair bit of latency), you might also want to disable post-processing in applications (i.e. Firefox). See here: https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting#Disable_audio_post_processing_in_certain_applications. Ah, and using a realtime-enabled kernel helps a lot too. I'm currently using 'linux-ck'. – Marc.2377 Dec 12 '19 at 00:43