mike, Yes, I'm actually this lazy.
#!/usr/bin/bash
INPUT_FILE=$1
if [ ! -f ${INPUT_FILE} ]
then
echo "File ${INPUT_FILE} doesn't exist. Please try again."
exit 1
ficat ${INPUT_FILE} |python3 -m piper --model en_GB-alan-medium --output-raw | aplay -r 22050 -f S16_LE -t raw -
Add comment