Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/CoughDrop/extra-tts
TTS library used by CoughDrop mobile apps
https://github.com/CoughDrop/extra-tts
aac cordova speech-synthesis
Last synced: 2 months ago
JSON representation
TTS library used by CoughDrop mobile apps
- Host: GitHub
- URL: https://github.com/CoughDrop/extra-tts
- Owner: CoughDrop
- License: mit
- Created: 2016-04-26T21:53:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-16T20:42:44.000Z (over 1 year ago)
- Last Synced: 2024-06-26T18:00:25.960Z (7 months ago)
- Topics: aac, cordova, speech-synthesis
- Language: Objective-C
- Size: 17.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-assistivetech - Extra TTS - Used to offer additional speech synthesis engines in cordova apps. (Speech Synthesis)
README
# 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.
Look for `TTS.setLicense` and you'll find the lines that need to be
changed.## 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: "",
text: "Good afternoon if that's time time"
}]);
```## License
MIT License## TODO
- add examples (in the mean time, you can see how we're using it in
the TTS section here, https://github.com/CoughDrop/coughdrop/blob/master/app/frontend/app/utils/capabilities.js)
- specs (stop judging me, I'm not a native app developer)
- move android license to a config file so nobody has to rewrite code