#!/bin/sh
if [ "${1}" = "${1%*.mp3}" ]
then
	echo "usage: $0 my_song.mp3"
	exit
fi
if [ ! -f "${1}" ]
then
	echo "file not existed"
	exit
fi

mp3=$1

killall -q -9 madplay 2>&1 >/dev/null
madplay -R 48000 -o /dev/sound/dsp ${mp3} 2>&1 >/dev/null
