Skip to content

manish6007/python_applications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Text-to-Speech Converter

image

Overview

This is a simple Python application that converts text written in Hindi into an MP3 audio file using the gTTS (Google Text-to-Speech) library. The graphical user interface (GUI) is built using the Tkinter library, providing an easy-to-use interface for text input and conversion.

How it Works

The application provides the following features:

  1. Select Text File: Click the "Select Text File" button to choose a text file with a ".txt" extension. The contents of the selected file will be displayed in the text entry widget.

  2. Input Text: You can also directly input Hindi text in the text entry widget.

  3. Convert to MP3: After providing the input text, click the "Convert to MP3" button to start the conversion process. You will be prompted to choose a destination path to save the converted MP3 file.

  4. Status Updates: The status label will provide information about the selected file (if applicable) and any errors that may occur during the conversion process.

  5. Conversion Time: The counter label will display the time taken for the conversion process.

Dependencies

The application requires the following dependencies to be installed:

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

You can install the required packages using pip:

pip install gTTS

Usage

  1. Clone the repository to your local machine.

  2. Navigate to the project directory.

  3. Run the Python script text_to_speech_hindi_converter.py.

  4. The graphical user interface (GUI) window will appear.

  5. Follow the instructions mentioned in the "How it Works" section above.

Example

image

Give this text-to-speech converter a try, and have fun experimenting with the application. We hope it proves to be a helpful tool for your Hindi text-to-speech needs. If you have any questions or encounter any difficulties, don't hesitate to reach out for support.

Detailed article about the Text-to-Speech Converter can be found here.

Happy converting! 🎉

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages