home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Education Master 1994 (4th Edition)
/
EDUCATIONS_MASTER_4TH_EDITION.bin
/
files
/
progmisc
/
digitol1
/
how2use.doc
< prev
next >
Wrap
Text File
|
1989-01-05
|
1KB
|
29 lines
HOW TO INCORPORATE DIGITIZED VOICE INTO YOUR PROGRAMS
This information applies to QuickBASIC 3.0, but should be applicable to
other programming languages with some adaptation.
To call a digitized voice file from a QB program, use the SHELL command.
Syntax is:
SHELL "PLAY [data file]"
For example, to have the file, NUMBERS.VOI, spoken during the execution
of a QB program, the line should read:
SHELL "PLAY NUMBERS.VOI"
QB's SHELL command loads a second copy of COMMAND.COM, runs the program
contained in the argument string, then returns to the calling program.
Since I'm not familiar with other languages, I assume that there's a way
to do the same thing.
.ASM source files for the PLAY.EXE and RECORD.EXE programs are included
in this archive, which should allow better programmers than I to rewrite
the routines for inclusion in their programs.
Naturally, these routines mean accessing the disk, so these programs are
best run from a hard disk.