Skip to content
This repository was archived by the owner on Jan 7, 2021. It is now read-only.

Commit a16a4a7

Browse files
feat: V3 voices related changes (text, info link) (#118)
V3 voices related changes (text, info link) Co-authored-by: LEONID RACHEVSKY <rachevsk@us.ibm.com>
2 parents db6c1e3 + 4ec8806 commit a16a4a7

File tree

2 files changed

+23
-17
lines changed

2 files changed

+23
-17
lines changed

views/demo.jsx

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import voices from '../voices';
77

88
// eslint-disable-next-line
99
const TEXT_DESCRIPTION = 'The text language must match the selected voice language: Mixing language (English text with a Spanish male voice) does not produce valid results. The synthesized audio is streamed to the client as it is being produced, using the HTTP chunked encoding. The audio is returned in mp3 format which can be played using VLC and Audacity players.';
10+
const VOICE_INFORMATION_URL = 'https://medium.com/ibm-watson/ibm-watson-text-to-speech-neural-voices-added-to-service-e562106ff9c7';
1011

1112
/**
1213
* @return {Function} A polyfill for URLSearchParams
@@ -221,10 +222,15 @@ export default class Demo extends Component {
221222
<p className="base--p normalfont">
222223
{TEXT_DESCRIPTION}
223224
</p>
224-
<p className="base--p normalfont">
225-
Try the V3 voices below to experience
226-
our latest neural voices, and read all about it in&nbsp;
227-
<a target="_blank" rel="noopener noreferrer" href="https://medium.com/ibm-watson/ibm-watson-text-to-speech-neural-voices-added-to-service-e562106ff9c7">this blog.</a>
225+
<h2 className="base--h2 title">
226+
Voice Selection
227+
</h2>
228+
<p className="base--p normalfont">
229+
For optimal naturalness, select neural voices (V3, enhanced dnn) in the list below.<br/>Please see&nbsp;
230+
<a target="_blank" rel="noreferrer noopener" href={VOICE_INFORMATION_URL}>
231+
Watson TTS blog
232+
</a>
233+
&nbsp;for more information.
228234
</p>
229235
<div className="voice-input">
230236
<select

voices.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const voices = [
4848
}, {
4949
name: 'pt-BR_IsabelaV3Voice',
5050
language: 'pt-BR',
51-
option: 'Brazilian Portuguese (pt-BR): IsabelaV3 (female, dnn technology)',
51+
option: 'Brazilian Portuguese (pt-BR): IsabelaV3 (female, enhanced dnn)',
5252
customizable: true,
5353
gender: 'female',
5454
url: 'https://stream.watsonplatform.net/text-to-speech/api/v1/voices/pt-BR_IsabelaV3Voice',
@@ -97,7 +97,7 @@ const voices = [
9797
}, {
9898
name: 'en-US_MichaelV3Voice',
9999
language: 'en-US',
100-
option: 'American English (en-US): MichaelV3 (male, dnn technology)',
100+
option: 'American English (en-US): MichaelV3 (male, enhanced dnn)',
101101
customizable: true,
102102
gender: 'male',
103103
url: 'https://stream.watsonplatform.net/text-to-speech/api/v1/voices/en-US_MichaelV3Voice',
@@ -129,7 +129,7 @@ const voices = [
129129
description: 'Allison: American English female voice.',
130130
}, {
131131
name: 'en-US_AllisonV3Voice',
132-
option: 'American English (en-US): AllisonV3 (female, dnn technology)',
132+
option: 'American English (en-US): AllisonV3 (female, enhanced dnn)',
133133
language: 'en-US',
134134
customizable: true,
135135
gender: 'female',
@@ -161,7 +161,7 @@ const voices = [
161161
description: 'Renee: French (français) female voice.',
162162
}, {
163163
name: 'fr-FR_ReneeV3Voice',
164-
option: 'French (fr-FR): ReneeV3 (female, dnn technology)',
164+
option: 'French (fr-FR): ReneeV3 (female, enhanced dnn)',
165165
language: 'fr-FR',
166166
customizable: true,
167167
gender: 'female',
@@ -193,7 +193,7 @@ const voices = [
193193
description: 'Francesca: Italian (italiano) female voice.',
194194
}, {
195195
name: 'it-IT_FrancescaV3Voice',
196-
option: 'Italian (it-IT): FrancescaV3 (female, dnn technology)',
196+
option: 'Italian (it-IT): FrancescaV3 (female, enhanced dnn)',
197197
language: 'it-IT',
198198
customizable: true,
199199
gender: 'female',
@@ -226,7 +226,7 @@ const voices = [
226226
}, {
227227
name: 'es-ES_LauraV3Voice',
228228
language: 'es-ES',
229-
option: 'Castilian Spanish (es-ES): LauraV3 (female, dnn technology)',
229+
option: 'Castilian Spanish (es-ES): LauraV3 (female, enhanced dnn)',
230230
customizable: true,
231231
gender: 'female',
232232
url: 'https://stream.watsonplatform.net/text-to-speech/api/v1/voices/es-ES_LauraV3Voice',
@@ -258,7 +258,7 @@ const voices = [
258258
}, {
259259
name: 'de-DE_BirgitV3Voice',
260260
language: 'de-DE',
261-
option: 'German (de-DE): BirgitV3 (female, dnn technology)',
261+
option: 'German (de-DE): BirgitV3 (female, enhanced dnn)',
262262
customizable: true,
263263
gender: 'female',
264264
url: 'https://stream.watsonplatform.net/text-to-speech/api/v1/voices/de-DE_BirgitV3Voice',
@@ -289,7 +289,7 @@ const voices = [
289289
description: 'Enrique: Castilian Spanish (español castellano) male voice.',
290290
}, {
291291
name: 'es-ES_EnriqueV3Voice',
292-
option: 'Castilian Spanish (es-ES): EnriqueV3 (male, dnn technology)',
292+
option: 'Castilian Spanish (es-ES): EnriqueV3 (male, enhanced dnn)',
293293
language: 'es-ES',
294294
customizable: true,
295295
gender: 'male',
@@ -322,7 +322,7 @@ const voices = [
322322
}, {
323323
name: 'de-DE_DieterV3Voice',
324324
language: 'de-DE',
325-
option: 'German (de-DE): DieterV3 (male, dnn technology)',
325+
option: 'German (de-DE): DieterV3 (male, enhanced dnn)',
326326
customizable: true,
327327
gender: 'male',
328328
url: 'https://stream.watsonplatform.net/text-to-speech/api/v1/voices/de-DE_DieterV3Voice',
@@ -354,7 +354,7 @@ const voices = [
354354
description: 'Lisa: American English female voice.',
355355
}, {
356356
name: 'en-US_LisaV3Voice',
357-
option: 'American English (en-US): LisaV3 (female, dnn technology)',
357+
option: 'American English (en-US): LisaV3 (female, enhanced dnn)',
358358
language: 'en-US',
359359
customizable: true,
360360
gender: 'female',
@@ -386,7 +386,7 @@ const voices = [
386386
description: 'Kate: British English female voice.',
387387
}, {
388388
name: 'en-GB_KateV3Voice',
389-
option: 'British English (en-GB): KateV3 (female, dnn technology)',
389+
option: 'British English (en-GB): KateV3 (female, enhanced dnn)',
390390
language: 'en-GB',
391391
customizable: true,
392392
gender: 'female',
@@ -419,7 +419,7 @@ const voices = [
419419
}, {
420420
name: 'es-US_SofiaV3Voice',
421421
language: 'es-US',
422-
option: 'North American Spanish (es-US): SofiaV3 (female, dnn technology)',
422+
option: 'North American Spanish (es-US): SofiaV3 (female, enhanced dnn)',
423423
customizable: true,
424424
gender: 'female',
425425
url: 'https://stream.watsonplatform.net/text-to-speech/api/v1/voices/es-US_SofiaV3Voice',
@@ -451,7 +451,7 @@ const voices = [
451451
}, {
452452
name: 'es-LA_SofiaV3Voice',
453453
language: 'es-LA',
454-
option: 'Latin American Spanish (es-LA): SofiaV3 (female, dnn technology)',
454+
option: 'Latin American Spanish (es-LA): SofiaV3 (female, enhanced dnn)',
455455
customizable: true,
456456
gender: 'female',
457457
url: 'https://stream.watsonplatform.net/text-to-speech/api/v1/voices/es-LA_SofiaV3Voice',

0 commit comments

Comments
 (0)