home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- #BK
- #this is a script to play sound files.
- #Puppy has wavplay*, plays riff, rif, voc, wave, wav
- # mpg123*, plays mp3 ...um now i think madplay. ...now play.tcl.
- #note, Sox audio converter has a script called play*
- #and Sylpheed calls it to play sound files. Puppy doesn't
- #currently have Sox installed, so using this script instead.
-
- echo $1 | grep ".wav"
- if [ $? -eq 0 ];then
- wavplay $1
- else
- #echo $1 | grep ".mp3"
- #if [ $? -eq 0 ];then
- # madplay $1
- #fi
- #play.tcl $1
- gxine $1
- fi
-