Switch to mono noise suppression for voice and disable vulkan for chromium.

This commit is contained in:
Tom Alexander 2025-01-09 17:56:46 -05:00
parent 5c41b7efa2
commit 6b9660bc44
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 8 additions and 4 deletions

View File

@ -49,5 +49,6 @@
};
};
nixpkgs.config.chromium.commandLineArgs = "--enable-features=Vulkan";
# Enabling vulkan causes video to render as white
# nixpkgs.config.chromium.commandLineArgs = "--enable-features=Vulkan";
}

View File

@ -24,7 +24,7 @@
extraLv2Packages = [ pkgs.rnnoise-plugin ];
configPackages = [
(pkgs.writeTextDir "share/pipewire/pipewire.conf.d/20-rnnoise.conf" ''
(pkgs.writeTextDir "share/pipewire/pipewire.conf.d/99-input-denoising.conf" ''
context.modules = [
{ name = libpipewire-module-filter-chain
args = {
@ -35,9 +35,12 @@
{
type = lv2
name = rnnoise
plugin = "https://github.com/werman/noise-suppression-for-voice#stereo"
label = noise_suppressor_stereo
plugin = "https://github.com/werman/noise-suppression-for-voice#mono"
label = noise_suppressor_mono
control = {
"VAD Threshold (%)" = 50.0
"VAD Grace Period (ms)" = 200
"Retroactive VAD Grace (ms)" = 0
}
}
]