Export (0) Print
Expand All
0 out of 12 rated this helpful - Rate this topic

Simple TTS for Visual Basic (SAPI 5.3)

Speech API 5.3

Microsoft Speech API 5.3

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.