mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2026-09-13 17:16:17 -07:00
40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
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 = /usr/lib/ladspa/librnnoise_ladspa.so
|
|
label = noise_suppressor_stereo
|
|
control = {
|
|
"VAD Threshold (%)" = 0.0
|
|
"VAD Grace Period (ms)" = 500
|
|
"Retroactive VAD Grace (ms)" = 100
|
|
}
|
|
}
|
|
]
|
|
}
|
|
audio.position = [ FL FR ]
|
|
capture.props = {
|
|
node.name = "capture.rnnoise_source"
|
|
node.passive = true
|
|
target.object = "alsa_input.pci-0000_0d_00.4.analog-stereo"
|
|
audio.rate = 48000
|
|
}
|
|
playback.props = {
|
|
node.name = "rnnoise_source"
|
|
node.description = "Noise-cancelled wired earbuds"
|
|
media.class = "Audio/Source"
|
|
priority.session = 3000
|
|
audio.rate = 48000
|
|
}
|
|
audio.channels = 1
|
|
audio.position = [ MONO ]
|
|
}
|
|
}
|
|
]
|