Skip to content

Instantly share code, notes, and snippets.

@r00tw33d
Created December 30, 2009 10:02
Show Gist options
  • Save r00tw33d/265957 to your computer and use it in GitHub Desktop.
Save r00tw33d/265957 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Descripción:
# Script para convertir archivos de texto en
# archivos mp3 con voz robótica xD
# Uso:
# ./convierte.sh in.txt out.mp3
# Requiere:
# (espeak, lame)
# sudo apt-get install espeak lame
# sudo chmod +x convierte.sh
espeak -v es -s 140 -p30 -f $1 -w .out.wav
lame .out.wav $2
rm .out.wav
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment