Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- context.modules = [
- { name = libpipewire-module-filter-chain
- flags = [ nofail ]
- args = {
- node.description = "Voice Chat Headphones"
- media.name = "Voice Chat Headphones"
- filter.graph = {
- nodes = [
- {
- type = ladspa
- name = rnnoise
- plugin = /usr/lib/ladspa/librnnoise_ladspa.so
- label = noise_suppressor_stereo
- control = {
- "VAD Threshold (%)" = 85.0
- "VAD Grace Period (ms)" = 200
- "Retroactive VAD Grace (ms)" = 0
- }
- }
- {
- type = ladspa
- name = gate2
- plugin = /usr/lib/ladspa/lsp-plugins-ladspa.so
- label = "http://lsp-plug.in/plugins/ladspa/gate_stereo"
- control = {
- }
- }
- {
- type = ladspa
- name = expander2
- plugin = /usr/lib/ladspa/lsp-plugins-ladspa.so
- label = "http://lsp-plug.in/plugins/ladspa/expander_stereo"
- control = {
- "Attack time (ms)" = 8
- "Release time (ms)" = 80
- "Sidechain preamp (G)" = 72
- }
- }
- {
- type = ladspa
- name = compressor2
- plugin = /usr/lib/ladspa/lsp-plugins-ladspa.so
- label = "http://lsp-plug.in/plugins/ladspa/compressor_stereo"
- control = {
- "Attack time (ms)" = 8
- "Release time (ms)" = 80
- }
- }
- {
- type = ladspa
- name = limiter2
- plugin = /usr/lib/ladspa/lsp-plugins-ladspa.so
- label = "http://lsp-plug.in/plugins/ladspa/limiter_stereo"
- control = {
- "Sidechain preamp (G)" = 3.1
- }
- }
- ]
- links = [
- { output = "rnnoise:Output (L)" input = "gate2:Input L"}
- { output = "rnnoise:Output (R)" input = "gate2:Input R"}
- { output = "gate2:Output L" input = "expander2:Input L"}
- { output = "gate2:Output R" input = "expander2:Input R"}
- { output = "expander2:Output L" input = "compressor2:Input L"}
- { output = "expander2:Output R" input = "compressor2:Input R"}
- { output = "compressor2:Output L" input = "limiter2:Input L"}
- { output = "compressor2:Output R" input = "limiter2:Input R"}
- ]
- inputs = ["rnnoise:Input (L)" "rnnoise:Input (R)"]
- outputs = ["limiter2:Output L" "limiter2:Output R"]
- }
- audio.rate = 48000
- audio.channels = 2
- audio.position = [FL FR]
- capture.props = {
- node.name = "effect_input.supressed"
- media.class = Audio/Sink
- audio.channels = 2
- audio.position = [ FL FR ]
- audio.rate = 48000
- }
- playback.props = {
- node.name = "effect_output.supressed"
- node.passive = true
- audio.channels = 2
- audio.position = [ FL FR ]
- audio.rate = 48000
- }
- }
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment