gentoo-ebuilds/media-libs/noise-suppression-for-voice/files/99-input-denoising.conf
Kacper Słomiński cd27adc3be
media-libs/noise-suppression-for-voice: add 1.10-r1, update live
The new revision installs a sample PipeWire configuration file.
Additionally, we're getting rid of the "ladspa" USE flag, to make sure
the configuration always works. This shouldn't be a problem as the
ladspa plugin is not that heavy compared to all the other ones. This
also lets us clean up REQUIRED_USE.

Closes: https://bugs.gentoo.org/936789
Signed-off-by: Kacper Słomiński <kacper.slominski72@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
2024-07-28 03:35:51 +01:00

33 lines
975 B
Text

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 = %PATH_TO_LADSPA_PLUGIN%
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
}
}
}
]