in reply to Play mp3 by perl.
Check out Bundle::XMMS over at CPAN. It can control the XMMS multimedia player. I used it quite successfully a while back to drive an MP3 alarm clock. It would come on quietly then slowly increase the volume until I got up and shut it off.