A quick guide to the gTTS Library.

Ok, have you ever wanted a voice in your repl?
I'm here to help. This is..

gTTS for people who don't have time!

gTTS stands for Google Text-to-Speech. It's that voice you hear in Google Translate and other Google apps and products use it as well.

Ok! I know you guys just want to see the code, so let's get on with it!

Step 1: Install the gTTS library.

Step 2: Declare what you want it to say.

Step 3: Save that .mp3 file.

Step 4:

Run the program. In your "files" sidebar, you should see something like: hello.mp3.
Play it!

You are viewing a single comment. View All

@LoganSpong here is an idea for your aspiring mind, try make a python library that uses the gTTS library and the new repl.it audio library to allow actual tts. Good luck and once again good job


I fact now that I think about it maybe I might make something like that. owo


@RaidTheWeb Repl.it "play" function only allows .wav and .aiff files. Not .mp3 files. But good idea anyways!