Skip to content

Instantly share code, notes, and snippets.

@lloyd
Created September 9, 2009 19:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lloyd/184001 to your computer and use it in GitHub Desktop.
Save lloyd/184001 to your computer and use it in GitHub Desktop.
var ttsService = {
service: "TextToSpeech",
version: "1",
minversion: "1.0.2"
};
BrowserPlus.init(function(res) {
BrowserPlus.require(
{services: [ ttsService ]},
function(r) {
BrowserPlus.TextToSpeech.Say(
{ utterance: "text to speech is activated" },
function() {} );
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment