Playing wav sound file in Linux in background?
Andre Garzia
andre at andregarzia.com
Wed May 19 15:11:45 EDT 2010
John,
Try using the command like
shell("aplay path-tofile &")
This last & will run the command in the background, the command should
return imediatly to the stack while the sound play (I think, untested)
On Mon, May 17, 2010 at 8:04 PM, John Patten <johnpatten at mac.com> wrote:
> Hi All...
>
> I've been having a problem playing back an audio file on a Linux computer
> using an "arecord" a shell script to first create the audio file.
>
> The audio file gets created on the local machine, it then gets uploaded to
> an ftp directory, however when I go to play the sound file locally using
> just Rev it's just static white noise.
>
> If I again, use the shell script to play the audio file, "aplay
> path-tofile," it plays fine. However the user can't do anything with my
> stack until the file completely finishes playing.
>
> Is there any way to play the audio file via the shell script in the
> background and still allow the user to interact with the stack?
>
> Thank you!
>
> John Patten
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
--
http://www.andregarzia.com All We Do Is Code.
More information about the use-livecode
mailing list