
ClearVoice speech enhancement. Accepts AudioFrame (flattened to mono), resamples to model_name native rate (16 or 48 kHz), and emits a denoised AudioFrame. Use upstream of ASR, VAD, or diarisation when quality matters more than latency.
Enhanced ASR from audio file.
Enhanced VAD from browser microphone.
model_name must be exactly `MossFormerGAN_SE_16K`, `FRCRN_SE_16K`, or `MossFormer2_SE_48K`; any other value raises an unsupported model error.model_name and device are resolved once at startup and are NOT mutable; changing either requires a redeploy. Weights download on first load and a warm-up inference runs at startup, so initial startup is slow but the first real call is fast.AudioFrame is returned unchanged without invoking the model.device starting with `cuda` silently falls back to CPU when CUDA is unavailable at startup; CPU is much slower, especially for the 48 kHz model.Automated release