|
1 | 1 | Text2Speech
|
2 |
| -====== |
| 2 | +=========== |
3 | 3 |
|
4 | 4 | Version 0.1
|
| 5 | + |
| 6 | +This plugin adds the possibility (once setup with 3rd party account) to add |
| 7 | +speech to learning paths by converting text in the learning paths to audio |
| 8 | +files attached to each learning path item. |
| 9 | + |
| 10 | +This plugin requires the *installation and configuration* of the TTS software |
| 11 | +and data from Mozilla, which might be deterring to most users (sorry about |
| 12 | +that). Please refer to https://github.com/mozilla/TTS/wiki on how to download, |
| 13 | +install and configure your own TTS server. |
| 14 | + |
| 15 | +It also requires the "AI Helper" plugin to be installed, enabled and properly |
| 16 | +configured, as it connects to the learning path auto-generation feature to add |
| 17 | +audio to it. |
| 18 | + |
| 19 | +Once your TTS server is available, get a URL to connect to it, install and |
| 20 | +enable the plugin, give it an API key (if any), a host (could be localhost) |
| 21 | +and enable the plugin in the learning paths, then create a new learning |
| 22 | +path using the AI Helper plugin in the learning path tool. You should now |
| 23 | +get additional speech for every document in your learning path. |
| 24 | + |
| 25 | +## Use a Mozilla TTS server |
| 26 | + |
| 27 | +To mount your TTS server, you can use the Docker image from |
| 28 | +[synesthesiam/docker-mozillatts](https://github.com/synesthesiam/docker-mozillatts). |
| 29 | +Clone the repository and then run |
| 30 | + |
| 31 | +```$ docker run -it -p 5002:5002 synesthesiam/mozillatts:<LANGUAGE>``` |
| 32 | + |
| 33 | +(where <LANGUAGE> is one of the supported languages (en, es, fr, de) for this image. If no language is given, |
| 34 | +U.S. English is used). This image will serve the necessary API to configure in the plugin. |
| 35 | + |
0 commit comments