home *** CD-ROM | disk | FTP | other *** search
-
- DSound V0.91a
-
- DSound is copyright 1991 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 (eventually, once 2.0 comes out for all Amigas,
- I'd like to revise this program to use some 2.0 features; until then,
- this 1.3-compliant version will be the current release). 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). I've
- tested it on an Amiga 3000 and 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 it works fine on both.
-
- Note #1: Currently, DSound cannot play compressed sound files.
-
- Note #2: The technique DSound uses to read in the 8SVX sound samples
- isn't as robust as it could be. When 2.0 comes out I'll use the iff
- parsing library that comes with 2.0, but for the time being, don't be
- surprised if DSound has trouble reading all but single sample 8SVX files.
- DSound works fine with mono sound samples written by the Perfect Sound V3.x
- software; I haven't tried it with samples written by other packages.
-
- Usage:
- dsound [-l][-r][-f][-s<speed][-v<volume] soundfile
-
- Where the flags are defined as such:
- -l - Play the sample using the left speaker
- -r - Play the sample using the right speaker
- -f - Turn the low pass filter off when playing a sample
- -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 two 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 to play the sound out of
- the first available speaker, with the filter on, at the speed and volume
- specified in the soundfile.
-
- 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:
- lc -Lcd -v DSound
-
- 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@ucscb.ucsc.edu
-
-
-