
MP-SENet magnitude-and-phase spectral denoiser: each AudioFrame is mixed to mono, resampled to 16 kHz, run through the network, and emitted as a denoised 16 kHz AudioFrame. Pick this for narrowband cleanup before ASR or VAD.
Pre-ASR cleanup from a recorded file feeding a 16 kHz transcriber.
Live low-latency path: webcam audio is denoised before a streaming transcriber tuned for short utterances.
AudioFrame is returned unchanged without invoking the network; every input frame produces exactly one output frame.model file (a bundle holding `config.json` and `model.safetensors`); it is loaded once from the local binding at startup, so no network access is needed at run time.chunk_seconds sets the length of the model's internal inference segments to bound memory; 0 keeps the model's built-in 2 second segment. Larger segments can improve quality at higher memory cost.half_precision halves VRAM but can amplify artefacts in quiet sections; verify on representative audio before relying on it.device starting with `cuda` silently falls back to CPU when CUDA is unavailable, which is functional but impractical for live audio.Automated release