I am want to apply a noise gate to my microphone. But I dont know why. I see that LADSPA Plugins can do that but i dont know how to set them up. If someone can help me with LADSPA or has a different application that I could use with PulseAudio, tell me. I need this, quick!
1 Answers
LADSPA-plugins to Pulse Audio
See this question on how to load and use LADSPA-plugins with pulseaudio:
TAP dynamics
For a compressor plugin we can use the TAP dynamics plugin from the tap-plugins
.
The syntax for this plugin to load with pulseaudio is as follows:
pactl load-module module-ladspa-sink sink_name=LADSPA master=<sink-name> \
plugin=tap_dynamics_st label=tap_dynamics_st \
control=<attack>,<release>,<offset gain>,<makeup gain>,<stereo mode>,<function>
To get this plugin loaded we need to fill in all options above within the following possible range (from TAP documentation, also stored locally in usr/share/doc/tap-plugins/):
min. default max.
Attack (ms) 4 125 500
Release (ms) 4 502 1000
Offset Gain (dB) -20 0 20
Makeup Gain (dB) -20 0 20
Stereo Mode [2] ?* ?* ?* *not documented well!
Function 0 0 14
The following function is selected by its number:
0 2:1 compressor at -6 dB
1 2:1 compressor at -9 dB
2 2:1 compressor at -12 dB
3 2:1 compressor at -18 dB
4 2.5:1 compressor at -12 dB
5 3:1 compressor at -12 dB
6 3:1 compressor at -15 dB
7 Compressor/Gate
8 Expander
9 Hard limiter at -6 dB
10 Hard limiter at -12 dB
11 Hard gate at -35 dB
12 Soft limiter
13 Soft knee compressor/gate
14 Soft gate below -36 dB
Apply to microphone source
To apply the LADSPA effect on a microphone source we can loopback the microphone input to this sink:
Using JACK sound server
For a more professional audio processing we may also consider running the JACK sound server where we can add plugins for LADSPA effects (e.g. jack-rack
).
Post-processing with Audacity
Post-processing of exisiting audio files or recordings can be done with Audacity
.