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 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.

GitHub
AI Audio2025

Generates full songs from lyrics and style prompts by first writing an editable melody-and-chord score and then rendering vocals and accompaniment. Unifies symbolic planning and audio synthesis in one pipeline, enabling readable score inspection, zero‑shot covers, and agent-driven editing.

Hugging Face
AI Audio2026

On-device speech-to-text for short clips (up to 30s) in seven languages, yielding transcripts, word-level timestamps and per-frame speech embeddings in a single 16.9 MB model. Runs on the Needle CPU engine with 2–4 bit quantization, supports keyword biasing and returns empty transcripts for silence.