Text to Speech Converter This is a simple Python script that converts text to speech using the Google Text-to-Speech (gTTS) library. The converted speech is saved as an MP3 file.
Features: Converts text input to speech in the specified language. Supports multiple languages. Allows users to specify the filename for the output speech file.
Usage: Run the script. Enter the text you want to convert to speech when prompted. Enter the language code (e.g., 'en' for English, 'fr' for French). Enter the filename for the output speech file (without the extension). The default filename is output.mp3. After conversion, the speech file will be saved in the current directory with the specified filename.
Dependencies: gTTS library