home *** CD-ROM | disk | FTP | other *** search
- SAYNUM v0.3
- by Roger Burton-West <ubte30e@ucl.ac.uk>
- copy freely and of your own will
-
- SAYNUM is a routine to allow the Psion 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).
- 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.
-
- 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.
- In general, call saynum:(n$) with the relevant string as the
- sole parameter.
- Examples of use: speaking clock, dice roller, system stats,
- astronomy . . .
-
- 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!)
- The .WVE file contents should be clear from their names; the
- only oddities are "0000000" ("million"), "000" ("thousand"), and "00"
- ("hundred").
-
- 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 War III, or indeed does anything
- else you consider an adverse outcome, you have my sympathies but very
- little else.
- On the other hand, comments and suggestions are always
- welcome.
-
- 24 November 1993
- Roger Burton-West
- ubte30e@ucl.ac.uk
-