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 = "Noise Canceling Mic"
- media.name = "Noise Canceling Mic"
- filter.graph = {
- nodes = [
- {
- type = ladspa
- name = deepfilter
- plugin = /usr/lib/ladspa/libdeep_filter_ladspa.so
- label = deep_filter_stereo
- control = {
- "Attenuation Limit (dB)" = 100
- "Min processing threshold (dB)" = -10
- "Max ERB processing threshold (dB)" = 30
- "Max DF processing threshold (dB)" = 20
- "Min Processing Buffer (frames)" = 0
- "Post Filter Beta" = 0.02
- }
- }
- {
- type = ladspa
- name = gate
- plugin = /usr/lib/ladspa/lsp-plugins-ladspa.so
- label = "http://lsp-plug.in/plugins/ladspa/gate_stereo"
- control = {
- "Attack (ms)" = 1
- "Release (ms)" = 150
- }
- }
- {
- type = ladspa
- name = expander
- 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)" = 23
- }
- }
- {
- type = ladspa
- name = compressor
- 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 = limiter
- plugin = /usr/lib/ladspa/lsp-plugins-ladspa.so
- label = "http://lsp-plug.in/plugins/ladspa/limiter_stereo"
- control = {
- "Sidechain preamp (G)" = 2.5
- }
- }
- ]
- links = [
- { output = "deepfilter:Audio Out L" input = "gate:Input L"}
- { output = "deepfilter:Audio Out R" input = "gate:Input R"}
- { output = "gate:Output L" input = "expander:Input L"}
- { output = "gate:Output R" input = "expander:Input R"}
- { output = "expander:Output L" input = "compressor:Input L"}
- { output = "expander:Output R" input = "compressor:Input R"}
- { output = "compressor:Output L" input = "limiter:Input L"}
- { output = "compressor:Output R" input = "limiter:Input R"}
- ]
- inputs = ["deepfilter:Audio In L" "deepfilter:Audio In R"]
- outputs = ["limiter:Output L" "limiter:Output R"]
- }
- audio.rate = 48000
- audio.channels = 2
- audio.position = [FL FR]
- capture.props = {
- node.name = "capture.mic_noisecanceling_source"
- node.passive = true
- audio.rate = 48000
- }
- playback.props = {
- node.name = "mic_noisecanceling_source"
- media.class = Audio/Source
- audio.rate = 48000
- }
- }
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment