Internally, I’d like to muck with playing files in the embedded Linux – how?
The linux playsound program will play a wav file and there is a test.mp3 in the /usr/share/mfg directory. You can try to play this file by cd /usr/share/mfgtest cp test.mp3 /dev/mp3 If you hear a trumpet it worked. Other bitrate files may or may not work. Devices probably have to be set up with ioctl calls. Getting a little more sophisticated, you can use the player’s TCP control socket to force the MP3 device closed so that your script will work (sending “dev_close” should do that). If it is useful to you, the player can also mix PCM and MPEG layer 2 audio, so if you have a WAV file and an MPEG1 layer 2 audio clip, you can send them to /dev/dsp and /dev/mp2 simultaneously. You’ll probably need a small program for the WAV file, though, in order to read the frequency, bits per sample, and number of channels to set up /dev/dsp with the Linux ioctl() call. Post your ideas to http://p097.ezboard.com/fprismiqunofficialforumfrm7 and the community may help.