mirror of
https://github.imc.re/void-land/hyprland-void-dots
synced 2025-04-12 03:56:56 +02:00
feat: pipewire echo canceling
This commit is contained in:
parent
ec61eb2ca5
commit
ab34086fcc
2 changed files with 56 additions and 0 deletions
|
@ -0,0 +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"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
|
@ -0,0 +1,34 @@
|
|||
# context.modules = [
|
||||
# {
|
||||
# name = libpipewire-module-filter-chain
|
||||
# args = {
|
||||
# node.description = "Noise Canceling source"
|
||||
# media.name = "Noise Canceling source"
|
||||
# filter.graph = {
|
||||
# nodes = [
|
||||
# {
|
||||
# type = ladspa
|
||||
# name = rnnoise
|
||||
# plugin = /home/hesam/Pipewire/linux-rnnoise/ladspa/librnnoise_ladspa.so
|
||||
# label = noise_suppressor_mono
|
||||
# control = {
|
||||
# "VAD Threshold (%)" = 50.0
|
||||
# "VAD Grace Period (ms)" = 200
|
||||
# "Retroactive VAD Grace (ms)" = 0
|
||||
# }
|
||||
# }
|
||||
# ]
|
||||
# }
|
||||
# capture.props = {
|
||||
# node.name = "capture.rnnoise_source"
|
||||
# node.passive = true
|
||||
# audio.rate = 48000
|
||||
# }
|
||||
# playback.props = {
|
||||
# node.name = "rnnoise_source"
|
||||
# media.class = Audio/Source
|
||||
# audio.rate = 48000
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# ]
|
Loading…
Add table
Reference in a new issue