Skip to content

bundlab/voice-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

voice_stream_app

Python License: MIT

A lightweight Python demo that prints lines of text to console and speaks them locally using pyttsx3 โ€” a pure-Python offline text-to-speech library.

Perfect as a starting point for voice experiments, audio feedback tools, or real-time voice processing prototypes.

Features

  • Robust, thread-safe TTS โ€” pyttsx3 engine initialized inside a dedicated thread (avoids common import-time & multi-threading issues)
  • CLI-friendly โ€” full argparse support for customization
  • Continuous / one-shot modes โ€” loop forever or run once
  • Save to audio file โ€” synthesize text to WAV/MP3 without speaking
  • Graceful shutdown โ€” handles Ctrl+C, SIGTERM, etc. cleanly
  • Basic unit tests + GitHub Actions CI setup
  • Modular design โ€” easy to extend with live microphone input + speech-to-text (coming soon!)

Installation

# Recommended: use a virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install dependencies
pip install pyttsx3 pytest flake8
# or if you use poetry/uv/pipenv โ†’ add to your project

About

๐ŸŽ™๏ธ Lightweight offline Python TTS engine. Thread-safe, CLI-ready, and modular. Speak text locally or save to disk with pyttsx3.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages