mirror of
https://github.imc.re/void-land/hyprland-void-dots
synced 2025-06-05 19:43:44 +02:00
feat: deep filter noise cancellation for pipewire
This commit is contained in:
parent
ab34086fcc
commit
05531211dc
2 changed files with 83 additions and 22 deletions
|
@ -1,22 +1,22 @@
|
||||||
context.modules = [
|
# context.modules = [
|
||||||
{
|
# {
|
||||||
name = libpipewire-module-echo-cancel
|
# name = libpipewire-module-echo-cancel
|
||||||
args = {
|
# args = {
|
||||||
library.name = aec/libspa-aec-webrtc
|
# library.name = aec/libspa-aec-webrtc
|
||||||
node.latency = 1024/48000
|
# node.latency = 1024/48000
|
||||||
monitor.mode = false
|
# monitor.mode = false
|
||||||
capture.props = {
|
# capture.props = {
|
||||||
node.name = "Echo Cancellation Capture"
|
# node.name = "Echo Cancellation Capture"
|
||||||
}
|
# }
|
||||||
source.props = {
|
# source.props = {
|
||||||
node.name = "Echo Cancellation Source"
|
# node.name = "Echo Cancellation Source"
|
||||||
}
|
# }
|
||||||
sink.props = {
|
# sink.props = {
|
||||||
node.name = "Echo Cancellation Sink"
|
# node.name = "Echo Cancellation Chad"
|
||||||
}
|
# }
|
||||||
playback.props = {
|
# playback.props = {
|
||||||
node.name = "Echo Cancellation Playback"
|
# node.name = "Echo Cancellation Playback"
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
]
|
# ]
|
||||||
|
|
|
@ -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
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
]
|
Loading…
Add table
Reference in a new issue