wwmm / easyeffects

Limiter, compressor, convolver, equalizer and auto volume and many other plugins for PipeWire applications
GNU General Public License v3.0
6.32k stars 265 forks source link

Static sounds in headphone sounds when using microphone effects. #2774

Open Y2K350 opened 8 months ago

Y2K350 commented 8 months ago

EasyEffects Version

7.1.3

What package are you using?

Arch (easyeffects)

Distribution

Arch Linux

Describe the bug

Whenever I use both input and output effects I get a static/glitchy sound coming through my headphones. This issue goes away if I either bypass input or output, one or the other.

Pipewire -V output: Compiled with libpipewire 0.3.85 Linked with libpipewire 0.3.85

This installation of Arch was built within the last 7 days using archinstall. Should be fairly recent.

Expected Behavior

No response

Debug Log

No response

Additional Information

No response

wwmm commented 8 months ago

Whenever I use both input and output effects I get a static/glitchy sound coming through my headphones. This installation of Arch was built within the last 7 days using archinstall. Should be fairly recent.

I also use Arch Linux and this does not happen here. So one possibility is that when both pipelines are active PipeWire is switching to a latency value that your hardware/driver is not handling well. Run pw-top and take a print of it before and after the noise happens so we can see what is happening to the quantum (latency) size and sampling rate.

Scattered-Faith commented 5 months ago

@wwmm I notice the same, however, pw-top doesn't report any changes to any quantum sizes, and the sampling state stays steady.

wwmm commented 5 months ago

I notice the same, however, pw-top doesn't report any changes to any quantum sizes, and the sampling state stays steady.

Then the issue is probably outside of EasyEffects. When one of our plugins causes crackling or similar noises a change in latency or sampling rate is always the trigger. Without them I do not see how EE could be the one causing the noise. The additional pressure it puts on the audio server and soundcard drivers is probably revealing an issue somewhere in the audio stack.