SetListener ( VocalizerListener listener) If any speech is playing, it will be stopped. This method will stop the current speech and cancel all pending speech requests. This allows for more fine- grained control over the speech. This method will perform exactly as the speakString method with the exception that the markup within the markup string will be processed by the server according to SSML standards. SpeakMarkupString (string markup, object context) The text will be spoken as the server begins to stream audio, and VocalizerListener methods will be called to indicate speech progress. This method will send a request to the text to speech server and return immediately. SpeakString (string text, object context) Use this method to change the voice / language originally specified in SpeechKit.createVocalizerWithLanguage or SpeechKit.createVocalizerWithVoice. Set the language for subsequent speech requests. Set the voice for subsequent speech requests. A single Vocalizer may be used for multiple speech requests. This object is designed to be initialized with a language or voice and used for sequential speech requests. The Vocalizer object defines a server based text to speech implementation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |