The code I used to dub my paper videos without requiring human help.
Windows, preferably 7 or 10 for reasonable voice quality.
python speech.py speech.vbs example.tex
python google_speech.py example.tex
The output will be in the .wav files.
python openAI_speech.py example.tex
The output will be in the .mp3 files.