home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 5
/
FreshFish_July-August1994.bin
/
bbs
/
comm
/
avmnfax-1.33.lha
/
avmNfax-1.33
/
dsound.doc
< prev
next >
Wrap
Text File
|
1994-04-23
|
2KB
|
62 lines
DSound V1.31
DSound is Copyright 1991-1993 by Dave Schreiber, All Rights Reserved.
This program is freely distributable, but may not be sold (although a small
fee for copying, media, etc. may be charged).
DSound is utility I whipped together to play 8SVX sound samples
directly off a hard drive. While it only takes up a small amount of chip
RAM, it can play samples of unlimited size off a hard drive (it doesn't
work to well with floppies however). Currently, it cannot play compressed
sound files.
DSound can only be used from the hard drive. To use DSound, type
"DSound [flags] <filename>" (without the quotes), where <filename> is the
name of the file that you want to play, and [flags] are any of the flags
listed below under "Usage." To stop DSound before a sample is finished
playing, either click on the close gadget in the DSound window (which is
displayed while DSound is playing a sound sample, unless the '-w' flag is
used), press CTRL-C in the Shell window from which DSound was started, or
type "break <clinum>", where <clinum> is the number of the Shell window
that DSound is running in.
Usage:
dsound [-l][-r][-2][-f][-m][-o][-w][-n][-t]
[-s<speed>][-v<volume>][-b<bufsize>] file
Where the flags are defined as such:
-l -- Play the sample using the left speaker
-r -- Play the sample using the right speaker
-2 -- Play the sample using both speakers
-f -- Shut off the low-pass filter
-m -- Load the entire sample into memory
-o -- Play the sample continuously (loop)
-w -- Do not open the DSound window
-n -- Do not show the sample name in the window
-t -- Do not show the sample times in the window
-s<speed> -- Play the sample at the given speed (samples/sec)
-v<volume> -- Play the sample at the given volume (0-64)
-b<bufsize> -- Use a buffer of size <bufsize> (default is 30K)
If you don't specify any flags, the defaults are to play the sound out of
the first available speaker, with the filter on, at the speed and volume
specified in the soundfile.
I've included the source for DSound. To compile (using SAS/C V6) type:
smake
If you have any questions, comments, etc. regarding DSound, you can get in
touch with me at:
Dave Schreiber
1234 Collins Lane
San Jose, CA 95129-4208
e-mail: davids@cse.ucsc.edu
Note: This version of DSound was modified by Al Villarica. It has a dumb
ARexx port which allows it to be aborted from an ARexx script.