While this is not as good as a built-in text to speech command, it's better than nothing.
Here is a suggestion for those of you that might want to add speech capabilities to your programs. I have seen the post about a TB library from PleasantCrab.com, but it only works with TB Gold.
This should work for any version of TB. First, you need to download the 2nd Speech Center Trial version (Free) from (and install it):
[http://www.share2.com/texttospeech/](https://)
When this application is run as a windows application it has some annoying TRIAL features, but ... when it's run from the command-line (hint hint) those annoyances aren't present.
Here's some sample code to give you an idea of how to use it:
OPTION TYPO
LOCAL text$
DO
LINE INPUT PROMPT "Text: ": text$
IF UCASE$(text$) = "END" THEN EXIT DO
OPEN #1: NAME "temp-tss.txt", CREATE NEWOLD
ERASE #1
PRINT #1: text$
CLOSE #1
CHAIN "!C:\Program Files\iisc\iisc.exe /tts" & " temp-tss.txt -e 9", RETURN
LOOP
END
Get the idea. Get your text from keyboard input or from DATA statements and write them directly to a file. Have the CHAIN statement run the Speech Program as a command-line program and have it use your created text file (that's what the /tss is for). The -e 9 is an option that changes the voice (in this case to a female voice). Instant speech from your TB program. The opportunities are up to your imagination.