Category "gtts"

How can I efficiently convert gtts audio into pydub audiosegments?

I want to manipulate gtts audio in pydub but I am not sure how to translate gtts file like to pydub audio. I know that I can convert google text to speech audi

Playsound only plays the mp3 file once and then gives the error "Permission Denied"

I am using Playsound and gtts in Spyder IDE which creates an mp3 file and then plays it. import gtts from playsound import playsound #pass text to gTTS object