#!/bin/sh
# Reads text file with Textlus utility and RHVoice speech synthesizer
# Michael Pozhidaev <msp@altlinux.org>
# Date: 2011-04-14

THIS="${0##*/}"

if [ "$1" == '--help' ]; then
cat <<EOF
$THIS: reads text file with Textlus utility and RHVoice speech synthesizer
All command line parameters are passed to textlus without any changes.
EOF
    exit 0
fi

exec textlus --synth 'RHVoice -r 1.4 | aplay 2> /dev/null' --output none "$@"
