diff --git a/hypr-configs/dotfiles/pipewire/pipewire.conf.d/98-echo-canceling.conf b/hypr-configs/dotfiles/pipewire/pipewire.conf.d/98-echo-canceling.conf index c8b939e..f521f7e 100644 --- a/hypr-configs/dotfiles/pipewire/pipewire.conf.d/98-echo-canceling.conf +++ b/hypr-configs/dotfiles/pipewire/pipewire.conf.d/98-echo-canceling.conf @@ -1,22 +1,22 @@ -context.modules = [ - { - name = libpipewire-module-echo-cancel - args = { - library.name = aec/libspa-aec-webrtc - node.latency = 1024/48000 - monitor.mode = false - capture.props = { - node.name = "Echo Cancellation Capture" - } - source.props = { - node.name = "Echo Cancellation Source" - } - sink.props = { - node.name = "Echo Cancellation Sink" - } - playback.props = { - node.name = "Echo Cancellation Playback" - } - } - } -] \ No newline at end of file +# context.modules = [ +# { +# name = libpipewire-module-echo-cancel +# args = { +# library.name = aec/libspa-aec-webrtc +# node.latency = 1024/48000 +# monitor.mode = false +# capture.props = { +# node.name = "Echo Cancellation Capture" +# } +# source.props = { +# node.name = "Echo Cancellation Source" +# } +# sink.props = { +# node.name = "Echo Cancellation Chad" +# } +# playback.props = { +# node.name = "Echo Cancellation Playback" +# } +# } +# } +# ] diff --git a/hypr-configs/dotfiles/pipewire/pipewire.conf.d/99-deepfilter-stereo.conf b/hypr-configs/dotfiles/pipewire/pipewire.conf.d/99-deepfilter-stereo.conf new file mode 100644 index 0000000..43460ac --- /dev/null +++ b/hypr-configs/dotfiles/pipewire/pipewire.conf.d/99-deepfilter-stereo.conf @@ -0,0 +1,61 @@ +context.modules = [ + { + name = libpipewire-module-filter-chain + args = { + node.description = "DeepFilter Noise Canceling Source" + media.name = "DeepFilter Noise Canceling Source" + filter.graph = { + nodes = [ + { + type = ladspa + name = "DeepFilter Mono" + plugin = /home/hesam/Pipewire/libdeep_filter_ladspa-0.5.6-x86_64-unknown-linux-gnu.so + label = deep_filter_mono + control = { + "Attenuation Limit (dB)" 100 + } + } + ] + } + audio.rate = 48000 + audio.position = [MONO] + capture.props = { + node.passive = true + } + playback.props = { + media.class = Audio/Source + } + } + }, + # { + # name = libpipewire-module-filter-chain + # args = { + # node.description = "DeepFilter Noise Canceling Sink" + # media.name = "DeepFilter Noise Canceling Sink" + # filter.graph = { + # nodes = [ + # { + # type = ladspa + # name = "DeepFilter Stereo" + # plugin = /home/hesam/Pipewire/libdeep_filter_ladspa-0.5.6-x86_64-unknown-linux-gnu.so + # label = deep_filter_stereo + # control = { + # "Attenuation Limit (dB)" 100 + # } + # } + # ] + # } + # audio.rate = 48000 + # audio.channels = 2 + # audio.position = [FL FR] + # capture.props = { + # node.name = "deep_filter_stereo_input" + # media.class = Audio/Sink + # } + # playback.props = { + # node.name = "deep_filter_stereo_output" + # node.passive = true + # } + # } + # } +] \ No newline at end of file