User Tools

Site Tools


Privacy Policy


Version 2.50 is out since Jan 1st 2022

Frequently Asked Questions


Note for contributors

If you wish to create a new page in the DroidScript wiki, please click on the most appropriate namespace above and follow the notes for contributors there.

Because of spam, it has been necessary to add a CAPTCHA to the registration form and the save option for editing pages. You will not need to prove you are human if you are logged in, so please register.

Please feel free to improve any existing page, as well as adding new pages to increase the sum of public knowledge about DroidScript.

Formatting Syntax


Table of Contents


(Information and examples taken from the DroidScript documentation)


The TextToSpeech method uses Android's speech engine to speek out loud the given text. You can specify the pitch and speed of the output with decimal values where a value of 1.0 is used for normal pitch or speed.

Note: Custom speech engines are often installed by phone manufacturers, so the quality, available pitch and speed range may vary between devices.

 app.TextToSpeech( text, pitch, speed, callback, stream, locale, engine);


function OnStart()
  app.TextToSpeech( "DroidScript is awesome!", 1.0, 1.0, myfunc, "music" );
function myfunc()
  alert("Done reading!");
built_in/text_to_speech.txt · Last modified: 2018/03/12 20:19 (external edit)