home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 1
/
GoldFishApril1994_CD2.img
/
d4xx
/
d412
/
superplay
/
superplay.doc
< prev
next >
Wrap
Text File
|
1990-12-14
|
3KB
|
73 lines
*******************************************************************************
SuperPlay
Copyright © 1990 by Jonathan Potter
*******************************************************************************
SuperPlay is a sound player. It will play any file at all, IFF 8SVX or
otherwise. If the file is 8SVX, the speed information in that file is used.
Otherwise, a speed of 10000 cycles/sec is assumed.
SuperPlay also allows you to specify a "list file". This file is simply a
list (of indefinite length) of files you wish to play. If this list file is
specified, it is read in, and the first file in the list is played. A command
line flag (-c) causes SuperPlay to play each file in turn, until stopped.
Another flag (-r) causes SuperPlay to pick files at random from the list,
instead of sequentially.
SuperPlay runs only from the CLI. The command line flags are :
-v Set volume (64 default and maximum)
-s Set speed (10000 default unless file is 8SVX)
-f Name of "list file" to play files from
-c Play files continuously
-r Play randomly from the list.
These flags may be in any order. Some example usages :
SuperPlay sound1 - play the file "sound1".
SuperPlay -v50 -s4000 sound3 - play the file "sound3" with volume
50 and speed 4000 cycles/sec.
SuperPlay -fs:soundlist -r - play one file at random from
"s:soundlist".
SuperPlay -fmylist -c -v30 - play files continuously from
"mylist" with volume 30.
SuperPlay -fdh0:list -r -c - play random files continuously from
"dh0:list".
SuperPlay ? will give you a list of command line flags.
The "list file" is simply a list of filenames (including complete pathnames
if necessary) - one on each line. On the line after each filename must be
either a * or the volume and speed for that file. A sample "list file" is :
dh0:sounds/sound1
* use default volume and speed
dh0:sounds/sound2
50 -1 use volume 50 and default speed
c:explosion
64 8000 volume 64 and speed 8000
s:moomoocow
-1 10000 default volume and speed 10000
There is no restriction on the length of each line, or on the length of the
list. -1 for either the volume or the speed will use the default; a * is the
same as -1 -1. The list MUST be in this format, or strange things will happen.
To exit SuperPlay before it has finished (or to break out if playing
continuously) click the close gadget on the small window that is opened.
This program is freely distributable. If you use this program the author would
appreciate a $5 donation. Send donations, bug reports, suggestions and general
correspondance to :
Jonathan Potter
P.O. Box 289
Goodwood, SA 5034
Australia
Phone (08) 2932788