forked from ming024/FastSpeech2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
498 lines (443 loc) · 17.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>FastSpeech 2 Audio Samples</title>
<style>
body {
margin: 0% 15%;
padding: 50px 30px;
background: #fff;
color: #111;
font-size: 17px;
font-family: sans-serif;
font-weight: 400;
line-height: 1.8;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
}
h1 {
font-size: 1.75em;
}
h2 {
margin-bottom: 0.4em;
}
hr {
height: 0.5px;
border-width: 0;
color: lightgray;
background-color: lightgray
}
table {
width: 100%;
}
audio {
width: 100%;
}
</style>
</head>
<body>
<h1>FastSpeech 2 Audio Samples</h1>
<p>
<h2>English Single-Speaker TTS</h2>
<div>
<b>Dataset</b>: <a href="https://keithito.com/LJ-Speech-Dataset/">LJSpeech</a>
</div>
<div>
<b>Checkpoint</b>: <a href="https://drive.google.com/file/d/1r3fYhnblBJ8hDKDSUDtidJ-BN-xAM9pe/view?usp=sharing">link</a>
</div>
<div>
<b>Config</b>: <a href="https://github.com/ming024/FastSpeech2/config/LJSpeech">link</a>
</div>
<div>
<b>Vocoder</b>: <a href="https://github.com/jik876/hifi-gan">HiFi-GAN (LJSpeech)</a>
</div>
<hr>
<table>
<tr>
<th style="text-align: center">Extremely Long Sentence</th>
</tr>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJSpeech/LJSpeech_long_sentence.wav" autoplay />
</audio></td>
</tr>
</table>
<div><b>Text</b>: <em>Advanced text-to-speech models such as FastSpeech can synthesize speech significantly faster
than previous autoregressive models with comparable quality. The training of FastSpeech model relies on an
autoregressive teacher model for duration prediction and knowledge distillation , which can ease the one-to-many
mapping problem in TTS. However, FastSpeech has several disadvantages: 1) the teacher-student distillation
pipeline is complicated, 2) the duration extracted from the teacher model is not accurate enough, and the target
mel-spectrograms distilled from teacher model suffer from information loss due to data simplification, both of
which limit the voice quality. In this paper, we propose FastSpeech 2, which addresses the issues in FastSpeech
and better solves the one-to-many mapping problem in TTS by 1) directly training the model with ground-truth
target instead of the simplified output from teacher, and 2) introducing more variation information of speech as
conditional inputs. Specifically, we extract duration, pitch and energy from speech waveform and directly take
them as conditional inputs during training and use predicted values during inference. We further design FastSpeech
2s, which is the first attempt to directly generate speech waveform from text in parallel, enjoying the benefit of
full end-to-end training and even faster inference than FastSpeech. Experimental results show that 1) FastSpeech 2
and 2s outperform FastSpeech in voice quality with much simplified training pipeline and reduced training time; 2)
FastSpeech 2 and 2s can match the voice quality of autoregressive models while enjoying much faster inference
speed.
</em></div>
<hr>
<table>
<tr>
<th style="text-align: center">LJ042-0094 (Ground-Truth) </th>
<th style="text-align: center">LJ042-0094 (Synthesized) </th>
</tr>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJSpeech/LJ042-0094_ground-truth.wav" autoplay />
</audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJSpeech/LJ042-0094_synthesized.wav" autoplay />
</audio></td>
</tr>
</table>
<div><b>Text</b>: <em>the soviet authorities denied oswald permission</em></div>
<hr>
<table>
<tr>
<th style="text-align: center">LJ021-0108 (Ground-Truth) </th>
<th style="text-align: center">LJ021-0108 (Synthesized) </th>
</tr>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJSpeech/LJ021-0108_ground-truth.wav" autoplay />
</audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJSpeech/LJ021-0108_synthesized.wav" autoplay />
</audio></td>
</tr>
</table>
<div><b>Text</b>: <em>from the standpoint of the good of the industries themselves, as well as the general public
interest,</em></div>
<hr>
<table>
<tr>
<th style="text-align: center">LJ030-0031 (Ground-Truth) </th>
<th style="text-align: center">LJ030-0031 (Synthesized) </th>
</tr>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJSpeech/LJ030-0031_ground-truth.wav" autoplay />
</audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJSpeech/LJ030-0031_synthesized.wav" autoplay />
</audio></td>
</tr>
</table>
<div><b>Text</b>: <em>secret service agents formed a cordon to keep the press and photographers from impeding their
passage and scanned the
crowd for threatening movements.</em></div>
<hr>
<table>
<tr>
<th style="text-align: center">LJ001-0012 (Ground-Truth) </th>
<th style="text-align: center">LJ001-0012 (Synthesized) </th>
</tr>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJSpeech/LJ001-0012_ground-truth.wav" autoplay />
</audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJSpeech/LJ001-0012_synthesized.wav" autoplay />
</audio></td>
</tr>
</table>
<div><b>Text</b>: <em>especially as no more time is occupied, or cost incurred, in casting, setting, or printing
beautiful letters</em></div>
<hr>
<table>
<tr>
<th style="text-align: center">LJ011-0202 (Ground-Truth) </th>
<th style="text-align: center">LJ011-0202 (Synthesized) </th>
</tr>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJSpeech/LJ011-0202_ground-truth.wav" autoplay />
</audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJSpeech/LJ011-0202_synthesized.wav" autoplay />
</audio></td>
</tr>
</table>
<div><b>Text</b>: <em>the uncle claimed her. the husband resisted.</em></div>
<hr>
<table>
<tr>
<th style="text-align: center">LJ006-0114 (Ground-Truth) </th>
<th style="text-align: center">LJ006-0114 (Synthesized) </th>
</tr>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJSpeech/LJ006-0114_ground-truth.wav" autoplay />
</audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJSpeech/LJ006-0114_synthesized.wav" autoplay />
</audio></td>
</tr>
</table>
<div><b>Text</b>: <em>they bought their offices from one another, and were thus considered to have a vested interest
in them.</em></div>
<hr>
<table>
<tr>
<th style="text-align: center">LJ009-0038 (Ground-Truth) </th>
<th style="text-align: center">LJ009-0038 (Synthesized) </th>
</tr>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJSpeech/LJ009-0038_ground-truth.wav" autoplay />
</audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJSpeech/LJ009-0038_synthesized.wav" autoplay />
</audio></td>
</tr>
</table>
<div><b>Text</b>: <em>in the center of the chapel was the condemned pew, a large dock-like erection painted
black.</em></div>
<hr>
<table>
<tr>
<th style="text-align: center">LJ006-0161 (Ground-Truth) </th>
<th style="text-align: center">LJ006-0161 (Synthesized) </th>
</tr>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJSpeech/LJ006-0161_ground-truth.wav" autoplay />
</audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJSpeech/LJ006-0161_synthesized.wav" autoplay />
</audio></td>
</tr>
</table>
<div><b>Text</b>: <em>again, a turnkey deposed that his chief did not enter the wards more than once a fortnight.</em>
</div>
<hr>
<table>
<tr>
<th style="text-align: center">LJ027-0127 (Ground-Truth) </th>
<th style="text-align: center">LJ027-0127 (Synthesized) </th>
</tr>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJSpeech/LJ027-0127_ground-truth.wav" autoplay />
</audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJSpeech/LJ027-0127_synthesized.wav" autoplay />
</audio></td>
</tr>
</table>
<div><b>Text</b>: <em>while neglecting to maintain his unity of ideal in the case of nearly all the numerous species
of snakes, he should have
added a tiny rudiment in the case of the python</em></div>
<hr>
<table>
<tr>
<th style="text-align: center">LJ050-0158 (Ground-Truth) </th>
<th style="text-align: center">LJ050-0158 (Synthesized) </th>
</tr>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJSpeech/LJ050-0158_ground-truth.wav" autoplay />
</audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJSpeech/LJ050-0158_synthesized.wav" autoplay />
</audio></td>
</tr>
</table>
<div><b>Text</b>: <em>the department hopes to design a practical system which will fully meet the needs of the
protective research section of
the secret service.</em></div>
</p>
<hr>
<p>
<h2>Mandarin Multi-Speaker TTS</h2>
<div>
<b>Dataset</b>: <a href="http://www.aishelltech.com/aishell_3">AISHELL-3</a>
</div>
<div>
<b>Checkpoint</b>: <a href="https://drive.google.com/file/d/1uYWd5JlaK-fochQ2JFgIP_wOEkoLPLqs/view?usp=sharing">link</a>
</div>
<div>
<b>Config</b>: <a href="https://github.com/ming024/FastSpeech2/config/AISHELL3">link</a>
</div>
<div>
<b>Vocoder</b>: <a href="https://github.com/jik876/hifi-gan">HiFi-GAN (universal)</a>
</div>
<hr>
<table>
<tr>
<th style="text-align: center">SSB08630110 (Ground-Truth) </th>
<th style="text-align: center">SSB08630110 (Synthesized) </th>
</tr>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/AISHELL3/SSB08630110_ground-truth.wav" autoplay />
</audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/AISHELL3/SSB08630110_synthesized.wav" autoplay />
</audio></td>
</tr>
</table>
<div><b>Speaker</b>: <em>SSB0863</em></div>
<div><b>Text</b>: <em>放首歌来听,丁当的歌 (fang4 shou3 ge1 lai2 ting1 sp ding1 dang1 de5 ge1)</em></div>
<hr>
<table>
<tr>
<th style="text-align: center">SSB07940279 (Ground-Truth) </th>
<th style="text-align: center">SSB07940279 (Synthesized) </th>
</tr>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/AISHELL3/SSB07940279_ground-truth.wav" autoplay />
</audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/AISHELL3/SSB07940279_synthesized.wav" autoplay />
</audio></td>
</tr>
</table>
<div><b>Speaker</b>: <em>SSB0794</em></div>
<div><b>Text</b>: <em>中国,今日有望创下历史单,日,出行人次最高 (zhong1 guo2 sp jin1 ri4 you3 wang4 chuang4 xia4 li4 shi3 dan1 sp ri4 sp chu1 xing2 ren2 ci4 zui4 gao1)</em></div>
<hr>
<table>
<tr>
<th style="text-align: center">SSB00800003 (Ground-Truth) </th>
<th style="text-align: center">SSB00800003 (Synthesized) </th>
</tr>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/AISHELL3/SSB00800003_ground-truth.wav" autoplay />
</audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/AISHELL3/SSB00800003_synthesized.wav" autoplay />
</audio></td>
</tr>
</table>
<div><b>Speaker</b>: <em>SSSB0080</em></div>
<div><b>Text</b>: <em>中新网七月十四日电 (zhong1 xin1 wang3 qi1 yue4 shi2 si4 ri4 dian4)</em></div>
<hr>
<table>
<tr>
<th style="text-align: center">SSB15930399 (Ground-Truth) </th>
<th style="text-align: center">SSB15930399 (Synthesized) </th>
</tr>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/AISHELL3/SSB15930399_ground-truth.wav" autoplay />
</audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/AISHELL3/SSB15930399_synthesized.wav" autoplay />
</audio></td>
</tr>
</table>
<div><b>Speaker</b>: <em>SSB1593</em></div>
<div><b>Text</b>: <em>也就是说汤米踩过点 (ye3 jiu4 shi4 shuo1 tang1 mi3 cai3 guo4 dian3)</em></div>
<hr>
<table>
<tr>
<th style="text-align: center">SSB16070080 (Ground-Truth) </th>
<th style="text-align: center">SSB16070080 (Synthesized) </th>
</tr>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/AISHELL3/SSB16070080_ground-truth.wav" autoplay />
</audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/AISHELL3/SSB16070080_synthesized.wav" autoplay />
</audio></td>
</tr>
</table>
<div><b>Speaker</b>: <em>SSB1607</em></div>
<div><b>Text</b>: <em>但阵营之间差距拉大 (dan4 zhen4 ying2 zhi1 jian1 cha1 ju4 la1 da4)</em></div>
<hr>
<table>
<tr>
<th style="text-align: center">SSB10200388 (Ground-Truth) </th>
<th style="text-align: center">SSB10200388 (Synthesized) </th>
</tr>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/AISHELL3/SSB10200388_ground-truth.wav" autoplay />
</audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/AISHELL3/SSB10200388_synthesized.wav" autoplay />
</audio></td>
</tr>
</table>
<div><b>Speaker</b>: <em>SSSB1020</em></div>
<div><b>Text</b>: <em>我抱着一大堆纸箱回了家 (wo3 bao4 zhe5 yi2 da4 dui1 zhi3 xiang1 hui2 le5 jia1)</em></div>
<hr>
<table>
<tr>
<th style="text-align: center">SSB05900363 (Ground-Truth) </th>
<th style="text-align: center">SSB05900363 (Synthesized) </th>
</tr>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/AISHELL3/SSB05900363_ground-truth.wav" autoplay />
</audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/AISHELL3/SSB05900363_synthesized.wav" autoplay />
</audio></td>
</tr>
</table>
<div><b>Speaker</b>: <em>SSB0590</em></div>
<div><b>Text</b>: <em>我们不能分头行动 (wo3 men2 bu4 neng2 fen1 tou2 xing2 dong4)</em></div>
<hr>
<table>
<tr>
<th style="text-align: center">SSB04700028 (Ground-Truth) </th>
<th style="text-align: center">SSB04700028 (Synthesized) </th>
</tr>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/AISHELL3/SSB04700028_ground-truth.wav" autoplay />
</audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/AISHELL3/SSB04700028_synthesized.wav" autoplay />
</audio></td>
</tr>
</table>
<div><b>Speaker</b>: <em>SSB0470</em></div>
<div><b>Text</b>: <em>毕节市的景点有什么 (bi4 jie2 shi4 de5 jing2 dian2 you3 shen2 me5)</em></div>
<hr>
<table>
<tr>
<th style="text-align: center">SSB06290079 (Ground-Truth) </th>
<th style="text-align: center">SSB06290079 (Synthesized) </th>
</tr>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/AISHELL3/SSB06290079_ground-truth.wav" autoplay />
</audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/AISHELL3/SSB06290079_synthesized.wav" autoplay />
</audio></td>
</tr>
</table>
<div><b>Speaker</b>: <em>SSB0629</em></div>
<div><b>Text</b>: <em>你以为 (ni2 yi3 wei2)</em></div>
<hr>
<table>
<tr>
<th style="text-align: center">SSB08220199 (Ground-Truth) </th>
<th style="text-align: center">SSB08220199 (Synthesized) </th>
</tr>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/AISHELL3/SSB08220199_ground-truth.wav" autoplay />
</audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/AISHELL3/SSB08220199_synthesized.wav" autoplay />
</audio></td>
</tr>
</table>
<div><b>Speaker</b>: <em>SSB0822</em></div>
<div><b>Text</b>: <em>该职位员工可以,居住在西雅,图或,洛,杉矶 (gai1 zhi2 wei4 yuan2 gong1 ke2 yi3 sp ju1 zhu4 zai4 xi1 ya3 sp tu2 huo4 sp luo4 sp shan3 ji1)</em></div>
</p>
</body>
</html>