Apply LADSPA plugin to input (microphone)

Solution 1:

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.