fix: improve voice quality and add distortion troubleshooting
- Fix RNNoise configuration: use mono instead of stereo, increase VAD threshold to 95% - Adjust quantum settings: increase min-quantum to 64 for stability - Add comprehensive voice distortion troubleshoot script - Create optional disable-auto-rnnoise.nix for problematic setups - The automatic RNNoise filter can cause artifacts, script helps diagnose and fix
This commit is contained in:
parent
52a9d544fc
commit
406acb3daf
3 changed files with 318 additions and 5 deletions
25
modules/sound/disable-auto-rnnoise.nix
Normal file
25
modules/sound/disable-auto-rnnoise.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
# Optional configuration to disable automatic RNNoise filter
|
||||
# This can be imported if the automatic filter causes distortion
|
||||
|
||||
services.pipewire = {
|
||||
extraConfig.pipewire."15-disable-auto-rnnoise" = {
|
||||
"context.modules" = [
|
||||
# Commenting out the automatic RNNoise filter
|
||||
# Users should use EasyEffects for manual noise suppression instead
|
||||
# {
|
||||
# name = "libpipewire-module-filter-chain";
|
||||
# args = {
|
||||
# "node.description" = "Noise Canceling Source";
|
||||
# # ... rest of RNNoise config
|
||||
# };
|
||||
# }
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue