Simple TTS for Visual Basic

Microsoft Speech SDK

Intelligent Interface Technologies Home Page Microsoft Speech SDK

Speech Automation 5.1

Simple TTS for Visual Basic

Introduction

Simple TTS is an elementary application showcasing text-to-speech (TTS). The application speaks the text in the text box using a default voice. Simple TTS can also save the speech to a wav file.

Options

Simple TTS has two options: Speak the text (Speak It) or save the speech to a file (Save to wav).

Speak It

Click Speak It to hear the text in the text box spoken. You can change the voice using Speech properties in Control Panel. You can change or edit the text allowing different words or phrases to be spoken, although the text reverts to a default phrase each time you open the application.

Save to wav

Select Save to wav to save the output to a wav file. This way, the text will not be spoken audibly. After selecting Speak It, a dialog box appears requesting a file name and location to save the file. Double-click the wav file to play it back. As a wav file, it may also be used for other speech purposes such as an input source for either off-line dictation or custom engine voices.

Exit

Click the close box in the title bar to exit Simple TTS.

Compile

Simple TTS is a standard Visual Basic application and does not require special support. However, the Speech reference must be active; see Creating a Speech-Enabled Visual Basic Project in Using the Visual Basic Code Examples for details to speech enable Visual Basic applications. Additionally, the samples are installed as Locked files. To modify them, they must be unlocked. To unlock, right-click the file or files, select Properties, and clear the Read-Only check box.