On my Linux system, the following will play a wave file in a bash shell: mplayer tata.wav NB. Check the doc of mplayer
Using the task script, you could call mplayer from J: load'task' _1 fork_jtask_ 'mplayer tata.wav' shell 'mplayer tata.wav' Both will play a .wav file in sync, the first without an output, the second with the same output as in bash. To fork the play without waiting, use fork_jtask_ without a left arg. In J701, task.ijs is under /system/main . ~ Gilles ---------- Original Message ----------- From: Raul Miller <rauldmil...@gmail.com> To: programm...@jsoftware.com Sent: Tue, 30 Oct 2012 09:06:37 -0400 Subject: Re: [Jprogramming] Playing WAV files > Yes, I think you are right. Using the cd mechanism documented at > http://jsoftware.com/help/user/dlls.htm to call relevant routines > from a relevant .so file is probably the fastest way to play wav files. > ... ------- End of Original Message ------- ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm