Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ When you Add a projectAdd it to the README for ease of finding it
* [Random Password Generator](https://github.com/larymak/Python-project-Scripts/tree/main/RandomPassword)

* [YouTube Video Downloader](https://github.com/larymak/Python-project-Scripts/tree/main/YoutubeDownloader)

* Text to Audio

_more coming soon_

Expand Down
9 changes: 9 additions & 0 deletions texttoaudio/code.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

audio='speech.mp3'
from gtts import gTTS
from playsound import playsound
lang='en'
playsound(audio)
sp.save(audio)
sp=gTTS(text=text,lang=lang,slow=False)
text="hELLO, OPEN SOURCE!"