home *** CD-ROM | disk | FTP | other *** search
-
- DSound V1.00
-
- DSound is Copyright 1991-1992 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 a CLI-only utility I've written 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. I've tested it
- on an Amiga 3000, a 2000 with an A2091 controller (BTW, I'd like to thank
- the people at HT Electronics, Sunnyvale, CA, for letting me test DSound on
- one of their 2000s), and an Amiga 1000 with a Microbotics hard drive
- controller (again, many thanks to its owner, Chad Netzer, both for the time
- he spent testing DSound and for the many useful suggestions and bug fixes).
-
- There have been a number of changes since the last version. DSound now
- supports both mono and stereo samples, and can play a either one or both
- channels of a stereo sample out of one or both speakers. A mono sample can
- also be played out of both speakers. It is now possible to load the entire
- sample into memory, rather than reading it off of disk as it is played
- (this is included so that a sample can be played from floppy). A couple of
- bugs have been fixed, and the part of DSound that reads the sample from
- disk has been made more robust. Finally, DSound has been made pure, so
- that the program can be stored in memory by using the Resident command.
-
- Usage:
- dsound [-l][-r][-f][-2][-m][-s<speed>][-v<volume>][-b<bufsize>] soundfile
-
- Where the flags are defined as such for a mono sample:
-
- -l - Play the sample using the left speaker
- -r - Play the sample using the right speaker
- -2 - Play the sample using both speakers
-
- When playing a stereo sample, the above switches have the following
- meanings:
-
- -l - Play the sample's left stereo channel
- -r - Play the sample's right stereo channel
- -2 - If this switch is used in conjunction with the -l or -r switch,
- the specified channel of the stereo sample will be played out of
- both speakers.
-
- The following switches have the same meaning for both stereo and mono
- samples:
-
- -f - Turn the low pass filter off when playing a sample
- -m - Load the entire sample into memory before playing
- -s<speed> - Play the sample at <speed> sampes per second (up to 28000)
- -s<volume> - Play the sample at a volume of <volume> (1 to 64)
- -b<bufsize> -- Use buffers of size <bufsize> (default is 30K). If
- you're experiencing breaks in the sound, try increasing
- this value.
-
- If you don't specify any flags, the defaults are (with a mono sample) to
- play the sound out of the first available speaker, with the filter on, at
- the speed and volume specified in the soundfile. With a stereo sample, the
- defaults are the same, except each stereo channel is played out of the
- appropriate speaker.
-
- DSound will open a window when it starts playing the sample, and will
- keep the window open for as long as the sample plays. If you want to stop
- DSound in the middle of a sample, click on the window's close gadget.
-
- I've included the source for DSound. To compile (using SAS/C V5.10a) type:
- lmk
-
- If you have any questions, comments, etc. regarding DSound, don't hesitate
- to get in touch with me at:
-
- Dave Schreiber
- 1234 Collins Lane
- San Jose, CA 95129-4208
- e-mail: davids@cats.ucsc.edu
-
-
-