swh / ladspa

The SWH Plugins package for the LADSPA plugin system
http://plugin.org.uk/
GNU General Public License v2.0
229 stars 52 forks source link

mbeq_1197 not working with pipewire #75

Open jthadden opened 3 years ago

jthadden commented 3 years ago

Hi Steve,

Fedora recently changed with version 34 to pipewire and uses a wrapper for pulseaudio for clients to continue to work. This is working quite good so far. Fortunately pipewire also supports ladspa plugins and the pactl command to load and configure them. I am trying to use the equalizer here and issuing e.g.

pactl load-module module-ladspa-sink sink_name=ladspa_output.mbeq_1197.mbeq sink_master=alsa_output.usb-Jabra_Jabra_UC_VOICE_150a_MS_1516112405D0-00.iec958-stereo plugin=mbeq_1197 label=mbeq control=1.5,0.2,3.9,3.3,0.0,-4.5,-10.0,-8.9,-8.1,-5.5,-1.5,3.0,3.0,2.4,3.6

loads the module as can be seen with pactl list and in the system log. Switching output to the new virtual device works flawlessly and the sound is there - only there is simply no change at all. It sounds exactly as the source and switching between the master and the virtual mbeq sink reveals that unfortunately.

As I am not sure what is wrong here, I tryed with the vynil filter to check:

pactl load-module module-ladspa-sink sink_name=ladspa_output.vynil_1905.vynil sink_master=alsa_output.usb-Jabra_Jabra_UC_VOICE_150a_MS_1516112405D0-00.iec958-stereo plugin=vynil_1905 label=vynil control=1900,78,0.3,1,0

This leads to a different sound, but I am not quite sure, the result is 100% right, as I do not hear any scratches. So generally it seems something is wrong here. Any hints what to try to debug this?

Joachim

swh commented 3 years ago

Have you verified with a command line tools that the plugins are working at all - e.g. ecasound, there's some guidance here: https://github.com/swh/ladspa/issues/39

I don't know anything about pipewire I'm afraid.

jthadden commented 3 years ago

I used some of the other plugins to see whether they are working, and e.g. vynil and latency really change the output in a audible manner. It should not be a problem of pipewire btw. as this is fully transparently working with pulseaudio clients which are most widely used on linux.