fix(call): keep browser AGC on with ML noise suppression (DeepFilterNet "makes people quiet") #480
@@ -237,10 +237,14 @@ export class CallEmbed {
|
|||||||
denoiseMode === 'browser' ||
|
denoiseMode === 'browser' ||
|
||||||
(denoiseMode === 'ml' && denoiseNativeNS)
|
(denoiseMode === 'ml' && denoiseNativeNS)
|
||||||
).toString(),
|
).toString(),
|
||||||
// Turn the browser's auto gain control OFF for the ML tier only: its
|
// Keep the browser's auto gain control ON in every tier. It used to be
|
||||||
// dynamic gain fights the in-source ML denoiser (pumping). Browser/off
|
// turned off for the ML tier ("pumping"), but AGC is what brings a quiet
|
||||||
// tiers keep the browser's normal capture pipeline (AGC on).
|
// mic up to speaking level: without it ML-tier voices went out 10-20 dB
|
||||||
autoGainControl: (denoiseMode !== 'ml').toString(),
|
// quieter than the browser tier, while the models themselves keep speech
|
||||||
|
// within ~1.5 dB (measured: RNNoise, Speex, DTLN, DeepFilterNet3). Chrome's
|
||||||
|
// AGC2 only adapts during speech, and the model runs after it, so it still
|
||||||
|
// removes the noise AGC leaves in the pauses.
|
||||||
|
autoGainControl: 'true',
|
||||||
audio: initialAudio.toString(),
|
audio: initialAudio.toString(),
|
||||||
video: initialVideo.toString(),
|
video: initialVideo.toString(),
|
||||||
header: 'none',
|
header: 'none',
|
||||||
|
|||||||
Reference in new issue
Block a user