
A natural voice for your videos - plus captions timed to every single word.
In this hands-on project you build a Python tool that turns any script into a natural-sounding voice file and, at the same time, a subtitle file (.srt) and a word-timing file - so your captions land exactly when each word is spoken. Use Microsoft’s free online voices, or a voice that runs completely offline on your own PC.
What you’ll build
make_voice.py: text or a script file in, voice file + captions outWhat you’ll learn
What you get
You need: Windows or Mac, an internet connection for setup, and the free lessons What is Python?, What is a virtual environment? and What is text-to-speech? (links inside).
Time: about 30 minutes.