feat: add transient suppressor to audio pipeline
Implements a per-sample transient suppressor in the noise gate AudioWorklet that instantly cuts gain when a sudden loud peak (desk hit, mic bump) exceeds the slow background RMS by a configurable threshold, then releases over a short window. Exposes enable, sensitivity, and release controls in the audio settings tab. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -15,6 +15,9 @@ export interface NoiseGateParams {
|
||||
attackMs: number;
|
||||
holdMs: number;
|
||||
releaseMs: number;
|
||||
transientEnabled: boolean;
|
||||
transientThresholdDb: number; // dB above background RMS that triggers suppression
|
||||
transientReleaseMs: number; // ms for suppression to fade after transient ends
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user