AIAny
AI Audio2023
GitHub

RealtimeSTT

Converts microphone or streamed audio to text with sub-second latency, pairing WebRTC/Silero voice-activity detection and wake-word activation with swappable local backends — faster-whisper by default, plus whisper.cpp, Moonshine, and sherpa-onnx.

Introduction

Real-time transcription comes with an awkward tradeoff: cloud APIs are accurate but add network latency and ship your voice off-device, while most local options either lag or sacrifice quality. This library treats that as an orchestration problem rather than a model problem — it layers voice-activity detection, wake-word gating, and a swappable transcription engine so the expensive Whisper pass only runs on speech that actually matters, keeping perceived latency under a second on a local GPU.

What Sets It Apart
  • Two-stage voice-activity detection (cheap WebRTC gating in front of accurate Silero) keeps the GPU from transcribing silence — lower compute and faster turnaround for always-listening apps.
  • The transcription engine is pluggable rather than hardcoded: faster-whisper by default, with whisper.cpp, OpenAI Whisper, Moonshine, sherpa-onnx, and Kroko-ONNX as drop-ins, so you can trade accuracy for speed without rewriting your pipeline.
  • Wake-word activation (Porcupine or OpenWakeWord) is built in, so it works as the front end of a voice assistant, not just a dictation box.
  • It emits both live partial hypotheses and a final corrected transcript, so a UI can stream text as you speak yet still settle on an accurate result.
Who It's For

Great fit if you're building a voice assistant, dictation tool, or browser-based streaming server and want it all to run locally with low latency and no per-minute API bill. Look elsewhere if you need a turnkey hosted endpoint, broad mobile support, or aren't ready to manage Python 3.11+, PortAudio, and CUDA — the flexibility comes at the cost of assembling and tuning the stack yourself.

Information

  • Websitegithub.com
  • AuthorsKolja Beigel
  • Published date2023/08/29

Categories

More Items

Hugging Face
AI Model2026

Transcribes Russian and English speech into text in full-context or low-latency streaming mode, with both raw and formatted end-to-end outputs.

Hugging Face
AI Audio2026

Separates speech from background noise at 48 kHz while preserving the speaker’s timbre, breaths, and laughter. Offers offline and streaming models; it does not restore missing audio detail or select a target speaker.

Hugging Face
AI Audio2026

Turns English text into speech with two American English voices, running on CPUs or in a browser. Its 4.5M-parameter model was trained from scratch on synthetic speech.