mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Desktop] fix audio rate for denoising plugin, add new parameters
This commit is contained in:
parent
ec4198ba16
commit
07ed5e3269
1 changed files with 6 additions and 1 deletions
|
|
@ -42,18 +42,23 @@ context.modules = [
|
||||||
plugin = ${rnnoise-plugin}/lib/ladspa/librnnoise_ladspa.so
|
plugin = ${rnnoise-plugin}/lib/ladspa/librnnoise_ladspa.so
|
||||||
label = noise_suppressor_stereo
|
label = noise_suppressor_stereo
|
||||||
control = {
|
control = {
|
||||||
"VAD Threshold (%)" ${toString noiseFilterStrength}
|
"VAD Threshold (%)" = ${toString noiseFilterStrength}
|
||||||
|
"VAD Grace Period (ms)" = 200
|
||||||
|
"Retroactive VAD Grace (ms)" = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
capture.props = {
|
capture.props = {
|
||||||
|
node.name = "capture.rnnoise_source"
|
||||||
node.passive = true
|
node.passive = true
|
||||||
|
audio.rate = 48000
|
||||||
}
|
}
|
||||||
playback.props = {
|
playback.props = {
|
||||||
node.name = "rnnoise_source.output"
|
node.name = "rnnoise_source.output"
|
||||||
media.class = Audio/Source
|
media.class = Audio/Source
|
||||||
node.virtual = false
|
node.virtual = false
|
||||||
|
audio.rate = 48000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue