For Ubuntu 20.04 only (seems to be fixed in 21.04)
For anyone, that uses the Microphone of their Headset with Ubuntu and complain about bad sound and speech quality:
There is a new update in Mai 2021:
With this commit, HFP can be enabled which supports wideband audio-speech via bluetooth.
I was able to improve my microphone quality alot and my colleagues actually can understand me now and I dont sound like talking with an old phone.
Tested on Ubuntu 20.04 with Sony 1000-mx3
For this to work you need to clone the latest pulseaudio master from their git repository by:
git clone https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
Compile and install via
sudo ninja -C build install
Taken from the docs of pulseaudio
You might have to install source-dependencies for the compilation to work. For this goto open Software-Settings with
software-properties-gtk and enable source. Then install the build-dependencies with
sudo apt-get build-dep pulseaudio
Restart. Then, when you open your Sound-Settings you are able to choose the HFP-Profile, which enables much better sound-quality for VOIP. For best music-quality, still better switch to A2DP again, however, this one does not support microphone usage.