regression: distored audio
- PipeWire version (
pipewire --version
): 0.3.65-3 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Ubuntu 23.04 - Desktop Environment: XFCE
- Kernel version (
uname -r
): 6.2.0-27-generic
Description of Problem:
I originally opened this as a bug against nDAX: https://github.com/kc2g-flex-tools/nDAX/issues/13
nDAX is an application that streams audio to and from a FlexRadio ham radio.
But it turns out to be an issue with pipewire. Uninstalling pipewire and going back to pulseaudio solves this issue for me. This is a regression from pulseaudio.
What I'm seeing: Frequently after TX (to a the ndax sink), the RX audio (ndax source) will be distorted, as shown in the attached screenshot. The top is audio provided by nDAX on a host running Ubuntu 23.04. The bottom is WSJT-X running on windows, attached to the same slice receiving the distorted audio in Linux, but the windows DAX audio, where I don't see the issue. Changing bands and immediately changing back will sometimes correct the audio until I transmit a couple of times again... I changed bands/changed back in the 17:38:15 time slot, which is why the top of the waterfall looks normal.
How Reproducible:
It seems random, tuned with a realtime profile seemed to help a bit, but really the key was uninstalling this and just going back to pulseaudio.
Steps to Reproduce:
- run nDAX with a connection to a flex radio (you get a source and a sink)
- wait, it's sometimes goes bad soon after transmitting (ie sending audio out a sink)
Actual Results:
Source audio is distorted.
Expected Results:
Fidelity.