(fix): calls
(fix): deepfilternet3 (feat): remove noise gate logs (qol): update todo
This commit is contained in:
parent
92dfea7329
commit
76b64886da
11 changed files with 42 additions and 25 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue