ktiniatros/TTS-iOS7
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Appcelerator Titanium iPhone Module Project
================================================
= =
= EXPOSING TEXT TO SPEECH iOS7 API to Titanium =
= =
================================================
How to use:
Require the module, I advise you to use this instance for your whole project, as it maps to an instance of the native AVSpeechSynthesizer class
var TTS = require("com.giorgos.ttsios7");
Start speaking:
TTS.speak({
text:"Some text",
pitch:1.5,
rate:0.1
});
Stop speaking:
TTS.shutup();
For rest functionalities check the example app.js