easyeffects icon indicating copy to clipboard operation
easyeffects copied to clipboard

When Deep Noise Remover is on, the sound coming to me is distorted.

Open ismailivanov opened this issue 1 year ago • 15 comments

EasyEffects Version

7.1.8

What package are you using?

Flatpak (Flathub)

Distribution

Fedora 40

Describe the bug

When Deep Noise Remover is on, the sound coming to me is distorted. My friends' voice and the video's audio sound crackly.

Expected Behavior

It filters my voice well, but when it's on, it sometimes distorts the sound coming to me.

Debug Log

Debug Log
Paste your log here

Additional Information

No response

ismailivanov avatar Aug 24 '24 13:08 ismailivanov

While the crackling is happening, what does pw-top show, especially in the "ERR" column?

violetmage avatar Aug 24 '24 15:08 violetmage

While the crackling is happening, what does pw-top show, especially in the "ERR" column?

https://github.com/user-attachments/assets/ba68a7fe-a83e-4414-b1b3-f4296dc8ee89

image

ismailivanov avatar Aug 24 '24 16:08 ismailivanov

The pw-top image shows that your alsa_output device quantum is at 256. This number is related to the current PipeWire latency and not all systems are capable of handling low latency with heavy plugins like the deep noise remover. Try to temporarily set a higher quantum https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Guide-Latency to see if this fixes the crackling. Try power of two values like 1024 or 2048.

wwmm avatar Aug 24 '24 16:08 wwmm

The pw-top image shows that your alsa_output device quantum is at 256. This number is related to the current PipeWire latency and not all systems are capable of handling low latency with heavy plugins like the deep noise remover. Try to temporarily set a higher quantum https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Guide-Latency to see if this fixes the crackling. Try power of two values like 1024 or 2048.

I have no idea how to do what you said, I don't fully understand. can you help me.

ismailivanov avatar Aug 24 '24 16:08 ismailivanov

pw-metadata -n settings 0 clock.force-quantum 1024 i tried this but this now I have no sound.

Ok now my voice is coming.I fixed it but still have crackling

ismailivanov avatar Aug 24 '24 16:08 ismailivanov

Ok now my voice is coming.I fixed it but still have crackling

Even when forcing higher quantum values like 2048 or 4096?

wwmm avatar Aug 24 '24 16:08 wwmm

Settings done through pw-metadata are temporary. In the worst case scenario a reboot will restore your settings.

wwmm avatar Aug 24 '24 16:08 wwmm

Settings done through pw-metadata are temporary. In the worst case scenario a reboot will restore your settings.

The problem is sometimes there is no problem and there is no crackle in the sound, but when I restart again, it happens.

ismailivanov avatar Aug 24 '24 16:08 ismailivanov

Can you show a screenshot of the "PipeWire" tab in EasyEffects?

violetmage avatar Aug 26 '24 20:08 violetmage

Can you show a screenshot of the "PipeWire" tab in EasyEffects?

image

ismailivanov avatar Aug 29 '24 11:08 ismailivanov

What happens if you load other effects instead of deep noise remover, like the equalizer? Is there still crackling?

Also, note that you should only need to use one noise remover; either Deep Noise Remover or Noise Reduction, but probably not both.

edit: just double checked, apparently the flathub build of easyeffects is still compiling against libpipewire 0.3.69 for some reason

edit 2: remembering that this is probably because ubuntu 22.04 LTS is still shipping 0.3.48

violetmage avatar Aug 29 '24 16:08 violetmage

I there, I also have the issues when I want to use the Deep Noise Remover.

I only have this issue with that particular effect, everything else so far works fine.

I'm using bazzite as my OS, and Easy Effects is a Flatpack.

Easy Effects version: 7.2.1 Header Version: 0.3.69 Library Version: 0.3.69 Core Version: 1.2.7

Sampling Rate: 48000 Mz Min Quantum: 32 Max Quantum: 2048 Default Quantum: 1024

fenpaws avatar Jan 06 '25 13:01 fenpaws

It appears that the latest version (7.2.3) fixed the issue. Nothing else changed beside that.

fenpaws avatar Jan 15 '25 09:01 fenpaws

It appears that the latest version (7.2.3) fixed the issue. Nothing else changed beside that.

The changes in 7.2.3 are for future PipeWire releases. They should not be making any difference. Specially considering the code is essentially the same. I've just replaced some function calls by another that does the same thing.

wwmm avatar Jan 15 '25 14:01 wwmm

That is so strange, idk maybe some corrupt files or something?

fenpaws avatar Jan 15 '25 14:01 fenpaws