Hi Stephen,
That looks like a good start, but here is one that I have been developing for a while that is a little more complex. Most importantly, it stops the current playing track (while currently playing) before loading a new track.
Here is the information that I included within the plugin:
-Load'n'Play Wave Player-
This is a 48kHz 16Bit Stereo Wave file player for the NION. It plays one track at a time, but can play up to 32 different tracks. When one track is playing and a different track is selected, it will stop the current track and start playing the most recently selected track.
If you put the wave files into the "Media" tab in NWare, you can simply type in the name of the file under the "File Name" column. If you use FTP to load the wave files into the NION, you should format the text in the "File Name" column like this for a file called "music.wav" remember, capitalization is important!
ftp/music
Post's attachments
Load-n-Play Wave File Player 32-Tracks.npp
26.03 kb, 1142 downloads since 2012-12-10