schr-0dinger / edge_tts_gui

10 stars 0 forks source link

EDGE TTS GUI

Screenshot

EDGE TTS GUI is a graphical user interface (GUI) application built with CustomTkinter that utilizes the edge-tts library to convert text to speech using Microsoft's online text-to-speech service. This application allows users to input text, select a voice, and adjust speech parameters such as rate, pitch, and volume. It also provides options to preview the generated speech and save it as an audio file.

Features

Installation

Method 1 (Windows Executable):

  1. Download the Standalone Executable:

    • Go to the Releases page.
    • Download the latest version of edge_tts_gui.exe.
  2. Run the Application:

    • Double-click the downloaded edge_tts_gui.exe file to start the application.

Method 2:

Prerequisites:
  1. Install dependencies:

    pip install edge-tts CTkMessageBox customtkinter pydub
  2. Clone the repo

    git clone https://github.com/schr-0dinger/edge_tts_gui.git
  3. Run edge_tts_gui.py

    python edge_tts_gui.py

Usage

  1. Interface Overview:
    • Text Input: Enter the text you want to convert to speech.
    • Voice Selection: Select a voice from the dropdown menu.
    • Adjust Parameters: Use the sliders to adjust rate, pitch, and volume.
    • Generate: Click the "GENERATE" button to save the speech as an audio file.
    • Preview: Click the "PREVIEW" button to listen to the speech before saving.
    • Save Options: Choose how you want to name the output file.

To-do List

Dependencies

All necessary dependencies are bundled within the standalone executable, so you don't need to install anything else if you using the executable.

Project Description

This project is essentially a GUI version of the edge-tts library, which allows users to use Microsoft Edge's online text-to-speech service from Python WITHOUT needing Microsoft Edge, Windows, or an API key.

Contributing

Contributions are welcome! Please open an issue or submit a pull request if you have any improvements or bug fixes.

Acknowledgements

Special thanks to the developers of the edge-tts library for making this project possible.