Skip to content

SiddarthAA/Text-To-Speech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🎙️ Python Text-to-Speech Project

Project Image

🌐 Overview

Welcome to the Text-to-Speech Extravaganza! 🎉 This Python project transforms text into captivating speech with a touch of magic. Choose your linguistic adventure—whether it's a string input or a journey from a .txt file, and behold, the enchanting "Speech.mp3" emerges.

🚀 Installation

Embark on this auditory odyssey by installing the mystical dependencies with a wave of your terminal wand:

pip install -r requirements.txt

🚀 Usage

  1. Run the Main Script:

    python Main.py
  2. Choose Input Method:

    • Option 1: Text Given as String Input
    • Option 2: Text Given as .txt File
  3. Select Speech Language:

    • 1 | English
    • 2 | Hindi
    • 3 | Kannada
    • 4 | Tamil
    • 5 | Telugu
    • 6 | Malayalam
  4. Generate Speech: The resulting audio file, "Speech.mp3," will be dynamically generated and saved in the project directory.

✨ Example Incantation

from text_to_speech import TextToSpeech

# Craft your own incantation
text = "Hello, welcome to the Text-to-Speech project!"
language = 1  # Choose your language (e.g., English)
tts = TextToSpeech()
tts.convert_and_save(text, language)

🌟 Requirements

  • Python 3.x
  • Unveil the secrets hidden in requirements.txt for additional dependencies.

🌈 Contributing

Embark on this magical journey with us! Contribute your spells through issues or summon a pull request. Your wizardry is highly valued!

📜 License

-Nil-

🙏 Acknowledgements

  • Gratitude to Ms.Anupama for their exceptional wizardry.

📬 Contact

For inquiries or magical support, send an owl to Siddartha A Y at siddartha_ay@protonmail.com

About

Transform text into lifelike speech with precision using Python and Google's TTS API. Enhance accessibility and user engagement effortlessly with state-of-the-art speech synthesis technology!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages