I do something similar in my program ProRem.
Here is how you can apply what you need to do:
Build an audio file with the numbers and commentors. Save this file as a
separate WAV file eg reference.wav (this allows you to edit and change the
properties later. The for the file you actually use, change the properties
and save it as another filename - make sure you use minimum quality settings
to ensure the file does not get extraordinarily long eg PCM 22k 8 bit mono
(gives you a WAV file with minimum size).
In my case I made it a resource file and embedded it into the EXE, but in
your case it would be far too long so I'd suggest you construct it by using
an audio editor and getting the POS of each numerical and commentor and
logging that. Later you can extract each audio segment (eg '22' from POS
22). Perhaps it would make sense to start 0 thru 100 then 1000 2000 and
millions??? then after you have all your numericals you append additionals
such as 'decimal' 'dollar' 'dollars' 'and' 'no money left' and so on.... So
for 2462.25 you would call POS 2000, 400,(POS for) 'and', 62 (POS for)
'dollars', 25 (POS for) cents.
It will take a while to build it and get the correct positioning (maybe we
need to do an audio editor with more exact track/POS locations, but once
done, thats it and your appended area can be edited on.
Regards,
Alistair+
Anyone know of a component that can speak simple text back?? In
particular I want it to be able to read out prices given to it in the
form of
16.95
??
Steven
Wild Software Ltd
P O Box 33-216
Christchurch
NEW ZEALAND
=========================================================
I haven't lost my mind; it's backed up on tape somewhere.
=========================================================
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz