Program to synthesize large texts (such as notes or books) in a single audio file with the service of AWS Amazon Polly.
Put the plain text files into the assets folder, execute the program and collect the audio files from the outputs folder.
Libraries needed
- mimetypes
- boto3
Install AWS Client
pip install awscli
And configure it
aws configure
This code was written quickly and surely can be optimized or improved. If you find some error or know how to improve it, please leave an issue or make a pull request.