Ti.iSpeech is available under the MIT license. ISpeech is a registered trademark of iSpeech, Inc. Appcelerator Titanium is a trademark of Appcelerator, Inc. Legal StuffĪppcelerator is a registered trademark of Appcelerator, Inc. Please consider following the Twitter for updatesįor module updates, Titanium tutorials and more please check out my blog at benCoding.Com. Please check the module's example folder orįor samples on how to use this project. The resume parameter allows you to indicate if iSpeech should resume after being interrupted. The bitrate parameter allows you to adjust the bitrate used. The speed parameter allows you to adjust the speed the speech is read. If this is not provided, the default voice will be used. ![]() The voice parameter allows you to provide a custom voice. The start method is used to start speaking a phrase using the API. Ti.API.info("Are you already speaking? " + speak.isSpeaking()) By default this is set to TYPE_DICTATION. The type of text operation you wish to have performed. For example, this method can be used to record a voice note from a user. While you are speaking the APIs will be used to convert your voice into text. The start method is used to start the dictation process. Ti.API.info("Are you already recording? " + dictate.isRecording()) The following shows how to recognize when someone asks to call one of the individuals listed below. If you are using a custom model, you can set this value to the model you wish to use. The locale used to determine the speakers language. This toggle determines of the recognizer should complete based on silence detection. The silenceDetection parameter is true by default. The commands dictionary defines the key works and phrases you wish to recognize. The onComplete callback is triggered on finish, error, cancel, or other completion action. The start method takes a dictionary with the following elements. For example you can use this method to listen for a user saying a voice command such as "call Bob". While you are speaking the APIs will look for the keyword commands provided and trigger an event once matched. The start method is used to start the command recognization process. Ti.API.info("Are you already recording? " + recognize.isRecording()) Var recognize = ispeech.createRecognizer() If you don't do this, you will not be able to build your project. Installation of supporting files īefore running your project, you need to copy the platform folder, found /platform folder in your project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |