wwmm / easyeffects

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

Left output is quieter than the right one #1037

Closed nhandt64 closed 3 years ago

nhandt64 commented 3 years ago

I started a new session of work and fire up my favorite song but easyeffects generate the left output noticeable quieter than the right output. I tried to restart pipewire (and related services/sockets like pipewire-pulse, pipewire-media-session - as user) but it still happens the same. All of preset and irs files are untouched.

Another thing is if I turn off the program in Players tab, the sound is still normal (in flat). This is clearly easyeffects' fault.

My distro of use is Arch Linux, uses KDE Plasma as the Desktop Environment. The headphones and speakers sound the same issue.

Here's the output of G_MESSAGES_DEBUG=easyeffects easyeffects, I saw nothing goes wrong except some GTK symbol is unable to be loaded:

(process:3817): easyeffects-DEBUG: 23:03:42.669: main: locale directory: /usr/share/locale
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.676: presets_manager: system input presets directory: "/etc/easyeffects/input"; 
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.676: presets_manager: system input presets directory: "/etc/xdg/easyeffects/input"; 
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.676: presets_manager: system input presets directory: "/home/wello6143/.config/kdedefaults/easyeffects/input"; 
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.676: presets_manager: system output presets directory: "/etc/easyeffects/output"; 
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.676: presets_manager: system output presets directory: "/etc/xdg/easyeffects/output"; 
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.676: presets_manager: system output presets directory: "/home/wello6143/.config/kdedefaults/easyeffects/output"; 
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.676: presets_manager: user presets directory already exists: /home/wello6143/.config/easyeffects/
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.676: presets_manager: user presets directory already exists: /home/wello6143/.config/easyeffects/input
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.676: presets_manager: user presets directory already exists: /home/wello6143/.config/easyeffects/output
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.676: presets_manager: user presets directory already exists: /home/wello6143/.config/easyeffects/autoload/input
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.676: presets_manager: user presets directory already exists: /home/wello6143/.config/easyeffects/autoload/output

(easyeffects:3817): Gtk-WARNING **: 23:03:42.678: Unknown key gtk-button-images in /home/wello6143/.config/gtk-4.0/settings.ini

(easyeffects:3817): Gtk-WARNING **: 23:03:42.678: Unknown key gtk-menu-images in /home/wello6143/.config/gtk-4.0/settings.ini

(easyeffects:3817): Gtk-WARNING **: 23:03:42.678: Unknown key gtk-toolbar-style in /home/wello6143/.config/gtk-4.0/settings.ini
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.689: application: easyeffects version: 6.0.3
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.693: pipe_manager: compiled with pipewire: 0.3.31
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.693: pipe_manager: linked to pipewire: 0.3.31
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.699: pipe_manager: core version: 0.3.31
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.699: pipe_manager: core name: pipewire-0
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.699: pipe_manager: found metadata: settings
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.699: pipe_manager: found metadata: default
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.699: pipe_manager: found metadata: route-settings
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.700: pipe_manager: Audio/Sink 44 alsa_output.pci-0000_00_1f.3.analog-stereo was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.700: pipe_manager: Audio/Source 45 alsa_input.pci-0000_00_1f.3.analog-stereo was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.700: pipe_manager: Stream/Output/Audio 341 Firefox was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.700: pipe_manager: Firefox port 342 is connected to alsa_output.pci-0000_00_1f.3.analog-stereo port 46
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.700: pipe_manager: Firefox port 62 is connected to alsa_output.pci-0000_00_1f.3.analog-stereo port 48
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.700: pipe_manager: Audio/Sink 343 easyeffects_sink was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.700: pipe_manager: Audio/Source/Virtual 66 easyeffects_source was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.700: pipe_manager: new metadata property: 0, default.configured.audio.sink, Spa:String:JSON, { "name": "alsa_output.pci-0000_00_1f.3.analog-stereo" }
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.700: pipe_manager: new metadata property: 0, default.configured.audio.source, Spa:String:JSON, { "name": "alsa_input.pci-0000_00_1f.3.analog-stereo" }
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.700: pipe_manager: new metadata property: 0, default.audio.sink, Spa:String:JSON, { "name": "alsa_output.pci-0000_00_1f.3.analog-stereo" }
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.700: pipe_manager: new metadata property: 0, default.audio.source, Spa:String:JSON, { "name": "alsa_input.pci-0000_00_1f.3.analog-stereo" }
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.700: pipe_manager: new metadata property: 0, default.video.source, Spa:String:JSON, { "name": "v4l2_input.pci-0000_00_14.0-usb-0_6_1.0" }
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.702: pipe_manager: Filter pe_soe_autogain, id = 339, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.702: pipe_manager: Firefox port 62 is connected to easyeffects_sink port 55
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.702: pipe_manager: Firefox port 342 is connected to easyeffects_sink port 60
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.704: pipe_manager: Filter pe_soe_bass_enhancer, id = 168, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.719: pipe_manager: Filter pe_soe_bass_loudness, id = 188, was added

(easyeffects:3817): easyeffects-WARNING **: 23:03:42.732: lv2_wrapper: Could not find the plugin: http://drobilla.net/plugins/mda/Loudness

(easyeffects:3817): easyeffects-WARNING **: 23:03:42.732: soe: http://drobilla.net/plugins/mda/Loudness is not installed

(easyeffects:3817): easyeffects-WARNING **: 23:03:42.732: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: loudness

(easyeffects:3817): easyeffects-WARNING **: 23:03:42.732: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: output

(easyeffects:3817): easyeffects-WARNING **: 23:03:42.732: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: link
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.733: pipe_manager: Filter pe_soe_compressor, id = 69, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.749: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.751: pipe_manager: Filter pe_soe_convolver, id = 72, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.754: pipe_manager: Filter pe_soe_crossfeed, id = 77, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.757: pipe_manager: Filter pe_soe_crystalizer, id = 84, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.760: pipe_manager: Filter pe_soe_deesser, id = 91, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.805: pipe_manager: Filter pe_soe_delay, id = 96, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.817: lv2_wrapper: http://lsp-plug.in/plugins/lv2/comp_delay_x2_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.819: pipe_manager: Filter pe_soe_echo_canceller, id = 101, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.822: pipe_manager: Filter pe_soe_equalizer, id = 104, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.862: lv2_wrapper: http://lsp-plug.in/plugins/lv2/para_equalizer_x32_lr requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.869: pipe_manager: Filter pe_soe_exciter, id = 109, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.882: pipe_manager: Filter pe_soe_filter, id = 116, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.899: pipe_manager: Filter pe_soe_gate, id = 123, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.913: pipe_manager: Filter pe_soe_limiter, id = 128, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.927: pipe_manager: Filter pe_soe_loudness, id = 133, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.941: lv2_wrapper: http://lsp-plug.in/plugins/lv2/loud_comp_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.942: pipe_manager: Filter pe_soe_maximizer, id = 138, was added

(easyeffects:3817): easyeffects-WARNING **: 23:03:42.954: lv2_wrapper: Could not find the plugin: urn:zamaudio:ZaMaximX2

(easyeffects:3817): easyeffects-WARNING **: 23:03:42.954: soe: urn:zamaudio:ZaMaximX2 is not installed

(easyeffects:3817): easyeffects-WARNING **: 23:03:42.954: lv2_wrapper: urn:zamaudio:ZaMaximX2 port symbol not found: thresh

(easyeffects:3817): easyeffects-WARNING **: 23:03:42.954: lv2_wrapper: urn:zamaudio:ZaMaximX2 port symbol not found: ceil

(easyeffects:3817): easyeffects-WARNING **: 23:03:42.954: lv2_wrapper: urn:zamaudio:ZaMaximX2 port symbol not found: rel
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.955: pipe_manager: Filter pe_soe_multiband_compressor, id = 143, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.970: pipe_manager: Filter pe_soe_multiband_gate, id = 148, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.986: pipe_manager: Filter pe_soe_output_level, id = 153, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:42.990: pipe_manager: Filter pe_soe_pitch, id = 158, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.058: pipe_manager: Filter pe_soe_reverb, id = 163, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.072: pipe_manager: Filter pe_soe_rnnoise, id = 173, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.075: pipe_manager: Filter pe_soe_spectrum, id = 178, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.080: pipe_manager: Filter pe_soe_stereo_tools, id = 183, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.099: pipe_manager: Filter pe_sie_autogain, id = 327, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.101: pipe_manager: Filter pe_sie_bass_enhancer, id = 208, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.115: pipe_manager: Filter pe_sie_bass_loudness, id = 213, was added

(easyeffects:3817): easyeffects-WARNING **: 23:03:43.128: lv2_wrapper: Could not find the plugin: http://drobilla.net/plugins/mda/Loudness

(easyeffects:3817): easyeffects-WARNING **: 23:03:43.128: sie: http://drobilla.net/plugins/mda/Loudness is not installed

(easyeffects:3817): easyeffects-WARNING **: 23:03:43.129: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: loudness

(easyeffects:3817): easyeffects-WARNING **: 23:03:43.129: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: output

(easyeffects:3817): easyeffects-WARNING **: 23:03:43.129: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: link
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.141: pipe_manager: Filter pe_sie_compressor, id = 218, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.145: soe: output_level: new PipeWire blocksize: 2048
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.155: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.157: pipe_manager: Filter pe_sie_convolver, id = 223, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.160: pipe_manager: Filter pe_sie_crossfeed, id = 230, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.163: pipe_manager: Filter pe_sie_crystalizer, id = 235, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.166: pipe_manager: Filter pe_sie_deesser, id = 240, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.179: pipe_manager: Filter pe_sie_delay, id = 245, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.192: lv2_wrapper: http://lsp-plug.in/plugins/lv2/comp_delay_x2_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.193: pipe_manager: Filter pe_sie_echo_canceller, id = 250, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.197: pipe_manager: Filter pe_sie_equalizer, id = 255, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.236: lv2_wrapper: http://lsp-plug.in/plugins/lv2/para_equalizer_x32_lr requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.241: pipe_manager: Filter pe_sie_exciter, id = 262, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.254: pipe_manager: Filter pe_sie_filter, id = 267, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.270: pipe_manager: Filter pe_sie_gate, id = 272, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.282: pipe_manager: Filter pe_sie_limiter, id = 277, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.335: pipe_manager: Filter pe_sie_loudness, id = 282, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.350: lv2_wrapper: http://lsp-plug.in/plugins/lv2/loud_comp_stereo requires feature: http://lv2plug.in/ns/ext/urid#map
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.352: pipe_manager: Filter pe_sie_maximizer, id = 287, was added

