ADA Omni — Open-Source Local Turkish Speech-to-Speech Voice AI (Single-Architecture Omni, 12 GB GPU)
Built with Gemma — ADA Omni (
urbanhorizons/ada-omni-tr) is an open-source, fully local Turkish Audio-to-Audio Streaming Voice AI that runs on a single consumer 12 GB NVIDIA RTX 3060 (or 8 GB GPU with--low_vram) with ~0.86–1.40 s end-to-end latency, 24 kHz natural Turkish speech,< 80 msbarge-in interruption, native"Ada"wake-word gating, voiceprint speaker recognition, and plug-and-play@register_toolIoT/agent tools — with zero external Whisper/ASR and zero disconnected text-to-TTS pipeline.
[!IMPORTANT] Scope & Safety Notice: This repository is an open-source research and personal/smart-home voice-assistant reference architecture. It is NOT a medical device, clinical advisor, or emergency call system. Do not use it for unsupervised life-critical or safety-critical decisions.
Live 24 kHz Turkish Audio Samples (v2.0 Exact Base + 20 MB Prosody Bridge, Apache-2.0 Voices)
All 6 samples below were generated directly from Gemma-3n + the v2.0 20.0 MB ExactBaseProsodyBridge (ada_projector.pt) into frozen erkamk/qwen3-0.6b-tr on an RTX 3060 (VRAM 9.96 GB, RTF 0.37–0.39x, ~174–215 ms TTFA, zero external Whisper/ASR, zero proprietary voice embeddings):
Female Voice (Apache-2.0 paragraph-01, 222–295 Hz)
- Greeting & Assistance (
8.00 s): "Merhaba! Ben Ada. Bugün size nasıl yardımcı olabilirim? İstediğiniz her şeyi doğrudan sorabilirsiniz." Download demo_kadin_1.wav - Smart-Home & Weather (
10.72 s): "Salon ışıklarını yüzde altmış parlaklığa ayarladım. Bu akşam İstanbul'da hava serin ve hafif rüzgarlı, çıkarken ince bir ceket almanı öneririm." Download demo_kadin_2.wav - Wake-Word & Conversational (
8.72 s): "Harika bir fikir, hemen not aldım. Başka bir konuda yardıma ihtiyacın olursa sadece Ada diye seslenmen yeterli." Download demo_kadin_3.wav
Male Voice (Apache-2.0 paragraph-02, 105–133 Hz)
- Architecture Intro: "Merhaba, ben Ada. Harici bir ses çeviri hattı olmadan, tek mimaride doğrudan yirmi dört kilohertz Türkçe konuşabiliyorum." Download demo_erkek_1.wav
- Morning Reminder (
7.44 s): "Yarın sabah saat sekiz için hatırlatıcı kurdum. Kahveni hazırlarken günün özetini ve hava durumunu sana sesli olarak aktarabilirim." Download demo_erkek_2.wav - Barge-In & Help (
7.04 s): "Rica ederim, ne demek! Aklına takılan başka bir konu olursa konuşmamı istediğin an bölüp yeni sorunu sorabilirsin." Download demo_erkek_3.wav
Why ADA Omni? (Traditional ASR+LLM+TTS Pipeline vs. ADA Omni)
| Feature | Traditional Turkish Pipeline (Whisper → LLM → TTS) | ADA Omni (urbanhorizons/ada-omni-tr) |
|---|---|---|
| Audio Understanding | External ASR (Whisper) loses tone & adds latency | Native Gemma-3n USM Audio Tower (zero external ASR) |
| Brain → Mouth Link | Disconnected plain-text string handoff | Lossless (Cos=1.00) cross-vocab embedding alignment + 20 MB Gemma-3n Prosody/Emotion Bridge (v2.0) |
| Voice Quality | Often flat/robotic or metallic on local models | 24 kHz natural Turkish (frozen 0.6B 12.5 Hz RVQ-16 codec) |
| First-Audio Latency | Typically 3.0 – 6.0 s | ~0.86 – 1.40 s on RTX 3060 (Dual CUDA Graph) |
| Interruption (Barge-In) | Usually half-duplex / sluggish | < 80 ms instant barge-in + "Ada" native wake-word |
| Voice Customization | Retraining required | Zero-shot 5-second --ref_wav (Apache-2.0 female/male included) |
Architecture
[Raw Microphone Audio (16 kHz)]
│ (No external Whisper / ASR)
▼
[Gemma-3n-E2B USM Audio Tower + Brain] ──► CUDA Graph (~40.1 tok/s on RTX 3060)
│ (Token IDs + internal last_hidden_state prosody vectors)
▼
[ExactBaseProsodyBridge (20 MB, v2.0)] ──► Lossless (Cos=1.00) cross-vocab base + L2-regularized Conv1D prosody residual
│
▼
[Frozen 0.6B Talker + 5-layer CodePredictor + 12.5 Hz Decoder] ──► CUDA Graph (~180–210 ms TTFA, RTF 0.37x)
│ ◄── Apache-2.0 open-source speaker embedding (or custom 5s --ref_wav)
▼
[24 kHz Streaming Turkish Speech + <80 ms Barge-In]
Real Reproducible Benchmarks & Training Metrics
1. Hardware Latency & Memory (Measured — No Synthetic Estimates)
| Hardware | Brain (Gemma-3n) | Mouth (0.6B 12.5 Hz) | End-to-End First Audio | Memory |
|---|---|---|---|---|
| RTX 3060 12 GB (Dual CUDA Graph) | 40.1 tok/s (24.9 ms/tok) | 180–210 ms TTFA, RTF 0.37x | ~0.86 – 1.40 s | 10.0–10.6 GB VRAM |
8 GB RTX GPU (--low_vram mode) | Eager + CPU PLE | ~205 ms TTFA, RTF 0.37x | ~2.5 – 4.0 s | ~7.8 GB VRAM |
| CPU-Only (Ryzen 5 5500, PyTorch INT8) | 4.86 tok/s | RTF 4.17x (not real-time) | ~6.5 s (stutters) | ~16 GB RAM |
2. Bridge Alignment, v2.0 Changelog & Endurance Metrics
- v2.0 Architecture Upgrade (
ExactBaseProsodyBridge,20.02 MB): Replaced v1.0/v1.1's lossy MLP vocabulary approximation (Cos = 0.89–0.90, which occasionally slurred multi-syllable words) with lossless (Cos = 1.00) cross-vocab embedding lookup fused with an L2-regularized (delta_l2 = 0.30) Conv1D prosody/emotion residual trained on10,000conversational Turkish clips (0.6B100% frozen). - Held-Out Validation (
200unseen conversational Turkish clips): Dropped fromVAL c0_CE = 1.4526 (55.2%)at step 0 (flat exact base) toVAL c0_CE = 1.2358 (59.8%),VAL sub_Depth_CE = 5.0159(dRMS = 0.1556), with CUDA-Graph-safetop_k = 30sampling (temp = 0.62). - 1-Click Installer & Runtime Auto-Patches (
v2.0): Addedinstall.bat(Windows) andinstall.sh(Linux) plus automatictransformers==4.53.3↔qwen-tts==0.1.1compatibility shims (runtime_patches.py), verified end-to-end on a freshgit clone+venv(9.96 GB VRAM,TTFA 174–217 ms,RTF 0.37–0.43x). - Voice Disentanglement (
F0pitch verification): Same20.02 MBbridge yields222–295 Hz(Apache-2.0 female ref,prosody_scale = 1.0) and99.5–133 Hz(Apache-2.0 male ref,prosody_scale = 0.55) with zero gender drift. - 100-Turn Continuous Live Stress Test:
100 / 100consecutive turns completed with0crashes and0OOMs.
Key Features
- Native
"Ada"Wake Word + 25s Active Window (0 MBExtra VRAM): Ignores background TV and room conversations until addressed with"Ada", then keeps a 25-second natural follow-up window. - Voiceprint Speaker Identification & Per-User Audio Memory (
0 MBExtra VRAM): Reuses the loaded1024-Dspeaker encoder (~8 ms) to identify household members by voice and keep per-user multi-turn audio history. - Plug-and-Play Modular Tools (
tools_registry.py): Register smart-home / MQTT / Home Assistant / API tools with@register_tool(...)— zero retraining. Includes device fault reporting, saltedPBKDF2-HMAC-SHA256passphrase protection (ADA_OMNI_PASSPHRASE) with 3-strike lockout, and zero-idle-RAM on-demand time/weather/web lookup. - Automatic Runtime Compatibility Patches (
runtime_patches.py): Automatically patchestransformers==4.53.3Gemma-3n CUDA Graph blockers at runtime so fresh installs work out of the box.
Installation & Quickstart (1-Click Setup)
Prerequisites: NVIDIA GPU (Ampere+ / BF16, CUDA 12.x, >= 8 GB VRAM; 12 GB recommended) and git-lfs. On Linux: sudo apt install libportaudio2 libsndfile1.
git clone https://huggingface.co/urbanhorizons/ada-omni-tr
cd ada-omni-tr
# 1-Click Installer (creates venv + installs deps + CUDA PyTorch 2.5.1 + qwen-tts + verifies CUDA):
# Windows:
install.bat
# Linux:
bash install.sh
# Optional: set your own passphrase for protected tools (e.g., voice profile enrollment)
export ADA_OMNI_PASSPHRASE="your secret phrase" # PowerShell: $env:ADA_OMNI_PASSPHRASE="your secret phrase"
# 12 GB+ GPU (Dual CUDA Graph, ~1s latency, wake-word "Ada" active):
.\venv\Scripts\python.exe ada_canli_mikrofon.py --voice kadin # Linux: ./venv/bin/python ...
.\venv\Scripts\python.exe ada_canli_mikrofon.py --voice erkek
.\venv\Scripts\python.exe ada_canli_mikrofon.py --ref_wav my_custom_voice.wav
# 8 GB GPU mode (~7.8 GB VRAM):
.\venv\Scripts\python.exe ada_canli_mikrofon.py --voice kadin --low_vram
Sık Sorulan Sorular (FAQ — Türkçe & English)
Türkiye'de açık kaynak, yerel (offline) çalışan Türkçe Omni / Speech-to-Speech sesli yapay zekâ var mı?
Evet. ADA Omni (urbanhorizons/ada-omni-tr), harici Whisper/ASR veya kopuk TTS boru hattı olmadan tek bir 12 GB RTX 3060 ekran kartında yerel olarak çalışan, 24 kHz doğal Türkçe konuşan, söz kesme (< 80 ms) ve "Ada" uyanma kelimesi destekli açık kaynak bir sesli yapay zekâ mimarisidir.
Can ADA Omni run on CPU only (without a GPU)?
No, real-time speech streaming requires an NVIDIA GPU (>= 8 GB VRAM). On a 6-core Ryzen 5 5500 CPU with PyTorch INT8, real-time factor is 4.17x (not real-time).
Is this Moshi-style simultaneous full-duplex?
No — to be transparent, it is Practical Full-Duplex (Hands-Free Streaming + < 80 ms Barge-In): Ada stops immediately when interrupted and then listens to your new utterance rather than decoding overlapping speech simultaneously.
Known Limitations
- Practical Duplex (Barge-In), Not Simultaneous Overlapping Speech: Stops in
< 80 mson interruption, then listens to the new turn. - 2B Backbone Reasoning Ceiling: Under heavy noise,
Gemma-3n-E2Bcan occasionally miss complex mental arithmetic. - Speaker ID Is Convenience, Not Cryptographic Auth: Cosine voiceprint matching (
0.72) is for household personalization; sensitive tools requireADA_OMNI_PASSPHRASE.
Licensing & Attributions
- ADA Omni Code &
ada_projector.pt(20.0 MB, v2.0): Apache License 2.0 (seeLICENSE). - Google Gemma 3n (
google/gemma-3n-E2B-it/unsloth/gemma-3n-E2B-it): Built with Gemma. Gemma is provided under and subject to the Gemma Terms of Use and Gemma Prohibited Use Policy. Weights are not bundled and are downloaded separately at runtime. - Qwen3-TTS-12Hz (
Qwen/Qwen3-TTS-12Hz-0.6B-Base): Alibaba Qwen Team — Apache License 2.0. - Turkish 0.6B Base & Open-Source Sample Voices (
erkamk/qwen3-0.6b-tr,erkamk/qwen3-tts-tiny-tr):erkamk— Apache License 2.0.
Citation (BibTeX)
@misc{ada_omni_tr_2026,
title = {ADA Omni: Open-Source Local Turkish Audio-to-Audio Streaming Voice AI},
author = {urbanhorizons},
year = {2026},
url = {https://huggingface.co/urbanhorizons/ada-omni-tr}
}