Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Pipewire and LADSPA plugins
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1173
Location: /run/user/1000

PostPosted: Thu May 05, 2022 12:38 am    Post subject: [Solved] Pipewire and LADSPA plugins Reply with quote

Did a migrate from pulseaudio to pipewire and it's working fine, but I can't figure out how to load LADSPA plugin or is that even possible.

So, I had this in /etc/pulse/default.pa
Code:
load-module module-ladspa-sink sink_name=compressor plugin=sc4_1882 label=sc4 control=1,1.5,401,-30,20,5,24
set-default-sink compressor


and I was very happy with it, have no clue how to do that in pipewire and I miss it, anyone knows ?

btw I know there's EasyEffects, but I would avoid using that one, or similar apps , if possible.
Back to top
View user's profile Send private message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1173
Location: /run/user/1000

PostPosted: Thu May 05, 2022 3:48 pm    Post subject: Reply with quote

Never mind, I figured it out.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23613

PostPosted: Fri May 06, 2022 1:22 am    Post subject: Reply with quote

For the benefit of future readers, please share the solution you found.
Back to top
View user's profile Send private message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1173
Location: /run/user/1000

PostPosted: Fri May 06, 2022 1:45 am    Post subject: Reply with quote

Yeah I usually do, but I wasn't sure if it was the right way, I'm still playing with it.
I mean I got that part right, but pipewire has issues with 5.1 sound in combo with plugins, easyeffects has the same problem.
Basically what happens is that without plugins, 5.1 sound works as it should, when a plugin is applied then there's only stereo sound, which is a big problem.

Anyway, I was trying this guide from pipewire wiki, searching for this issue on google I saw people say that guide should work, but in my case it didn't.
https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Filter-Chain

What is working for me and I didn't saw that anywhere, is that I've noticed a section in the /etc/pipewire/pipewire-pulse.conf

Code:
# Extra modules can be loaded here. Setup in default.pa can be moved here
context.exec = [
    { path = "pactl"        args = "load-module module-always-sink" }
    { path = "pactl"        args = "load-module module-ladspa-sink sink_name=compressor plugin=sc4_1882 label=sc4 control=1,1.5,401,-30,20,5,24"}
    #{ path = "pactl"        args = "load-module module-switch-on-connect" }
    #{ path = "/usr/bin/sh"  args = "~/.config/pipewire/default.pw" }
]


I've just added second line (sink name=compressor), now I had to actually first enable that sink in the terminal, you can list all sinks with 'pactl list sinks' and then set the default with 'pactl set-default-sink compressor' , I guess one can probably add that line in that section as well, but I've tested it out and after reboot everything was fine, I guess that session is saved somehow, I'm a pipewire noob so I don't really know.

I guess that's it, works fine, except that 5.1 speakers issue, but it is what it is, I even tried easyeffects to see if maybe I was doing something wrong regarding that matter, but they have the same problem.
https://github.com/wwmm/easyeffects/issues/1142

I might try with jack and calf plugins, but I know even less about Jack, so I'll see, trying few things with upmixing settings, it's kinda OK, I guess I just need to accept it for now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum