jack2 icon indicating copy to clipboard operation
jack2 copied to clipboard

Multiplier problem -> clipping

Open andiejs opened this issue 4 years ago • 10 comments

Jack is being way too loud and clipping. Seems like a bad multiplier somewhere. Other audio is fine. I'm seeing others with the same issue but no solutions other than pipewire. Wondering if JACK has addressed this. Thanks!

Other people with same problem: https://askubuntu.com/questions/1373510/jack-sound-distortion-clipping https://github.com/tidalcycles/Tidal/issues/856 https://askubuntu.com/questions/1367181/when-using-jackd-audio-and-internal-soundcard-sound-is-way-too-loud-and-gets-cl

jack2 installed from package manager. jackdmp version 1.9.12 tmpdir /dev/shm protocol 8 Ubuntu 20.04.3 LTS New Dell XPS 13

andiejs avatar Nov 29 '21 14:11 andiejs

very much doubt this is a jack problem, as people have been using it for many years without complaints. is there something in common between those that have been affected by such an issue?

falkTX avatar Nov 29 '21 20:11 falkTX

It works without problem on my other machine too. A couple of these seem to be Dell XPS machines, with Linux. Maybe all are. Sound card / driver issues perhaps. Perhaps not Jack's "fault" but I was just wondering if you guys had made a workaround for whatever this issue is. Other audio works, pipewire works, so it's somewhat jack specific whatever it is.

andiejs avatar Nov 29 '21 20:11 andiejs

All three of those were posted in the last two months. The one talking about pipewire is from a user who also claimed to be "new to linux audio servers". Absolutely zero context as to what their setups are .. not even so much as a log file

h1z1 avatar Dec 02 '21 11:12 h1z1

I am experiencing a similar issue on a Lenovo Yoga 15ITL5 device with a Tiger Lake cpu and sof-firmware. When trying to play audio through Jack from, for example qsynth or Carla, the audio played becomes extremely loud and distorted (basically just like extremely loud static).

I'm using Void Linux with pulseaudio and I am starting Jack from qjackctl and the issue occurs both with jackdbus and jackd. When playing audio through the pulseaudio jack sink, the same clipping issue occurs if the volume is to loud. This issue does not occur with just plulseaudio or pipewire.

If you need any more information feel free to ask, hopefully this helps a bit.

oreo639 avatar Jan 23 '22 02:01 oreo639

you can start by stating which jack version you use. jack itself will not limit or hard clip the output.

falkTX avatar Jan 23 '22 10:01 falkTX

$ jackd --version
jackdmp version 1.9.19 tmpdir /dev/shm protocol 9

I can try jack 1.9.20 as well.

oreo639 avatar Jan 23 '22 10:01 oreo639

Jack 1.9.20 works perfectly. Thanks for pointing that out and thanks for your work on jack.

oreo639 avatar Jan 23 '22 10:01 oreo639

Thank you, that's helpful. Is there a PPA for 1.9.20? Downloads page says to use apt, but apt doesn't have the latest (yes I updated).

andiejs avatar Jan 23 '22 19:01 andiejs

I would say ask your distribution, at least UbuntuStudio has backports.

The github actions have autobuilds for Ubuntu 20.04, but only 20.04 and only 64bit (so no libjack:i386)

falkTX avatar Jan 23 '22 23:01 falkTX

Ended up having to compile from source, but it worked. Thanks very much!

andiejs avatar Jan 24 '22 20:01 andiejs