Is it possible for a program to add a EQ for example before audio output?
Any standard way to do this on a computer that uses pulse audio?
Or do you patch and rebuild everything?
Or is it something that can be done using pipewire?
Adding audio fx before audio output
Moderators: MattKingUSA, khz
Adding audio fx before audio output
- bluebell
- Established Member
- Posts: 1927
- Joined: Sat Sep 15, 2012 11:44 am
- Location: Saarland, Germany
- Has thanked: 113 times
- Been thanked: 122 times
Re: Adding audio fx before audio output
With jack it's no problem. I have no experience with Pulseaudio but IIRC Carla can act as a plugin host and as a Pulseaudio device, so you can load your EQ plugin there and let your program output to Carla while Carla is outputting to system out.
Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/
Re: Adding audio fx before audio output
When I look at pulse effect here...
https://github.com/wwmm/easyeffects
...it says that it started to use pipewire filters.
And then I found this...
https://docs.pipewire.org/audio-dsp-fil ... ample.html
...example code in C on how to make a pipewire filter I guess.
Does this mean that I should focus on learning this if I want to make audio effects that can be used in future Linux desktop installations.
- sunrat
- Established Member
- Posts: 925
- Joined: Wed Jul 22, 2020 2:08 pm
- Has thanked: 152 times
- Been thanked: 247 times
Re: Adding audio fx before audio output
For Pulseaudio I use and recommend Pulseaudio Parametric Equalizer . Setup is a breeze; just install it and it's ready to go basically. Pulseeffects (or Easyeffects) works OK for other effect. I wouldn't use PulseAudio for anything but playback though, for music production it is rather lacking.
For JACK I use the standalone JACK version of LSP PEQ. It's a bit more work to set it up to start with JACK but works excellently.
For PipeWire I did a test setup a while back and got LSP PEQ working with that too. However I don't use PW as daily driver yet as my classic PA > JACK > ALSA setup is working nicely.