Posted on: comp.os.os2.multimedia
Hi folks. I've been doing some REXX hacking lately and made some modifications to the standard PLAY.CMD script that IBM ships with MMOS/2.
After installing Timidity_MCD, I found that playing too many files with the current PLAY.CMD script resulted in losing my sound on the system and hanging the script. It turns out that the current version of PLAY doesn't free up all of its resources in all cases. I believe I've fixed this problem, in addition to adding other capabilities.
My version of PLAY supports a play list (file containing a list of media clips to play), and is capable of randomizing them. It can be
interrupted cleanly with CTRL-Break and can even recover the audio device in some cases from an errant REXX script if something goes wrong.
I figured I'd put it out there in case anyone else found it useful. You can grab it here:
http://mamodeo.dyndns.org/play.cmd
Source: OS2VOICE