I'm not going to say that shell script can't... but I will say it's probably not a great idea. I mean, assuming the proper rights, you might be able to use simple output redirection to sends the contents of the song directly to the output device. This depends on a huge number of factors, and the song will likely need to be converted first... but it could be done I guess.
Personally, I'd do it in C++, by using some of the mad open source libraries out there...... it would be pretty simple really.... learn a few types, make a few classes, play a few songs.
Comatose
Taboo Programmer
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
Depends on the OS. I would probably use WXWidgets (cross platform), fltk (cross-platform), or QT (cross-platform). You can create a pretty nice interface with these libraries. Borland C++ is a compiler (program that converts c++ source code to machine code). You can use something like code::blocks (WITH MINGW). It's a pretty good IDE/Compiler. Since the question is about shell scripting though.... how would you make an interface with shell scripts?
Comatose
Taboo Programmer
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215