{"repo":"KoljaB/RealtimeTTS","free":true,"listed":false,"github":"https://github.com/KoljaB/RealtimeTTS","clone":"git clone https://github.com/KoljaB/RealtimeTTS.git","description":"Converts text to speech in realtime","language":"Python","stars":4012,"topics":["python","realtime","speech-synthesis","text-to-speech"],"license":"MIT","category":"ai-agents","readme_excerpt":"RealtimeTTS RealtimeTTS is a Python text-to-speech library for applications that need to turn strings, generators, and LLM token streams into audio with low latency. It can play speech locally, stream chunks to another process, write WAV files, and fall back across multiple engines. The project supports a broad engine matrix: local system voices, cloud APIs, free service wrappers, local neural models, and voice-cloning stacks. Support RealtimeTTS If RealtimeTTS saved you time, one GitHub star is a simple way to help make it more stable. Stars improve visibility, and visibility brings more users, more real-world testing, more bug reports, more fixes, and better releases for everyone. Demo https://github.com/KoljaB/RealtimeTTS/assets/7604638/87dcd9a5-3a4e-4f57-be45-837fc63237e7 Install For the fastest local smoke test, install the system engine: On Linux, install PortAudio headers before installing PyAudio: On macOS: For cloud engines, local neural engines, CUDA, mpv , and current packaging caveats, see docs/installation.md. First Audio Use the if name == \" main \": guard in scripts, especially on Windows and when using engines that start worker processes. Streaming Text feed() accepts an iterator, so text can arrive while audio is already playing: Use the same pattern with an LLM client by yielding only non-empty text chunks. See docs/llm-streaming.md. Output Write audio to a WAV file without local speaker playback: For output devices, mpv playback, muted mode, callbacks, and c","default_branch":null,"files":null,"tree":[],"storefront":"/r/KoljaB","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/KoljaB/RealtimeTTS/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}