This is a simple Text-to-Speech application built using Python's Tkinter library for the GUI and gTTS (Google Text-to-Speech) for converting text to speech.
This application allows users to input text, select a language, and convert the text to speech. The speech is then played using the default media player.
- Python 3.x
- Tkinter (usually included with Python installations)
- gTTS (Google Text-to-Speech)
- Clone the repository:
git clone https://github.com/yourusername/text-to-speech.git
cd text-to-speech
- Install the required Python modules:
pip install gTTS
- Navigate to the directory where the script is located:
cd path/to/directory
- Run the script:
python Text\ To\ Speech.py
- Enter Text: Type the text you want to convert to speech in the text input area.
- Select Language: Choose the desired language from the dropdown menu.
- Convert to Speech: Click the "Text-to-Speech" button to convert the text to speech. The audio will play automatically.
The application supports the following languages:
- English
- French
- Spanish
- German
- Chinese
- Hindi
- Japanese
- Korean
- Italian
- Portuguese
- Russian