Well then it would a simple take command to the XPression. The XPression would have to have an audio only take item in the sequencer with the appropriate audio file attached. Then match up the take id with the take command you send.
So the command should be:
Replace "10.0.0.0" with the XPression ip address
Replace "1000" with the take id
rosstalk.sendMessage("10.0.0.0", 7788, "TAKE 1000");
This will cover playing it on the XPression out of which ever framebuffer is assigned to the take item.
Playing the audio file locally can be done in smart ways but I wouldn't recommend it because DashBoard was not designed to do this. If you were to this it would be along the lines of controlling a third party audio playback system on your machine or running a windows batch file. Both of which aren't ideal scenarios. So I guess this poses the question, why do you need the audio to play both locally and out of the graphics engine?
#DashBoard