Browse Source

add voxygen doc + set default language

nico 8 years ago
parent
commit
6b7b2d6130
3 changed files with 14 additions and 3 deletions
  1. 1 2
      settings.yml
  2. 11 0
      tts/voxygen/README.md
  3. 2 1
      tts/voxygen/voxygen.py

+ 1 - 2
settings.yml

@@ -61,8 +61,7 @@ text_to_speech:
       language: "fr-FR"
       cache: True
   - voxygen:
-      language: "fr"
-      voice: "Fabienne"
+      voice: "Agnes"
       cache: True
   - acapela:
       language: "sonid15"

+ 11 - 0
tts/voxygen/README.md

@@ -0,0 +1,11 @@
+### Voxygen
+
+This TTS is based on the demo of the [Voxygen engine](https://www.voxygen-group.com/)
+
+| Parameters | Required | Default | Choices                                                              | Comment                                                                                       |
+|------------|----------|---------|----------------------------------------------------------------------|-----------------------------------------------------------------------------------------------|
+| voice      | yes      |         | [see the full list](https://www.voxygen-group.com/). Example: "Emma" | Do not set any accent. For Example the voice "Agnès" will be "Agnes" is the settings.yml file |
+| cache      | no       | TRUE    |                                                                      | True if you want to use the cache with this TTS                                               |
+
+
+

+ 2 - 1
tts/voxygen/voxygen.py

@@ -16,7 +16,8 @@ TTS_CONTENT_TYPE = "audio/mpeg"
 class Voxygen(TTSModule):
 
     def __init__(self, **kwargs):
-        super(Voxygen, self).__init__(**kwargs)
+        # voxygen does'nt need a language. The name of the voice correspond to a lang
+        super(Voxygen, self).__init__(language="any", **kwargs)
 
         self.voice = kwargs.get('voice', None)
         if self.voice is None: