fix: add all the options

This commit is contained in:
Ranomier 2025-06-28 01:34:36 +02:00
parent c6a4d91a86
commit f5bb572e56

View file

@ -15,7 +15,12 @@
# mono can be replaced with stereo for double the performance as cost # mono can be replaced with stereo for double the performance as cost
"label" = "noise_suppressor_mono"; "label" = "noise_suppressor_mono";
"control" = { "control" = {
# if probability of sound being a voice is lower than this threshold - it will be silenced. In most cases the threshold between 85% - 95% would be fine. Without the VAD some loud noises may still be a bit audible when there is no voice.
"VAD Threshold (%)" = 75.0; "VAD Threshold (%)" = 75.0;
# for how long after the last voice detection the output won't be silenced. This helps when ends of words/sentences are being cut off.
"VAD Grace Period (ms)" = 200;
# similar to VAD Grace Period (ms) but for starts of words/sentences. This introduces latency!
"Retroactive VAD Grace Period (ms)" = 0;
}; };
} }
]; ];
@ -27,10 +32,12 @@
"capture.props" = { "capture.props" = {
"node.name" = "effect_input.rnnoise"; "node.name" = "effect_input.rnnoise";
"node.passive" = true; "node.passive" = true;
"audio.rate" = 48000;
}; };
"playback.props" = { "playback.props" = {
"node.name" = "effect_output.rnnoise"; "node.name" = "effect_output.rnnoise";
"media.class" = "Audio/Source"; "media.class" = "Audio/Source";
"audio.rate" = 48000;
}; };
}; };
} }