Skip to content

Commit 809c2ce

Browse files
authored
Merge pull request #115 from readbeyond/devel
Fix bug in Nuance TTS wrapper, v1.6.0.1
2 parents 82a2a86 + cb883f3 commit 809c2ce

File tree

6 files changed

+64
-53
lines changed

6 files changed

+64
-53
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
**aeneas** is a Python/C library and a set of tools to automagically synchronize audio and text (aka forced alignment).
44

5-
* Version: 1.6.0.0
6-
* Date: 2016-09-26
5+
* Version: 1.6.0.1
6+
* Date: 2016-09-30
77
* Developed by: [ReadBeyond](http://www.readbeyond.it/)
88
* Lead Developer: [Alberto Pettarin](http://www.albertopettarin.it/)
99
* License: the GNU Affero General Public License Version 3 (AGPL v3)

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ aeneas
44
**aeneas** is a Python/C library and a set of tools to automagically
55
synchronize audio and text (aka forced alignment).
66

7-
- Version: 1.6.0.0
8-
- Date: 2016-09-26
7+
- Version: 1.6.0.1
8+
- Date: 2016-09-30
99
- Developed by: `ReadBeyond <http://www.readbeyond.it/>`__
1010
- Lead Developer: `Alberto Pettarin <http://www.albertopettarin.it/>`__
1111
- License: the GNU Affero General Public License Version 3 (AGPL v3)

aeneas/ttswrappers/nuancettswrapper.py

+48-48
Original file line numberDiff line numberDiff line change
@@ -221,53 +221,53 @@ class NuanceTTSWrapper(BaseTTSWrapper):
221221
""" English (USA) """
222222

223223
LANGUAGE_TO_VOICE_CODE = {
224-
CMN_CHN: "Tian-Tian",
225-
CMN_TWN: "Mei-Jia",
226-
FRA_CAN: "Amelie", # F: Chantal
227-
ENG_AUS: "Karen",
228-
ENG_GBR: "Kate", # F: Serena
229-
ENG_IND: "Veena",
230-
ENG_IRL: "Moira",
231-
ENG_SCT: "Fiona",
232-
ENG_USA: "Ava", # F: Allison, F: Samantha, F: Susan, F: Zoe
233-
ENG_ZAF: "Tessa",
234-
NLD_BEL: "Ellen",
235-
POR_BRA: "Luciana",
236-
POR_PRT: "Catarina", # F: Joana
237-
SPA_COL: "Soledad",
238-
SPA_ESP: "Monica",
239-
SPA_MEX: "Angelica", # F: Paulina, F: Empar (Valencian)
240-
ARA: "Laila",
241-
CAT: "Jordi", # M, F: Montserrat
242-
CES: "Iveta", # F: Zuzana
243-
CMN: "Tian-Tian",
244-
DAN: "Ida",
245-
DEU: "Anna-ML", # F-ML, F-ML: Petra-ML
246-
ELL: "Melina",
247-
ENG: "Kate",
248-
EUS: "Miren",
249-
FIN: "Satu",
250-
FRA: "Audrey-ML", # F-ML, F: Aurelie
251-
GLG: "Carmela",
252-
HEB: "Carmit",
253-
HIN: "Lekha",
254-
HUN: "Mariska",
255-
IND: "Damayanti",
256-
ITA: "Alice-ML", # F-ML, F: Federica, F: Paola
257-
JPN: "Kyoko",
258-
KOR: "Sora",
259-
NLD: "Claire",
260-
NOR: "Nora",
261-
POL: "Ewa", # F: Zosia
262-
POR: "Catarina",
263-
RON: "Ioana",
264-
RUS: "Katya", # F: Milena
265-
SLK: "Laura",
266-
SPA: "Monica",
267-
SWE: "Alva",
268-
THA: "Kanya",
269-
TUR: "Cem", # M, F: Yelda
270-
YUE: "Sin-Ji",
224+
CMN_CHN: "Tian-Tian", # F
225+
CMN_TWN: "Mei-Jia", # F
226+
FRA_CAN: "Amelie", # F, F: Chantal, M: Nicolas
227+
ENG_AUS: "Karen", # F, M: Lee
228+
ENG_GBR: "Kate", # F, F: Serena, M: Daniel, Oliver
229+
ENG_IND: "Veena", # F
230+
ENG_IRL: "Moira", # F
231+
ENG_SCT: "Fiona", # F
232+
ENG_USA: "Ava", # F, F: Allison, Samantha, Susan, Zoe, M: Tom
233+
ENG_ZAF: "Tessa", # F
234+
NLD_BEL: "Ellen", # F
235+
POR_BRA: "Luciana", # F, M: Felipe
236+
POR_PRT: "Catarina", # F, F: Joana
237+
SPA_COL: "Soledad", # F, M: Carlos
238+
SPA_ESP: "Monica", # F, F (Valencian): Empar
239+
SPA_MEX: "Angelica", # F, F: Paulina, M: Juan
240+
ARA: "Laila", # F, M: Maged, Tarik
241+
CAT: "Montserrat", # F, M: Jordi
242+
CES: "Iveta", # F, F: Zuzana
243+
CMN: "Tian-Tian", # F
244+
DAN: "Ida", # F, M: Magnus
245+
DEU: "Anna-ML", # F-ML, F-ML: Petra-ML, M: Markus, Yannick
246+
ELL: "Melina", # F, M: Nikos
247+
ENG: "Kate", # F
248+
EUS: "Miren", # F
249+
FIN: "Satu", # F
250+
FRA: "Audrey-ML", # F-ML, F: Aurelie, M: Thomas
251+
GLG: "Carmela", # F
252+
HEB: "Carmit", # F
253+
HIN: "Lekha", # F
254+
HUN: "Mariska", # F
255+
IND: "Damayanti", # F
256+
ITA: "Alice-ML", # F-ML, F: Federica, Paola, M: Luca
257+
JPN: "Kyoko", # F, M: Otoya
258+
KOR: "Sora", # F
259+
NLD: "Claire", # F, M: Xander
260+
NOR: "Nora", # F, M: Henrik
261+
POL: "Ewa", # F, F: Zosia
262+
POR: "Catarina", # F
263+
RON: "Ioana", # F
264+
RUS: "Katya", # F, F: Milena, M: Yuri
265+
SLK: "Laura", # F
266+
SPA: "Monica", # F, M: Jorge
267+
SWE: "Alva", # F, M: Oskar
268+
THA: "Kanya", # F
269+
TUR: "Yelda", # F, M: Cem
270+
YUE: "Sin-Ji", # F
271271
}
272272
DEFAULT_LANGUAGE = ENG_GBR
273273

@@ -290,7 +290,7 @@ class NuanceTTSWrapper(BaseTTSWrapper):
290290
def __init__(self, rconf=None, logger=None):
291291
super(NuanceTTSWrapper, self).__init__(rconf=rconf, logger=logger)
292292

293-
def _synthesize_single_python_helper(self, text, voice_code, output_file_path=None):
293+
def _synthesize_single_python_helper(self, text, voice_code, output_file_path=None, return_audio_data=True):
294294
self.log(u"Importing requests...")
295295
import requests
296296
self.log(u"Importing requests... done")

debian/changelog

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
aeneas (1.6.0.11) stable; urgency=medium
2+
3+
* Fixed bug in Nuance TTS wrapper
4+
5+
-- alberto <alberto@nievo> Fri, 30 Sep 2016 10:42:16 +0200
6+
17
aeneas (1.6.0) stable; urgency=medium
28

39
* Fixed bug #102

docs/source/changelog.rst

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Changelog
22
=========
33

4+
v1.6.0.1 (2016-09-30)
5+
---------------------
6+
7+
#. Fixes bug in Nuance TTS wrapper
8+
49
v1.6.0 (2016-09-26)
510
-------------------
611

setupmeta.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
# package version
4949
# NOTE: generate a new one for each PyPI upload, otherwise it will fail
50-
PKG_VERSION = "1.6.0.0"
50+
PKG_VERSION = "1.6.0.1"
5151

5252
# required packages to install
5353
# NOTE: always use exact version numbers

0 commit comments

Comments
 (0)