The most common release is 11.0.7400.345, with over 98 of all installations currently using this version.The setup package generally installs about 20 files and is usually about 8.69 MB (9,113,600 bytes).Relative to the overall usage of users who have this installed on their PCs, most are running Windows 7 (SP1) and Windows 10.While about 40 of users of Microsoft Speech Platform SDK x64 come from the United States, it is also popular in France and Italy.
Help others learn more about this software, share your comments. The Microsoft Speech Platform Runtime contains both a managed (.NET) and native (COM) API for developing Server based speech applications. The most used version is 11.0.7400.345, with over 98 of all installations currently using this version. The setup package is about 2.55 MB (2,674,688 bytes) when donwloaded. In comparison to the total number of users, most PCs are running the OS Windows 10 as well as Windows 7 (SP1). ![]() Microsoft Speech Platform 11 How To Use TheThe example illustrates how to use the Speak and SpeakStream methods, how to select a specific voice, and how to set the output audio stream to a wav file. Since SPSF22kHz16BitMono is the preferred wav format of the Microsoft English TTS engine, it is selected as the output audio format for the better audio effect. In the following example, the ISpVoice::SetOutput() method must be called to set the audio outputs to the right stream. This is because, by default, the output is set to the default audio device. For the simplification, ISpVoice::Speak() is called synchronously. If you want to speak asynchronously, change the speak flag to SPFASYNC and call ISpVoice::WaitUntilDone() after the ISpVoice::Speak() waiting for the completion of the speak process. After the creation of an SpFileStream object, a default format, SAFT22kHz16BitMono, is assigned to the object so that user does not need to explicitly assign a wav format to it unless a specific wav format is needed. In this example, ISpeechFileStream.Open creates a wav file, ttstemp.wav, and binds the FileStream to the file. The third parameter of ISpeechFileStream.Open is the Boolean, DoEvents. However, the user should always set it to True to display SAPI events while playing back the wav file. If the parameter is set to False, no engine events will be stored in the file, resulting in that no engine events will be fired during the wav file play back. Create a file; set DoEventsTrue so TTS events will be saved to the file. In the example, SpEnumTokens, a SAPI helper method, is used to enumerate available voice tokens under the key. SpEnumTokens returns a token enumerator containing all tokens meeting a set of required and optional attributes. Tokens in the enumerator are sorted in the order of best matches rule. In the following example, the required voice attribute is NameMicrosoft Sam and there are no optional attributes. SpEnumTokens here will return all of the voice tokens with NameMicrosoft Sam voice attribute. Through IEnumSpObjectTokens::Next() method, you can find the best voice token and then set it as a current voice by calling ISpVoice::SetVoice() method. Now the Microsoft Sam voice has been chosen as a current voice. Please note, you may choose to use ISpVoice:: SpeakStream to speak a file. In that case, you need to call SPBindToFile, a helper function, to bind the text file to an ISpStream object, and then call ISpVoice::SpeakStream. This example assumes a text file (ttstemp.txt) containing the text to be spoken already exists. ISpeechVoice.SpeakStream is used here to speak an SpFileStream that has been bound to the file.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |