Skip to content

Instantly share code, notes, and snippets.

@garethbowker
garethbowker / txt2polly.sh
Created February 27, 2019 11:00
Iterate through txt files, upload to AWS Polly to create MP3 files using tts
#!/bin/bash
# Available voices at: https://docs.aws.amazon.com/polly/latest/dg/voicelist.html
VOICE=Vitoria
#VOICE=Ricardo
OUTPUT="${PWD}/mp3"
mkdir -p "${OUTPUT}"