How to update audio files

  1. Open https://docs.google.com/spreadsheets/d/1nJO1g68-nnPq9fRrWxKSwPz-LqJD8hzx1tFoX6XlGkI
  2. Copy Spanish phrases (and not the header)
  3. Paste into ~/Desktop/phrases.txt
# Use BASH, not FISH
cd ~/Desktop
mkdir audio
cd audio
perl -ne 'print "$. $_"; `say -v Jorge --progress -r150 "$_" -o "$.-out.aif"`' ~/Desktop/phrases.txt
for file in *aif; do lame -m m "$file" "$file.mp3"; done
rm *aif
rename -d '-out.aif' -- *

See

<a class="play"><audio src="http://tts-api.com/tts.mp3?l=es&q=Por favor, repita"></audio>go</a>