home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sound Sensations!
/
sound_sensations.iso
/
voc
/
vocboot
/
vocboot.doc
< prev
next >
Wrap
Text File
|
1992-07-05
|
5KB
|
113 lines
WELCOME TO VOCBOOT V1.0
***HISTORY***
Actually, there's very little history to VOCBOOT. I saw a nifty little
utility one day called SBBOOT, which did nothing more than play a random
.VOC file on the sound blaster. A couple of limitations to this
program, though, first, it used the program VPLAY, packed with the
SoundBlaster. Second, it only held 5 .VOC files.
This posed two problems. One, I had a ThunderBoard (A SB Compatible).
This meant that the VPLAY program didn't come with my board. I renamed
my file (PLAYFILE.EXE), only to find that the other program was also
passing parameters that weren't supported. <SIGH>
I didn't mind using an external player, since I'm not a hard-core
machine language programmer, and besides, why re-invent the wheel? But
I did want more .VOC files supported.
***DEVELOPMENT***
Well, don't laugh. It took me about 15 minutes of pounding code into
QuickBasic to develop this. It has a nice little random number seeder,
so it SHOULD be different each time you boot. It also checks to make
sure that you have at least ONE .VOC file in the configuration. It will
NOT, however, check to make sure the path and such is right. You have
up to 30 characters to specify. Personally, I have a directory that I
keep my player and .VOC files in, so it's easy to run.
The code was tested and compiled on 7/5/1992.
***USE***
Ok, OK, enough of WHY I wrote it, let's talk about HOW to use it. It
was actually my first experiment with parameter passing to a QB program
that made this a nifty program. There are only three parameters that
are used with VOCBOOT. -C , -L , and -R.
-C --- Configure
To configure the program, just enter VOCBOOT -C This will take you to
a configuration screen. Just type in the name (and optionally the path)
of your .VOC file player, and press [ENTER].
Next, you are asked for up to 20 .VOC files, that you wish to be
randomly played when you boot (or call the program). Just enter the
name, and press [ENTER]. Keep in mind that if your player requires the
.VOC extension, it should also be entered at this time. (PLAYFILE sent
with the ThunderBoard supports both .VOC and .WAV formats. Use the
extension. For that matter, you can even use .WAV files as well! Isn't
that nifty? <Grin>)
Press [ENTER] on a .VOC input if you don't wish to enter any more. You
can enter up to 20 .VOC files, and as few as 1 (although that would be a
bit tiring....)
-R --- Random Play
This is the command that should be in your AUTOEXEC.BAT. It selects one
of the .VOC files from the config file (VOCBOOT.CFG), and plays it.
Simple.
-L --- List Play
You can use this option to play ALL the .VOC files listed in the
configuration. I didn't see much use for it personally, but I included
it because the other program that I saw had it as well. <Shrug>
***SAMPLE AUTOEXEC.BAT***
Somewhere in your AUTOEXEC.BAT file, these lines (or ones like them)
should be there.
CD \TBOARD --- the directory where your files are
VOCBOOT -R --- here it is!
This method will make sure that it can find your .VOC files. As I said,
there's nothing in the program to make sure you're not lying to it.
***OTHER STUFF***
I wrote this program just mainly because I was bored, and the one that I
originally found didn't fit the bill. I don't want any money for it,
it's not worth it. It took something like 15 minutes of my time to
write and compile, and was fun. HOWEVER, I would like to just ask that
if you get it and try it out, just drop me a line. I've put my name and
address below. I'd just like to see a) if anyone really does use it,
and b) how far this thing can jump across the world.. <Grin>
If you have any comments or suggestions, or would like to discuss the
code for it, you can drop me a line.
***DISCLAIMER***
This software is provided as-is, without warranty of any kind. The
author will assume no liability for any damages, direct or consequental,
from it's use. This program may be distributed freely without charge as
long as it is unaltered, and this document is included with it. This
product is being released into the "FREEWARE" market, meaning that it is
free for all to use in it's UNALTERED FORM. This program is
copyright (C) 1992, MicroProcessor Controls.
***THE LAST WORD***
Thank you for trying this program! Don't forget to write.
Greg Baughman
Microprocessor Controls
510 Albert Ave.
Joliet, IL 60433-1101