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

GitHub
AI Audio2026

Zero-shot text-to-speech across 600+ languages with short-reference voice cloning and attribute-based voice design. Uses a diffusion-style discrete non-autoregressive architecture mapping text to multi-codebook acoustic tokens, supports phoneme/pinyin control and very low RTF.

GitHub
AI Audio2025

Provides text-to-speech synthesis and one-shot voice cloning via compact ONNX models and a larger KittenTTS 2 speech model. Offers CPU-first inference (25–506 MB models), 47 built-in voices, multilingual output, expression tags, streaming, and a Python SDK.

Hugging Face
AI Audio2026

Generates directed, multi-character, long-form speech from text with natural-language directions and voice cloning. Built on a 35B MoE backbone (3B active per token) with a codebook multi-token-prediction decoder to enable multi-turn revision, infilling edits, streaming, and expressive control.