fix(denoise): DeepFilterNet attenuation limit 60 → 25 dB (choppy word endings) #65

Merged
jared merged 1 commits from fix/dfn-strength-25 into lotus 2026-10-30 18:58:29 -04:00
+6 -4
View File
@@ -207,10 +207,12 @@ async function loadDfnCore(config: LotusDenoiseConfig): Promise<DfnCore> {
); );
const core = new mod.DeepFilterNet3Core({ const core = new mod.DeepFilterNet3Core({
sampleRate: 48_000, sampleRate: 48_000,
// 60, not 80: full-strength suppression is the main source of the // Attenuation limit in dB. At 60 the background is muted outright
// "over-processed" character; a lower level keeps voice natural while // (measured -61 to -64 dB), so every word drops into dead silence and
// the dry/wet floor handles the noise tail. // listeners hear the mic "cutting out" at word ends. 25 keeps a quiet
noiseReductionLevel: 60, // background bed and scored best on room-echo speech with fan and
// keyboard noise (PESQ 2.72 / 2.38 vs 2.33 / 2.04 at 60).
noiseReductionLevel: 25,
assetConfig: { cdnUrl: dfnBase }, assetConfig: { cdnUrl: dfnBase },
}); });
await core.initialize(); await core.initialize();