Statistics
| Branch: | Revision:

root / playit.sh

History | View | Annotate | Download (211 Bytes)

1

    
2
word=`echo wav/$1.mp3`
3
 
4
if [ -f $word ]
5
then
6
      mplayer -quiet -af volume=20 $word 2> /dev/null > /dev/null
7
else
8
     echo "$1" > tem.txt
9
     text2wave tem.txt -o tem.wav
10
     na_play -scale 13 tem.wav
11
fi
Redmine Appliance - Powered by TurnKey Linux