TTS Android Basic is a text to speech extension for Android, This extension is intended for use on gamemaker 1.4 and early access 1.99 and you must have the android module to use it. This extension will let you input text and have the computer speak the text. Example project is included and a readme file is also included in the included files of the example project. Below is a list of the available functions and return type names from the extension:
Functions- 1. endTTS()- shuts down TTS. make sure to call this before ending game! 2. speakIT()- ciri speaks whatever text you input. 3. SstInit()- call once to start text to speech, only call again if you've called endTTS() and want to restart text to speech. 4. canSpeak()- check weather text to speech is initialized. Returns integer 0 for not initialized or 1 for is initialized. 5. countryC(String)- change the default language, string can be "usa", "canada", "germany", "italy", "japan" or "china". 6,7. permissions. 8. adjPitch(double)- adjust the pitch, must be greater than 0.0, lower number = deeper the voice 1.0 is normal. 9. adjSpeed(double)- adjust the speed, must be greater than 0.0, lower number = slower speech.
Social async types returned to gms: NOTE all values are returned as strings 1. initted- Query weather TTS is running. 2. whostalking- Returns "2" when computer starts speaking. 3. compsays- Converts Computer's spoken words to text.
Here is a link to a completed test APK so you can check it out: https://drive.google.com/open?id=0B4uEFC9Ii8BnMzdINFlNamhxS3M
IMPORTANT NOTE: You must have a tts engine on your android device, most android devices come with the engine but most do not have the language plugins, but the extension will prompt you to install them if they are missing. ALSO the chinese and japanese languages require a 3rd party tts engine and language plugins to work and they may have to be installed manually, but that shouldn't be a problem if you live in those countries.
Removed unnessesary permission RECORD_AUDIO
Version 1.4.0. Published May 30, 2017
Created with GameMaker: Studio v1.99.533
This asset hasn't received enough reviews yet.
You can only review assets you've bought.
No reviews have been left for this asset - be the first!
Total size 1.35 MB