Score:1

Microphone noise cancellation

in flag

I managed to get the microphone noise cancellation to work (in 20.04) a few months ago by adding the following to the /etc/pulse/default.pa

load-module module-echo-cancel source_name=noechosource sink_name=noechosink
set-default-source noechosource
set-default-sink noechosink

It added a second microphone option to the Ubuntu sound settings and worked great. But one day the second option had disappeared from my sound settings and I did not find a way to get it back. My /etc/pulse/default.pa had the same config in place.

I tried sudo pulseaudio -k to restart pulseaudio, but it gave me an error message about daemon not running. But ps aux | grep pulse shows that something was running.

Then I got frustrated and replaced pulseaudio with pipewire and upgraded to 22.04. In the beginning it gave terrible noice to my microphone but after adding noice and echo cancellation filters, it got better, but not as good as with pulseaudio (when it was working).

Does someone have ideas what to do? Some specific pipewire configs to use? Or how to fix the pulseaudio solution?

Score:1
in flag

Managed to get the pulseaudio solution to work again. Installed pulseaudio and removed pipewire according to https://ubuntuhandbook.org/index.php/2022/04/pipewire-replace-pulseaudio-ubuntu-2204/ (The same guide I used for installing pipewire)

Then added back the:

load-module module-echo-cancel source_name=noechosource sink_name=noechosink
set-default-source noechosource
set-default-sink noechosink

Then reloading the user version of the pulseaudio:

systemctl --user daemon-reload
systemctl --user reenable pulseaudio.service
systemctl --user reenable pulseaudio.socket
systemctl --user stop pulseaudio.service
systemctl --user stop pulseaudio.socket
systemctl --user start pulseaudio.service
systemctl --user start pulseaudio.socket

Some of those may be unnecessary, but at least it's working.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.