home *** CD-ROM | disk | FTP | other *** search
/ Boot Disc 8 / boot-disc-1997-04.iso / PDA_Soft / Psion / sounds / SAYNUM.TXT < prev    next >
Text File  |  1993-12-29  |  2KB  |  42 lines

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