text2speech
Convert text to speech using AWS Polly.
Dependencies
This depends on oto which has some prerequisites.
Examples
Pipe text:
echo "The saddest aspect of life right now is that science gathers knowledge faster than society gathers wisdom." | ./text2speech -bucket your-s3-bucket
./text2speech -bucket your-s3-bucket -input text
MP3 output:
./text2speech -bucket your-s3-bucket -input text -output audio.mp3 # this will only write the file, it will not play it
Displaying a dashboard to monitor progress
./text2speech -bucket your-s3-bucket -input text -dashboard
Print help:
./text2speech -h