Text-to-Speech app is a simple desktop application that converts written text into spoken words using a user-friendly graphical interface. Built with Python, it allows users to input text, choose a voice/language, and listen to the generated speech instantly.
- Python
- PyQt6
- pyttsx3
- Choose voice
- Convert entered text to speech
-
Clone the repository:
git clone https://github.com/Rajesh-K-C/text2speech-app.git cd text2speech-app -
Create and activate virtual environment
You can choose either pip or uv for installing dependencies:
Option 1: Using pip
# Create virtual environment # macOS/Linux: python3 -m venv venv # Windows: py -m venv venv # Activate the environment # macOS/Linux: source venv/bin/activate # Windows: venv\Scripts\activate # Install dependencies pip install -r requirements.txt
Option 2: Using uv (Faster alternative)
# Install uv (if not installed) pip install uv # Create and activate environment uv venv venv source venv/bin/activate # macOS/Linux venv/Scripts/activate # Windows # Install using uv uv sync
-
Run
# macOS/Linux: python3 main.py # Windows: py main.py
Contributions are welcome!
Please open an issue or submit a PR with improvements or fixes.
This project is licensed under the MIT License. You are free to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software.
Developed by Rajesh KC
For questions, suggestions, or collaborations, feel free to reach out!