{"id":229,"date":"2016-06-28T00:22:29","date_gmt":"2016-06-28T00:22:29","guid":{"rendered":"http:\/\/uscictdialdev.wpenginepowered.com\/?page_id=229"},"modified":"2017-05-24T00:33:50","modified_gmt":"2017-05-24T00:33:50","slug":"android-tts","status":"publish","type":"page","link":"https:\/\/dialport.ict.usc.edu\/index.php\/resources\/text-to-speech-tools\/android-tts\/","title":{"rendered":"Android TTS"},"content":{"rendered":"<p><a href=\"https:\/\/developer.android.com\/reference\/android\/speech\/tts\/TextToSpeech.html\"><strong>Documentation<\/strong><\/a><\/p>\n<p>Synthesizes speech from text for immediate playback or to create a sound file.<\/p>\n<p>A TextToSpeech instance can only be used to synthesize text once it has completed its initialization. Implement the <code><a href=\"https:\/\/developer.android.com\/reference\/android\/speech\/tts\/TextToSpeech.OnInitListener.html\">TextToSpeech.OnInitListener<\/a><\/code> to be notified of the completion of the initialization.<br \/>\nWhen you are done using the TextToSpeech instance, call the <code><a href=\"https:\/\/developer.android.com\/reference\/android\/speech\/tts\/TextToSpeech.html#shutdown()\">shutdown()<\/a><\/code> method to release the native resources used by the TextToSpeech engine.<\/p>\n<p><strong>Example:<\/strong><\/p>\n<p>Class:<\/p>\n<p><em>public class TextToSpeech<\/em><br \/>\n<em> extends\u00a0<a href=\"https:\/\/developer.android.com\/reference\/java\/lang\/Object.html\">Object<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Documentation Synthesizes speech from text for immediate playback or to create a sound file. A TextToSpeech instance can only be used to synthesize text once it has completed its initialization. Implement the TextToSpeech.OnInitListener to be notified of the completion of the initialization. When you are done using the TextToSpeech instance, call the shutdown() method to [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":0,"parent":34,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-229","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/dialport.ict.usc.edu\/index.php\/wp-json\/wp\/v2\/pages\/229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dialport.ict.usc.edu\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dialport.ict.usc.edu\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dialport.ict.usc.edu\/index.php\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/dialport.ict.usc.edu\/index.php\/wp-json\/wp\/v2\/comments?post=229"}],"version-history":[{"count":0,"href":"https:\/\/dialport.ict.usc.edu\/index.php\/wp-json\/wp\/v2\/pages\/229\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/dialport.ict.usc.edu\/index.php\/wp-json\/wp\/v2\/pages\/34"}],"wp:attachment":[{"href":"https:\/\/dialport.ict.usc.edu\/index.php\/wp-json\/wp\/v2\/media?parent=229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}