This Python program utilizes the pyttsx3
module to provide a simple Text-to-Speech (TTS) experience. The pyttsx3
module interfaces with different speech engines, such as NSSpeechSynthesizer on macOS, SAPI5 on Windows, or eSpeak on Linux.
- Python 3.x 🐍
pyttsx3
module 🎙️
- Clone the repository or download the source code.
- Install the required
pyttsx3
module using the following commands:- On Windows:
pip install pyttsx3
- On macOS and Linux:
pip3 install pyttsx3
- On Windows:
- Run the program by executing the following command in your terminal or command prompt:
pyton Text_to_speech.py
- Enter the text you want to be spoken, or type
"QUIT"
to exit the program.
- Planning to add a feature where we can upload pdf. So that it can be pdf to audio book.
- More voices to add etc.
If you'd like to contribute to this project, you can:
- Fork the repository
- Create a new branch:
git checkout -b feature/your-feature-name
- Commit your changes:
git commit -am 'Add your feature'
- Push to the branch:
git push origin feature/your-feature-name
- Submit a pull request