#!/bin/sh # Filename: say # Purpose: output text via flite or festival (general multi-lingual speech synthesis system) # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. # Latest change: Die Feb 06 20:38:24 CET 2007 [mika] ################################################################################ if [ $# -eq 0 ] ; then echo "Usage: $0 " exit -1 fi if [ -x /usr/bin/flite ] ; then flite -o play -t "$*" elif [ -x /usr/bin/festival ] ; then echo $* | festival --tts fi ## END OF FILE #################################################################