forked from ming024/FastSpeech2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
328 lines (302 loc) · 12.9 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
<!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;
padding: 10px 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;
}
img {
width: 30%;
}
</style>
</head>
<body>
Audio samples and spectrograms generated by <a href="https://github.com/ming024/FastSpeech2">ming024's FastSpeech2
implementation</a>.
<hr>
<table>
<thead>
<tr>
<th style="text-align: center">Very Long Sentence Generation</th>
</tr>
</thead>
<tbody>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/long_sentence.wav" autoplay /></audio></td>
</tr>
</tbody>
</table>
<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.</em>
<hr>
<ul>
<li>These samples are generated by a model trained for 300k steps
<a href="https://drive.google.com/file/d/1jXNDPMt1ybTN97_MztoTFyrPIthoQuSO/view?usp=sharing">checkpoint</a>.</li>
<li>These sentences are the first 10 sentences in the held-out validation set (LJ001, LJ002 and LJ003).</li>
<li>These samples are selected without any human inspection.</li>
<li>All synthesized samples are converted from mel-spectrograms to audio signals by <a
href="https://github.com/NVIDIA/waveglow">NVIDIA's pretrained Waveglow</a> and <a
href="https://github.com/seungwonpark/melgan">seungwonpark's pretrained MelGAN</a>.</li>
</ul>
<hr>
<table>
<thead>
<tr>
<th style="text-align: center">Ground-Truth</th>
<th style="text-align: center">Ground-Truth(WaveGlow)</th>
<th style="text-align: center">Synthesized(WaveGlow)</th>
<th style="text-align: center">Synthesized(MelGAN)</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJ001-0001.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/ground-truth_1_waveglow.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/step_300000_1_waveglow.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/step_300000_1_melgan.wav" autoplay /></audio></td>
</tr>
</tbody>
</table>
<em>Printing, in the only sense with which we are at present concerned, differs from most if not from all the arts and
crafts represented in the Exhibition</em>
<hr>
<table>
<thead>
<tr>
<th style="text-align: center">Ground-Truth</th>
<th style="text-align: center">Ground-Truth(WaveGlow)</th>
<th style="text-align: center">Synthesized(WaveGlow)</th>
<th style="text-align: center">Synthesized(MelGAN)</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJ001-0002.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/ground-truth_2_waveglow.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/step_300000_2_waveglow.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/step_300000_2_melgan.wav" autoplay /></audio></td>
</tr>
</tbody>
</table>
<em>in being comparatively modern.</em>
<hr>
<table>
<thead>
<tr>
<th style="text-align: center">Ground-Truth</th>
<th style="text-align: center">Ground-Truth(WaveGlow)</th>
<th style="text-align: center">Synthesized(WaveGlow)</th>
<th style="text-align: center">Synthesized(MelGAN)</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJ001-0003.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/ground-truth_3_waveglow.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/step_300000_3_waveglow.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/step_300000_3_melgan.wav" autoplay /></audio></td>
</tr>
</tbody>
</table>
<em>For although the Chinese took impressions from wood blocks engraved in relief for centuries before the woodcutters
of the Netherlands, by a similar process</em>
<hr>
<table>
<thead>
<tr>
<th style="text-align: center">Ground-Truth</th>
<th style="text-align: center">Ground-Truth(WaveGlow)</th>
<th style="text-align: center">Synthesized(WaveGlow)</th>
<th style="text-align: center">Synthesized(MelGAN)</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJ001-0004.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/ground-truth_4_waveglow.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/step_300000_4_waveglow.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/step_300000_4_melgan.wav" autoplay /></audio></td>
</tr>
</tbody>
</table>
<em>produced the block books, which were the immediate predecessors of the true printed book,</em>
<hr>
<table>
<thead>
<tr>
<th style="text-align: center">Ground-Truth</th>
<th style="text-align: center">Ground-Truth(WaveGlow)</th>
<th style="text-align: center">Synthesized(WaveGlow)</th>
<th style="text-align: center">Synthesized(MelGAN)</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJ001-0005.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/ground-truth_5_waveglow.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/step_300000_5_waveglow.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/step_300000_5_melgan.wav" autoplay /></audio></td>
</tr>
</tbody>
</table>
<em>the invention of movable metal letters in the middle of the fifteenth century may justly be considered as the
invention of the art of printing.</em>
<hr>
<table>
<thead>
<tr>
<th style="text-align: center">Ground-Truth</th>
<th style="text-align: center">Ground-Truth(WaveGlow)</th>
<th style="text-align: center">Synthesized(WaveGlow)</th>
<th style="text-align: center">Synthesized(MelGAN)</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJ001-0006.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/ground-truth_6_waveglow.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/step_300000_6_waveglow.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/step_300000_6_melgan.wav" autoplay /></audio></td>
</tr>
</tbody>
</table>
<em>And it is worth mention in passing that, as an example of fine typography,</em>
<hr>
<table>
<thead>
<tr>
<th style="text-align: center">Ground-Truth</th>
<th style="text-align: center">Ground-Truth(WaveGlow)</th>
<th style="text-align: center">Synthesized(WaveGlow)</th>
<th style="text-align: center">Synthesized(MelGAN)</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJ001-0007.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/ground-truth_7_waveglow.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/step_300000_7_waveglow.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/step_300000_7_melgan.wav" autoplay /></audio></td>
</tr>
</tbody>
</table>
<em>the earliest book printed with movable types, the Gutenberg, or "forty-two line Bible" of about 1455,</em>
<hr>
<table>
<thead>
<tr>
<th style="text-align: center">Ground-Truth</th>
<th style="text-align: center">Ground-Truth(WaveGlow)</th>
<th style="text-align: center">Synthesized(WaveGlow)</th>
<th style="text-align: center">Synthesized(MelGAN)</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJ001-0008.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/ground-truth_8_waveglow.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/step_300000_8_waveglow.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/step_300000_8_melgan.wav" autoplay /></audio></td>
</tr>
</tbody>
</table>
<em>has never been surpassed.</em>
<hr>
<table>
<thead>
<tr>
<th style="text-align: center">Ground-Truth</th>
<th style="text-align: center">Ground-Truth(WaveGlow)</th>
<th style="text-align: center">Synthesized(WaveGlow)</th>
<th style="text-align: center">Synthesized(MelGAN)</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJ001-0009.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/ground-truth_9_waveglow.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/step_300000_9_waveglow.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/step_300000_9_melgan.wav" autoplay /></audio></td>
</tr>
</tbody>
</table>
<em>Printing, then, for our purpose, may be considered as the art of making books by means of movable types.</em>
<hr>
<table>
<thead>
<tr>
<th style="text-align: center">Ground-Truth</th>
<th style="text-align: center">Ground-Truth(WaveGlow)</th>
<th style="text-align: center">Synthesized(WaveGlow)</th>
<th style="text-align: center">Synthesized(MelGAN)</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/LJ001-0010.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/ground-truth_10_waveglow.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/step_300000_10_waveglow.wav" autoplay /></audio></td>
<td style="text-align: center"><audio controls="controls">
<source src="./demo/step_300000_10_melgan.wav" autoplay /></audio></td>
</tr>
</tbody>
</table>
<em>Now, as all books not primarily intended as picture-books consist principally of types composed to form
letterpress,</em>
</body>
</html>