(easyeffects:3817): easyeffects-WARNING **: 23:03:43.366: lv2_wrapper: Could not find the plugin: urn:zamaudio:ZaMaximX2

(easyeffects:3817): easyeffects-WARNING **: 23:03:43.366: sie: urn:zamaudio:ZaMaximX2 is not installed

(easyeffects:3817): easyeffects-WARNING **: 23:03:43.366: lv2_wrapper: urn:zamaudio:ZaMaximX2 port symbol not found: thresh

(easyeffects:3817): easyeffects-WARNING **: 23:03:43.366: lv2_wrapper: urn:zamaudio:ZaMaximX2 port symbol not found: ceil

(easyeffects:3817): easyeffects-WARNING **: 23:03:43.366: lv2_wrapper: urn:zamaudio:ZaMaximX2 port symbol not found: rel
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.367: pipe_manager: Filter pe_sie_multiband_compressor, id = 292, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.401: pipe_manager: Filter pe_sie_multiband_gate, id = 297, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.417: pipe_manager: Filter pe_sie_output_level, id = 302, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.421: pipe_manager: Filter pe_sie_pitch, id = 312, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.425: pipe_manager: Filter pe_sie_reverb, id = 317, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.442: pipe_manager: Filter pe_sie_rnnoise, id = 322, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.446: pipe_manager: Filter pe_sie_spectrum, id = 332, was added
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.449: pipe_manager: Filter pe_sie_stereo_tools, id = 203, was added
easyeffects-INFO: 23:03:43.467: application: disabling global bypass
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.534: convolver_ui: irs directory already exists: /home/wello6143/.config/easyeffects/irs
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.535: convolver_ui: reading the impulse file: /home/wello6143/.config/easyeffects/irs/custom.irs
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.535: convolver_ui: calculating the impulse fft...
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.897: new default output device: alsa_output.pci-0000_00_1f.3.analog-stereo
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.902: new default input device: alsa_input.pci-0000_00_1f.3.analog-stereo
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.904: application: device alsa_card.pci-0000_01_00.1 has changed profile to: off
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.904: application: device alsa_card.pci-0000_00_1f.3 has changed profile to: output:analog-stereo+input:analog-stereo
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.905: soe: convolver: irs file: /home/wello6143/.config/easyeffects/irs/custom.irs
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.905: soe: convolver: irs rate: 44100 Hz
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.905: soe: convolver: irs channels: 2
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.905: soe: convolver: irs frames: 56
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.905: soe: convolver resampling the kernel to 48000
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.905: soe: convolver: kernel initialized
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.905: soe: autogain factor: 0.875287
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.908: soe: convolver: zita is ready
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.949: soe: convolver latency: 0.000000 s
(easyeffects:3817): easyeffects-DEBUG: 23:03:43.959: soe: pipeline latency: 0.000000 ms
wwmm commented 3 years ago

the left output noticeable quieter than the right output

An image of one of the plugins window showing the input and output level meters would help. What happens if no plugin is enabled? Is there still difference in the channels level?

Another thing is if I turn off the program in Players tab, the sound is still normal (in flat)

I did not understand the problem. If you disable the app switch we will not process it. The app will play directly to the sound card.

I am start to think that something unusual may be happening when easyeffects is executed in KDE. In pulseeffects early days we also had a fair amount of problems that only happened in KDE. I wonder what it is the cause now.

nhandt64 commented 3 years ago

It's kinda late here but I think before I started that session, I removed a number of packages. Do you remember any missing packages that possibly cause the issues? I will try them in tomorrow morning. Thanks for your reply!

wwmm commented 3 years ago

Do you remember any missing packages that possibly cause the issues?

Unless there is a bug I am not aware of those missing packages warnings in your log should not be a problem. Those plugins should be optional. I also do not see how a missing package could cause a difference in channels volume. The reason for that is probably more subtle.

When you have time run pw-dot and attach the file here on github. I will use xdot to view it and check if you are having missing links between ports like other people on KDE seem to have.

nhandt64 commented 3 years ago

An image of one of the plugins window showing the input and output level meters would help.

Here it is, I have not noticed about it before 😅

Screenshot_20210720_155908

Here's the output of pw-dot (Github does not allow me to upload the file in .dot) pw.txt

nhandt64 commented 3 years ago

I had successfully address the error from your first reply (which I didn't think about). It was not EasyEffects' fault.

When I was trying xfce, it also installed pavucontrol and I believe it caused EasyEffects' sink unbalanced like below. Screenshot_20210720_161250

Sorry for any inconvenience I made to you.