home *** CD-ROM | disk | FTP | other *** search
/ Boot Disc 8 / boot-disc-1997-04.iso / PDA_Soft / Psion / sounds / SAYNUM.WRD (.txt) < prev    next >
Psion Series 3 Word Document  |  1993-12-29  |  2KB  |  40 lines

  1. PSIONWPDATAFILE
  2. ROM::HP3.WDR
  3. BTBody text
  4.      
  5. HEHeader
  6.      
  7. NNNormal
  8.         
  9. UUUnderline
  10.      
  11. BBBold
  12.           
  13. IIItalic
  14.         
  15. EESuperscript
  16. SSSubscript
  17.      
  18. SAYNUM v0.3
  19. by Roger Burton-West <ubte30e@ucl.ac.uk>
  20. copy freely and of your own will
  21. SAYNUM is a routine to allow the Psion
  22. S3a to speak strings of numbers, using sampled sound.  Rather than just a string of digits, the output is in full spoken-number format, including correct use of "and" (not usually found in American-sourced routines).
  23. Numbers up to 999,999,999 will be spoken correctly; I have not inserted any multipliers higher than 1,000,000.  Figures after a decimal point will be spoken as a string of digits.  Leading zeros will be stripped.  Negative numbers are also catered for.
  24. The stub routine supplied in SAYNUM.OPL simple takes a number as input and speaks it aloud.  An example of a marginally more useful routine is in TIME.OPL, which speaks the current twenty-four-hour time.
  25. In general, call saynum:(n$) with the relevant string as the sole parameter.
  26. Examples of use: speaking clock, dice roller, system stats, astronomy...
  27. The .WVE files included were recorded by me, and aren't of particularly good quality; they're intended as an example, and I suggest you record your own.  (If anyone has better-sounding ones, please pass them back to me!)
  28. The .WVE file contents should be clear from their names; the only oddities are "0000000" ("million"), "000" ("thousand"), and "00" ("hundred").
  29. As is usual, I have to issue a disclaimer of liability; if anything you do with this program wrecks your love life, destroys your S3a, gets you arrested, starts World
  30. III, or indeed does anything else you consider an adverse outcome, you have my sympathies but very little else.
  31. On the other hand, comments and suggestions are always welcome.
  32. 24 November 1993
  33. Roger Burton-West
  34. ubte30e@ucl.ac.uk    
  35. HENN)
  36. HENN!
  37. BTNNM
  38. BTNNI
  39. BTNN@
  40.