4

Similar to How can I apply a LADSPA plugin to a PulseAudio stream?, but I'm trying to apply the plugins to my source, not a sink. Basically, I want other people to hear my voice with plugins applied to it.

Let's say I have a input: INPUT='alsa_input.usb-mic-00-mic.analog-stereo'

And a filter:

pacmd load-module module-ladspa-sink sink_name=ladspa_low_pass master=$INPUT plugin=cmt label=lpf control=200

Doesn't really work. I'm able to select the filter on pavucontrol but only for my output.

I don't want to install JACK, it caused me a few problems on VOIP clients.

1 Answers1

2

To apply a LADSPA filter on our microphone input we need to combine the following:

  1. Load a LADSPA plugin to a newly created sink (see this question)

    pacmd load-module module-ladspa-sink sink_name=<yourname> master=<sinkname> plugin=<plugin> label=<label> control=<option1>,<option2>,[...]
    
  2. Loopback the microphone input to this sink (see this question)

    pacmd load-module module-loopback latency_msec=1
    

To record this filtered output we choose <name_of_ladspa_sink>.monitor as a recording source.

Takkat
  • 144,580