Speech in. Understanding. Speech out.

LinguaBridge STS · English–German · real inputs, outputs, streaming and interruption control

Animated English–German speech-to-speech pipelineBrowser microphone to local Silero VAD and GPU Qwen recognition, persistent mode and memory, cloud Gemma, language-tagged phrases, separate English and German GPU voices, and ordered browser playback. Playback acknowledgments update history; new speech cancels replies. 01 / LISTEN + UNDERSTAND · LOCAL COMPUTER02 / STREAM + SPEAK REMOTE · TEXT ONLY ONE SHARED GPU TTS PROCESS PCM framesspeech audiofinal textHTTPS: finalized text + mode + selected context (12 recent turns)text streamENDEaudioaudiopreviews + final → transcriptclean reply text → UI (markers removed)completed playback → save only heard phrasesNew speech: stop browser playback first · cancel response · clear queuescancel cloud requestcancel phrase queuediscard stale inferenceBROWSER · AUDIOWORKLETMicrophoneIN: English / German / mixed speechOUT: 16 kHz mono · 512 samplesINOUTLOCAL CPU · ENDPOINTSilero VADIN: 32 ms audio framesOUT: speech start + completed turnINOUTLOCAL GPU · FP32 · EAGERQwen3-ASR 0.6BIN: cumulative utterance audioOUT: preview / final text + EN/DEINOUTLOCAL SQLITE · ROUTINGMode + memoryIN: final text + saved settingsOUT: prompt + target + contextINOUTOLLAMA CLOUD · THINKING OFFGemma 4 31BIN: final text + selected memoryOUT: streamed [en] / [de] textINOUTLOCAL · BOUNDED QUEUESParse + phrase bufferIN: language-tagged text streamOUT: ordered phrases + languageINOUTLOCAL GPU · AF_HEARTKokoro · EnglishIN: English phraseOUT: 24 kHz PCM16 audioINOUTLOCAL GPU · THORSTEN HIGHPiper · GermanIN: German phraseOUT: 22.05 kHz PCM16 audioINOUTBROWSER · WEBAUDIOOrdered playbackIN: native-rate audio chunksOUT: speech + played ACKINOUTLIVE BROWSER TRANSCRIPTPreviews + final text + clean replies Conversation: 700 ms silence · Translation: 1200 ms · Teaching: 1000 ms · no idle timeout between speakers STT previews ≥2 s · phrases 40–180 characters · interruption gate 320 ms · one browser session · one STT + one TTS process
Forward dataInterruption control

The animation shows data dependencies, not measured latency. Audio stays local; finalized text and selected context go to Ollama Cloud. STT is progressive cumulative decoding; TTS emits completed phrase chunks. Explicit app commands may update mode or notes locally without an LLM request.