File meeting-output.conf of Package pipewire-filter-chain

# filter-chain example config file for PipeWire version @VERSION@ #
#
# Copy this file into a conf.d/ directory such as
# ~/.config/pipewire/filter-chain.conf.d/
#
context.spa-libs = {
    audio.convert.* = audioconvert/libspa-audioconvert
    support.*       = support/libspa-support
}

context.modules = [
    { name = libpipewire-module-protocol-native }
    { name = libpipewire-module-client-node }
    { name = libpipewire-module-adapter }
    { name = libpipewire-module-filter-chain
        args = {
            node.description = "Meeting"
            media.name       = "meeting_fixed_output"
            audio.channels   = 2
            audio.position = [ FL FR ]
            filter.graph = {
                nodes = [
                    {
                        type   = ladspa
                        name   = ladspa_rnnoise_stereo
                        # plugin = librnnoise_ladspa
                        plugin = /usr/lib64/ladspa/librnnoise_ladspa.so
                        label  = noise_suppressor_stereo
                        control = {
                            "VAD Threshold (%)" 50
                            "VAD Grace Period (ms)" 500
                            "Retroactive VAD Grace (ms)" 100

                        }
                    }
                   {
                       type   = lv2
                       name   = lv2_x42_dlp_stereo
                       plugin = "http://gareus.org/oss/lv2/dpl#stereo"
                       control = {
                           "enable" 1
                           "gain" 0
                           "threshold" -10.0
                           "release" 0.01
                           "truepeak" 0
                       }
                   }
                   {
                       type   = lv2
                       name   = lv2_lsp_compressor_stereo
                       plugin = "http://lsp-plug.in/plugins/lv2/compressor_stereo"
                       control = {
                            "enabled" 1
                            "g_in" 1
                            "g_out" 1
                            "pause" 0
                            "clear" 0
                            "ssplit" 0
                            "sscs" 0
                            "sct" 0
                            "scm" 1
                            "sla" 0
                            "scl" 0
                            "scs" 0
                            "scr" 10
                            "scp" 1
                            "shpm" 0
                            "shpf" 10
                            "slpm" 0
                            "slpf" 20000
                            "cm" 0
                            "al" 0.251190006732941
                            "at" 20
                            "rrl" 0
                            "rt" 100
                            "hold" 0
                            "cr" 19.7733058929443
                            "kn" 0.553614377975464
                            "bth" 0.000250999990385026
                            "bsa" 1.99526000022888
                            "mk" 0.783526122570038
                            "cdr" 0
                            "cwt" 1
                            "cdw" 100
                            "slv_l" 1
                            "elv_l" 1
                            "grv_l" 1
                            "ilv_l" 1
                            "olv_l" 1
                            "slv_r" 1
                            "elv_r" 1
                            "grv_r" 1
                            "ilv_r" 1
                            "olv_r" 1
                       }
                   }
                ]
                links = [
                   { output = "ladspa_rnnoise_stereo:Output (L)" input = "lv2_x42_dlp_stereo:inL" }
                   { output = "ladspa_rnnoise_stereo:Output (R)" input = "lv2_x42_dlp_stereo:inR" }
                   { output = "lv2_x42_dlp_stereo:outL" input = "lv2_lsp_compressor_stereo:in_l" }
                   { output = "lv2_x42_dlp_stereo:outR" input = "lv2_lsp_compressor_stereo:in_r" }
                ]
                inputs  = [ "ladspa_rnnoise_stereo:Input (L)", "ladspa_rnnoise_stereo:Input (R)" ]
                outputs = [ "lv2_lsp_compressor_stereo:out_l", "lv2_lsp_compressor_stereo:out_r" ]
            }
            capture.props = {
                node.name = "meeting_fixed_output_capture"
                node.passive = true
                media.class = Audio/Sink
            }
            playback.props = {
                node.name = "meeting_fixed_output_playback"
            }
        }
    }
]
openSUSE Build Service is sponsored by