Skip to content

This Python script allows users to convert text into speech using Google's gTTS library. It can take text input manually or from a text file and outputs an MP3 audio file with the spoken version of the text.

Notifications You must be signed in to change notification settings

heytanix/Text2Audio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Text2Audio Converter

This Python script allows users to convert text into speech using the gTTS (Google Text-to-Speech) library. It provides an option to either manually input text or upload a text file, and then converts the provided text into an MP3 audio file.

Table of Contents

Features

  • Text Input Options: Users can choose to input text manually or upload a text file.
  • MP3 Conversion: The script converts the text into an MP3 audio file using the gTTS library.
  • Error Handling: Handles file read errors and other exceptions gracefully, providing user-friendly feedback.

Requirements

To run this script, you need the following:

  • Python 3.x
  • gTTS library

Installation

You can install the required library using pip:

pip install gTTS

About

This Python script allows users to convert text into speech using Google's gTTS library. It can take text input manually or from a text file and outputs an MP3 audio file with the spoken version of the text.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages