home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / misc / dgtz2 / how2use.doc < prev    next >
Text File  |  1989-01-04  |  1KB  |  29 lines

  1.        HOW TO INCORPORATE DIGITIZED VOICE INTO YOUR PROGRAMS
  2.  
  3.  
  4. This information applies to QuickBASIC 3.0, but should be applicable to 
  5. other programming languages with some adaptation.
  6.  
  7. To call a digitized voice file from a QB program, use the SHELL command.  
  8. Syntax is:
  9.  
  10. SHELL "PLAY [data file]"
  11.  
  12. For example, to have the file, NUMBERS.VOI, spoken during the execution 
  13. of a QB program, the line should read:
  14.  
  15. SHELL "PLAY NUMBERS.VOI"
  16.  
  17. QB's SHELL command loads a second copy of COMMAND.COM, runs the program 
  18. contained in the argument string, then returns to the calling program.
  19.  
  20. Since I'm not familiar with other languages, I assume that there's a way 
  21. to do the same thing.
  22.  
  23. .ASM source files for the PLAY.EXE and RECORD.EXE programs are included 
  24. in this archive, which should allow better programmers than I to rewrite 
  25. the routines for inclusion in their programs.
  26.  
  27. Naturally, these routines mean accessing the disk, so these programs are 
  28. best run from a hard disk.
  29.