Introduction
Mstts (Microsoft Text-to-Speech) is a powerful English text reading engine developed by Microsoft, which converts English text messages in documents into computer voice messages and reads them aloud through the sound card of a computer. Using it and the relevant voice interface to develop English pronunciation teaching software, can achieve the pronunciation of English words and the whole paragraph of English fluent reading demonstration. Thus, the students can be in the classroom or without a teacher, from the software to obtain the standard English pronunciation of the auxiliary, which for some poor pronunciation of English learners have great help.
Introduction to Mstts Engine
To use Mstts technology during software development, you must install the Mstts engine. Mstts Engine installation package can be downloaded from the official website of Microsoft Company, also can be found in the installation disk of "Kingsoft PowerWord" software. After the installation package is run, the Mstts engine will be installed in the system, and the "Microsoft text-to-speech Engine" Uninstall entry will appear in the Add/Remove program in the operating system control Panel. After installing the Mstts engine, the Borland Delphi platform can use Mstts technology to develop the corresponding English teaching software and realize the functions of reading aloud in English.
Design principle
1. Principle of Software Design
The design principle of software in Delphi platform is to realize the function of English text reading by calling Microsoft Voice Interface (MS Speech API). The MS Speech API is installed in the same way as the Mstts engine, and can be found on the Microsoft Official website or in the "Kingsoft PowerWord" installation disk. After running Spchapi.exe, a speech subdirectory is generated in the Windows directory, which has a vtxtauto.tlb file, which is the corresponding type library, which gives a language-independent description of the server's interface; Vcmd.exe as an out-of-process Automation server, provides a service to convert text to speech Works
The function of the software is divided into three modules: Voice display module, voice control module and editing module. In the speech display module, the Reading object will be dynamically displayed, that is, the processing object of the speech Automation server, and the Voice operation module provides a series of voice operations, that is, the dynamic personalized processing of the voice service; the editing module is the individuality setting of the text content, satisfies the special user's demand. The principle of the software is shown in Figure 1.