AIAny
AI Audio2024
Icon for item

Speech To Speech

Chains four swappable open modules — voice activity detection, speech-to-text, an LLM, and text-to-speech — into a local voice agent that needs no proprietary APIs. Runs on CUDA, Apple Silicon, or Docker, with an OpenAI-compatible realtime WebSocket mode.

Introduction

Most voice assistants that feel responsive quietly stream your audio to a cloud API. This project takes the opposite bet: a fully local cascade where every stage — detection, transcription, reasoning, synthesis — is an open model you choose and can swap, so latency, privacy, and language coverage become things you tune rather than rent.

How the Pipeline Fits Together
  • Four stages chained end to end: Silero VAD detects speech, an STT model (Whisper, Parakeet TDT, or Paraformer) transcribes it, an LLM reasons over it, and a TTS model (Kokoro-82M, ChatTTS, or Qwen3-TTS) speaks the reply. Because the boundaries are explicit, you can debug or upgrade any single stage.
  • Each component is independent: swap a heavy Whisper for a distilled variant, or point the LLM at a local Transformers/MLX model versus OpenAI, vLLM, OpenRouter, or llama.cpp — without touching the rest of the chain.
  • Three deployment shapes ship in the box: pure local mic/speaker, a server/client TCP setup, and an OpenAI-compatible /v1/realtime WebSocket endpoint, so clients already built for that protocol work unchanged.
  • It runs across CUDA, CPU, Apple Silicon (MPS), and Docker, and handles English, French, Spanish, Chinese, Japanese, and Korean with auto-detection plus live partial transcripts.
Who It's For

Great fit if you want a privacy-preserving or offline voice agent, need to benchmark different STT/LLM/TTS combinations, or want to self-host an endpoint that speaks the OpenAI realtime protocol. Look elsewhere if you need a polished turnkey product — this is a framework that expects you to assemble and tune the pieces, and a cascaded pipeline carries more latency than an end-to-end speech model.

Information

  • Websitegithub.com
  • AuthorsHugging Face
  • Published date2024/08/07

Categories

More Items

GitHub

Runs a self-hosted meeting bot and transcription API that joins Google Meet, Teams and Zoom and streams speaker-attributed transcripts in real time. Compiles meetings into a git-backed Markdown workspace and runs sandboxed agents on your infrastructure; Apache-2.0 and air-gap capable.

Hugging Face
AI Audio2026

Generates streaming, low‑latency neural speech for real‑time dialogue by autoregressively producing audio frames as text arrives; joint text–speech training preserves natural prosody. Optimized for vLLM streaming (~50 ms first chunk), supports short‑clip voice cloning and four languages.

Hugging Face
AI Audio2026

Transcribes Arabic speech to text using a CohereLabs-trained ASR model compatible with the Hugging Face Transformers pipeline. Provides safetensors weights, endpoint compatibility and a DOI-tagged release; suitable for Arabic transcription workflows but may require adaptation for diverse dialects or noisy audio.