This is a simple python script that converts a pdf file to speech making use of the Azure Cognitive Services API.
- Download the zip file from the release page
- extract the zip file
- navigate in to the
private
folder - rename the
template.json
file tosecret.json
- open up the json file and enter your Azure Cognitive Services API key and Region
- drag the pdf file you want to convert to speech into the
pdf
folder - run the
PDF2Speech.exe
file and follow the command line prompts - the converted speech will be saved in the
Speech
folder asoutput.mp3
TBD