
faster-whisper transcriber. Resamples each AudioFrame to 16 kHz mono and decodes Whisper with optional voice-activity gating, emitting oneof t[String, [Subtitle], [{segment: Subtitle, confidence: Double}]] chosen by the connected downstream.
A live microphone is transcribed and the text drives a conversational LLM.
A recorded file is transcribed to timed subtitles and posted as JSON.
Voice activity is detected first so only speech segments reach the transcriber, cutting silence hallucinations.
model binds a CTranslate2 Faster-Whisper checkpoint bundle, loaded local-files-only; a directory without a converted checkpoint fails to start.compute_type must match the device — half/int8-half on GPU, int8 or float32 on CPU — and a mismatch errors inside the inference backend.vad_filter runs voice-activity detection before decoding and substantially reduces hallucinated text over silence, at a small extra cost.language empty enables auto-detection, which is slower and less reliable than pinning language to what is being spoken when it is known.String; the subtitle arms preserve per-segment start/end times, and one of them also attaches a per-segment confidence derived from the decoder log-probability. An empty AudioFrame returns the empty result for the selected arm without running inference.Automated release