(fix): calls
Some checks failed
/ build-desktop (linux) (push) Failing after 5m3s
/ build-web (push) Failing after 5m8s
/ build-mobile (push) Failing after 7m1s
/ release (push) Has been skipped

(fix): deepfilternet3
(feat): remove noise gate logs
(qol): update todo
This commit is contained in:
Alois 2026-07-06 21:45:57 +02:00
commit 76b64886da
11 changed files with 42 additions and 25 deletions

View file

@ -1,4 +1,3 @@
import { log } from "@tensamin/shared/log";
import {
clearSpeakingParticipants,
removeSpeakingParticipant,
@ -138,10 +137,8 @@ class SpeakingDetector {
const db = 20 * Math.log10(Math.max(rms, 0.0001));
if (!this.localMicGateClosed && db < this.gateThresholdStart) {
log(3, "noise gate", "purple", "closed");
this.muteLocalTrack(true);
} else if (this.localMicGateClosed && db > this.gateThresholdEnd) {
log(3, "noise gate", "purple", "opened");
this.muteLocalTrack(false);
}
}