Skip to content

CoughDrop/extra-tts

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ExtraTTS

Used to offer additional speech synthesis engines in cordova apps.

Requirements

Built on top of Acapela's speech engine. On both Android and iOS you'll need to raeach out to Acapela to get the needed libraries and license files. Demo packages should work for testing. For iOS you'll include the license file once you get it. For Android you'll need to replace the code in the init method in ExtraTTS.java with your license code.

Usage

cordova plugin add https://www.github.com/coughdrop/extra-tts.git

window.cordova.exec(function(res) {
  console.log('ready!');
}, function(err) {
  console.error('not ready');
}, 'ExtraTTS', 'status', []);

window.cordova.exec(function(list) {
  // list of available voice ids
  console.log(list);
}, function(err) { }, 'ExtraTTS, 'getAvailableVoices', []);

window.cordova.exec(function() {
  console.log("done speaking");
}, function(err) { }, 'ExtraTTS', 'speakText', [{
  voice_id: "<voice id from list>",
  text: "Good afternoon if that's time time"
}]);

License

MIT License

TODO

About

TTS library used by CoughDrop mobile apps

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published