Skip to content

Files

Latest commit

 

History

History

Text to Speech

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Text-to-Speech Application

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.

Description

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.

Requirements

  • Python 3.x
  • Tkinter (usually included with Python installations)
  • gTTS (Google Text-to-Speech)

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/text-to-speech.git
    cd text-to-speech
  1. Install the required Python modules:
    pip install gTTS

How to Run the Script

  1. Navigate to the directory where the script is located:
    cd path/to/directory
  1. Run the script:
    python Text\ To\ Speech.py

Usage

  1. Enter Text: Type the text you want to convert to speech in the text input area.
  2. Select Language: Choose the desired language from the dropdown menu.
  3. Convert to Speech: Click the "Text-to-Speech" button to convert the text to speech. The audio will play automatically.

Supported Languages

The application supports the following languages:

  • English
  • French
  • Spanish
  • German
  • Chinese
  • Hindi
  • Japanese
  • Korean
  • Italian
  • Portuguese
  • Russian

Acknowledgments