-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsubject.html
executable file
·447 lines (395 loc) · 28.6 KB
/
subject.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
<html>
<body>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/7.14.2/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/7.14.2/firebase-analytics.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.2.3/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.2.3/firebase-firestore.js"></script>
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyBi3tcd5MsbSsTUl0oSA6SvksCK0mA3HOI",
authDomain: "speech2singing.firebaseapp.com",
databaseURL: "https://speech2singing.firebaseio.com",
projectId: "speech2singing",
storageBucket: "speech2singing.appspot.com",
messagingSenderId: "655101259137",
appId: "1:655101259137:web:1ab8e624a37d7f98088c80",
measurementId: "G-G4PTGP351G"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
var database = firebase.firestore();
</script>
<script type="text/javascript">
function myGetItem() {
var handler = document.getElementsByName("model");
for(var i=0;i<handler.length;i++) {
if(handler[i].checked)
a = handler[i].value;
};
var handler = document.getElementsByName("ad");
for(var i=0;i< handler.length;i++) {
if(handler[i].checked)
b = handler[i].value;
};
var handler = document.getElementsByName("ad2");
for(var i=0;i< handler.length;i++) {
if(handler[i].checked)
b2 = handler[i].value;
};
var handler = document.getElementsByName("vocoder");
for(var i=0;i< handler.length;i++) {
if(handler[i].checked)
c = handler[i].value;
};
var handler = document.getElementsByName("vocoder2");
for(var i=0;i< handler.length;i++) {
if(handler[i].checked)
c2 = handler[i].value;
};
var handler = document.getElementsByName("original");
for(var i=0;i< handler.length;i++) {
if(handler[i].checked)
d = handler[i].value;
};
var handler = document.getElementsByName("melgan");
for(var i=0;i< handler.length;i++) {
if(handler[i].checked)
e = handler[i].value;
};
var handler = document.getElementsByName("original2");
for(var i=0;i< handler.length;i++) {
if(handler[i].checked)
d2 = handler[i].value;
};
var handler = document.getElementsByName("melgan2");
for(var i=0;i< handler.length;i++) {
if(handler[i].checked)
e2 = handler[i].value;
};
console.log(a)
console.log(b)
console.log(c)
console.log(d)
console.log(e)
var washingtonRef = database.collection("data").doc("model");
if (a == 'A'){
// Atomically add a new region to the "regions" array field.
washingtonRef.update({
A: firebase.firestore.FieldValue.increment(1)
}).then(function() {console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
else if(a=='B'){
console.log("??")
washingtonRef.update({
B: firebase.firestore.FieldValue.increment(1)
}).then(function() {console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
else{
washingtonRef.update({
equal: firebase.firestore.FieldValue.increment(1)
}).then(function() {console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
};
var washingtonRef = database.collection("data").doc("ad");
if (b == 'A'){
// Atomically add a new region to the "regions" array field.
washingtonRef.update({
A: firebase.firestore.FieldValue.increment(1)
}).then(function() {console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
else if (b=='B'){
console.log("??")
washingtonRef.update({
B: firebase.firestore.FieldValue.increment(1)
}).then(function() {console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
else{
washingtonRef.update({
equal: firebase.firestore.FieldValue.increment(1)
}).then(function() {console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
var washingtonRef = database.collection("data").doc("ad");
if (b2 == 'A'){
// Atomically add a new region to the "regions" array field.
washingtonRef.update({
A: firebase.firestore.FieldValue.increment(1)
}).then(function() {console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
else if (b2=='B'){
console.log("??")
washingtonRef.update({
B: firebase.firestore.FieldValue.increment(1)
}).then(function() {console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
else{
washingtonRef.update({
equal: firebase.firestore.FieldValue.increment(1)
}).then(function() {console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
var washingtonRef = database.collection("data").doc("vocoder");
if (c == 'A'){
// Atomically add a new region to the "regions" array field.
washingtonRef.update({
A: firebase.firestore.FieldValue.increment(1)
}).then(function() {console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
else if (c=='B'){
console.log("??")
washingtonRef.update({
B: firebase.firestore.FieldValue.increment(1)
}).then(function() {console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
else{
washingtonRef.update({
equal: firebase.firestore.FieldValue.increment(1)
}).then(function() {console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
var washingtonRef = database.collection("data").doc("vocoder");
if (c2 == 'A'){
// Atomically add a new region to the "regions" array field.
washingtonRef.update({
A: firebase.firestore.FieldValue.increment(1)
}).then(function() {console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
else if (c2=='B'){
console.log("??")
washingtonRef.update({
B: firebase.firestore.FieldValue.increment(1)
}).then(function() {console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
else{
washingtonRef.update({
equal: firebase.firestore.FieldValue.increment(1)
}).then(function() {console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
var washingtonRef = database.collection("data").doc("original");
if (d == 1){
// Atomically add a new region to the "regions" array field.
washingtonRef.update({
1: firebase.firestore.FieldValue.increment(1)
}).then(function() {console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
else if (d==2){
washingtonRef.update({
2: firebase.firestore.FieldValue.increment(1)
}).then(function() {console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
else if (d==3){
washingtonRef.update({
3: firebase.firestore.FieldValue.increment(1)
}).then(function() {console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
else if (d==4){
washingtonRef.update({
4: firebase.firestore.FieldValue.increment(1)
}).then(function() {console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
else if (d==5){
console.log("??")
washingtonRef.update({
5: firebase.firestore.FieldValue.increment(1)
}).then(function() {console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
var washingtonRef = database.collection("data").doc("melgan");
if (e == 1){
// Atomically add a new region to the "regions" array field.
washingtonRef.update({
1: firebase.firestore.FieldValue.increment(1)
}).then(function() {window.location.reload();console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
else if (e==2){
washingtonRef.update({
2: firebase.firestore.FieldValue.increment(1)
}).then(function() {window.location.reload();console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
else if (e==3){
washingtonRef.update({
3: firebase.firestore.FieldValue.increment(1)
}).then(function() {window.location.reload();console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
else if (e==4){
washingtonRef.update({
4: firebase.firestore.FieldValue.increment(1)
}).then(function() {window.location.reload();console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
else if (e==5){
console.log("??")
washingtonRef.update({
5: firebase.firestore.FieldValue.increment(1)
}).then(function() {window.location.reload();console.log("OK");}).catch(function(error) {console.error("Error adding document: ", error);});
}
//window.location.reload()
};
</script>
<!-- for random -->
<script>
function myGetRandom(min, max) {
var r = Math.floor(Math.random()*(max-min+1))+min;
return r
};
var a = 'B';
var b = 'B';
var c = 'B';
var d = 'B';
var e = 'B';
var b2 = 'B';
var c2 = 'B';
var d2 = 'B';
var e2 = 'B';
console.log('3')
</script>
<!-- description -->
<h1>聲音風格轉換實驗</h1>
<p>
大家好, 我們是中研院資創中心的Music and AI Lab研究團隊 (<a href="https://musicai.citi.sinica.edu.tw">https://musicai.citi.sinica.edu.tw</a>)。 我們正在試圖讓機器可以把人類講話的聲音變成唱歌的聲音。我們嘗試了不同的方法,現在需要大家的幫忙,來告訴我們哪些方法的效果比較好。底下總共有14個長度不到10秒的音檔,音檔總長度約為兩到三分鐘。感謝你們的幫忙!
<br><br>
底下問卷分為兩部分,第一部分二選一的選擇題,判斷兩個方法誰比較好。第二部分則是評分,由低到高為1分到5分。聽音檔時,我們請您盡量在安靜的地方、若可以的話並請戴上耳機進行。問卷填寫完,也請記得在最下方點選 "Submit",以完成本問卷。我們非常感謝您的協助!!如果有任何問題,也歡迎聯絡我們 ([email protected])。
</p>
<!-- audio contents set 1-->
<h1 id="header2-1"></h1>
<p>
在以下測試中,我們分別用兩個不同的方法,將一個說話的檔案轉換成歌聲。 你要選擇的是:哪一個音檔聽起來比較好?當我們有提供說話的音檔的時候,請您先聽說話的音檔,再聽轉換後的結果。
</p>
<script>
document.getElementById("header2-1").innerHTML = "第一部分";
</script>
<div id="audio_content2-1"></div>
<script>
var data2 = [['speech2singing/model_architecture/sample1/read.wav', 'speech2singing/model_architecture/sample1/jay.wav', 'speech2singing/model_architecture/sample1/my.wav'],
['speech2singing/model_architecture/sample2/read.wav', 'speech2singing/model_architecture/sample2/jay.wav', 'speech2singing/model_architecture/sample2/my.wav'],
['speech2singing/model_architecture/sample3/read.wav', 'speech2singing/model_architecture/sample3/jay.wav', 'speech2singing/model_architecture/sample3/my.wav']];
var s = myGetRandom(0, 2);
var link2_1 = data2[s][0];
var link2_2 = data2[s][1];
var link2_3 = data2[s][2];
document.getElementById("audio_content2-1").innerHTML = '<strong># 第一題: </strong><br><table><tr> <td style="color:olive;"> 說話的音檔:     </td> <td> <audio controls controlsList="nodownload"><source src="' + link2_1 + '" type="audio/mpeg"></audio> </td> </tr> </td> <td style="color:olive;">         </audio> </td> </tr></table><table><tr> <td style="color:brown;"> <strong> 方法 A 所轉出來的歌聲: </strong>:     </td> <td> <audio controls controlsList="nodownload"><source src="' + link2_2 + '" type="audio/mpeg"></audio> </td> </tr><tr> <td style="color:brown;"> <strong> 方法 B 所轉出來的歌聲: </strong>:     </td> <td> <audio controls controlsList="nodownload"><source src="' + link2_3 + '" type="audio/mpeg"></audio> </td> </tr></table><br> <strong>哪一個比較好呢:</strong><form><input type="radio" name="model" value="A"> A <input type="radio" name="model" value="B"> B <input type="radio" name="model" value="equal"> 平手</form>'
</script>
<script>
document.getElementById("header2-2")
</script>
<div id="audio_content2-2"></div>
<script>
var data = [['speech2singing/ad vs mse/sample1/read.wav', 'speech2singing/ad vs mse/sample1/mse.wav', 'speech2singing/ad vs mse/sample1/ad.wav'],
['speech2singing/ad vs mse/sample2/read.wav', 'speech2singing/ad vs mse/sample2/mse.wav', 'speech2singing/ad vs mse/sample2/ad.wav'],
['speech2singing/ad vs mse/sample3/read.wav', 'speech2singing/ad vs mse/sample3/mse.wav', 'speech2singing/ad vs mse/sample3/ad.wav'],
['speech2singing/ad vs mse/sample4/read.wav', 'speech2singing/ad vs mse/sample4/mse.wav', 'speech2singing/ad vs mse/sample4/ad.wav']];
var ss = myGetRandom(0, 3);
var link1_1 = data[ss][0];
var link1_2 = data[ss][1];
var link1_3 = data[ss][2];
document.getElementById("audio_content2-2").innerHTML = '<strong># 第二題</strong><br><table><tr> <td style="color:olive;"> 說話的音檔:     </td> <td> <audio controls controlsList="nodownload"><source src="' + link1_1 + '" type="audio/mpeg"></audio> </td> </tr> </td> <td style="color:olive;">         </audio> </td> </tr></table><table><tr> <td style="color:brown;"> <strong> 方法 A 所轉出來的歌聲: </strong>:     </td> <td> <audio controls controlsList="nodownload"><source src="' + link1_2 + '" type="audio/mpeg"></audio> </td> </tr><tr> <td style="color:brown;"> <strong>方法 B 所轉出來的歌聲: </strong>:     </td> <td> <audio controls controlsList="nodownload"><source src="' + link1_3 + '" type="audio/mpeg"></audio> </td> </tr></table><br> <strong>哪一個比較好呢:</strong><form><input type="radio" name="ad" value="A"> A <input type="radio" name="ad" value="B"> B <input type="radio" name="ad" value="equal"> 平手</form>'
</script>
<script>
document.getElementById("header2-7")
</script>
<div id="audio_content2-7"></div>
<script>
var data = [['speech2singing/ad vs mse2/sample1/read.wav', 'speech2singing/ad vs mse2/sample1/mse.wav', 'speech2singing/ad vs mse2/sample1/ad.wav'],
['speech2singing/ad vs mse2/sample2/read.wav', 'speech2singing/ad vs mse2/sample2/mse.wav', 'speech2singing/ad vs mse2/sample2/ad.wav'],
['speech2singing/ad vs mse2/sample4/read.wav', 'speech2singing/ad vs mse2/sample4/mse.wav', 'speech2singing/ad vs mse2/sample4/ad.wav']];
var sd = myGetRandom(0, 3);
var link11_1 = data[sd][0];
var link11_2 = data[sd][1];
var link11_3 = data[sd][2];
document.getElementById("audio_content2-7").innerHTML = '<strong># 第三題</strong><br><table><tr> <td style="color:olive;"> 說話的音檔:     </td> <td> <audio controls controlsList="nodownload"><source src="' + link11_1 + '" type="audio/mpeg"></audio> </td> </tr> </td> <td style="color:olive;">         </audio> </td> </tr></table><table><tr> <td style="color:brown;"> <strong> 方法 A 所轉出來的歌聲: </strong>:     </td> <td> <audio controls controlsList="nodownload"><source src="' + link11_2 + '" type="audio/mpeg"></audio> </td> </tr><tr> <td style="color:brown;"> <strong>方法 B 所轉出來的歌聲: </strong>:     </td> <td> <audio controls controlsList="nodownload"><source src="' + link11_3 + '" type="audio/mpeg"></audio> </td> </tr></table><br> <strong>哪一個比較好呢:</strong><form><input type="radio" name="ad2" value="A"> A <input type="radio" name="ad2" value="B"> B <input type="radio" name="ad2" value="equal"> 平手</form>'
</script>
<script>
document.getElementById("header2-3")
</script>
<div id="audio_content2-3"></div>
<script>
var data3 = [['speech2singing/vocoder/sample1/griff.wav', 'speech2singing/vocoder/sample1/melgan.wav'],
['speech2singing/vocoder/sample2/griff.wav', 'speech2singing/vocoder/sample2/melgan.wav'],
['speech2singing/vocoder/sample3/griff.wav', 'speech2singing/vocoder/sample3/melgan.wav'],
['speech2singing/vocoder/sample4/griff.wav', 'speech2singing/vocoder/sample4/melgan.wav']];
var sss = myGetRandom(0, 3);
var link3_2 = data3[sss][0];
var link3_3 = data3[sss][1];
document.getElementById("audio_content2-3").innerHTML = '<strong># 第四題</strong><br><table><tr> </audio> </td> </tr></table><table><tr> <td style="color:brown;"> <strong> 方法 A 所轉出來的歌聲: </strong>:     </td> <td> <audio controls controlsList="nodownload"><source src="' + link3_2 + '" type="audio/mpeg"></audio> </td> </tr><tr> <td style="color:brown;"> <strong> 方法 B 所轉出來的歌聲 </strong>:     </td> <td> <audio controls controlsList="nodownload"><source src="' + link3_3 + '" type="audio/mpeg"></audio> </td> </tr></table><br> <strong>哪一個比較好呢:</strong><form><input type="radio" name="vocoder" value="A"> A <input type="radio" name="vocoder" value="B"> B <input type="radio" name="vocoder" value="equal"> 平手</form>'
</script>
<script>
document.getElementById("header2-8")
</script>
<div id="audio_content2-8"></div>
<script>
var data33 = [['speech2singing/vocoder2/sample1/griff.wav', 'speech2singing/vocoder2/sample1/melgan.wav'],
['speech2singing/vocoder2/sample2/griff.wav', 'speech2singing/vocoder2/sample2/melgan.wav'],
['speech2singing/vocoder2/sample3/griff.wav', 'speech2singing/vocoder2/sample3/melgan.wav'],
['speech2singing/vocoder2/sample4/griff.wav', 'speech2singing/vocoder2/sample4/melgan.wav']];
var ssd = myGetRandom(0, 3);
var link33_2 = data33[ssd][0];
var link33_3 = data33[ssd][1];
document.getElementById("audio_content2-8").innerHTML = '<strong># 第五題</strong><br><table><tr> </audio> </td> </tr></table><table><tr> <td style="color:brown;"> <strong> 方法 A 所轉出來的歌聲: </strong>:     </td> <td> <audio controls controlsList="nodownload"><source src="' + link33_2 + '" type="audio/mpeg"></audio> </td> </tr><tr> <td style="color:brown;"> <strong> 方法 B 所轉出來的歌聲 </strong>:     </td> <td> <audio controls controlsList="nodownload"><source src="' + link33_3 + '" type="audio/mpeg"></audio> </td> </tr></table><br> <strong>哪一個比較好呢:</strong><form><input type="radio" name="vocoder2" value="A"> A <input type="radio" name="vocoder2" value="B"> B <input type="radio" name="vocoder2" value="equal"> 平手</form>'
</script>
<h2 id="header2-4"></h2>
以下測試中不再提供說話的音檔,請您直接針對所聽到的歌聲音檔,評是否像真人唱歌的聲音。從0到5分, 越高分代表越好。
</p>
<script>
document.getElementById("header2-4").innerHTML = "第二部分";
</script>
<div id="audio_content2-4"></div>
<script>
var data4 = [['speech2singing/melgan vocoder/sample1/ori.wav'],
['speech2singing/melgan vocoder/sample2/ori.wav'],
['speech2singing/melgan vocoder/sample3/ori.wav'],
['speech2singing/melgan vocoder/sample4/ori.wav'],
['speech2singing/melgan vocoder/sample5/ori.wav']
];
var ssss = myGetRandom(0, 4);
var link4_1 = data4[ssss];
document.getElementById("audio_content2-4").innerHTML = '<strong># 第一題</strong><br><table><tr> <audio controls controlsList="nodownload"><source src="' + link4_1 + '" type="audio/mpeg"></audio> </td><form><input type="radio" name="original" value="1"> 1(最低) <input type="radio" name="original" value="2"> 2 <input type="radio" name="original" value="3"> 3 <input type="radio" name="original" value="4"> 4 <input type="radio" name="original" value="5"> 5(最高)</form>'
</script>
<script>
document.getElementById("header2-5")
</script>
<div id="audio_content2-5"></div>
<script>
var data5 = [['speech2singing/melgan vocoder/sample1/melgan.wav'],
['speech2singing/melgan vocoder/sample2/melgan.wav'],
['speech2singing/melgan vocoder/sample3/melgan.wav'],
['speech2singing/melgan vocoder/sample4/melgan.wav'],
['speech2singing/melgan vocoder/sample5/melgan.wav']
];
var sssss = myGetRandom(0, 4);
var link5_1 = data5[sssss];
document.getElementById("audio_content2-5").innerHTML = '<strong># 第二題</strong><br><table><tr> <audio controls controlsList="nodownload"><source src="' + link5_1 + '" type="audio/mpeg"></audio> </td><form><input type="radio" name="melgan" value="1"> 1(最低) <input type="radio" name="melgan" value="2"> 2 <input type="radio" name="melgan" value="3"> 3 <input type="radio" name="melgan" value="4"> 4 <input type="radio" name="melgan" value="5"> 5(最高)</form>'
</script>
<div id="audio_content2-9"></div>
<script>
var data9 = [['speech2singing/melgan vocoder2/sample1/ori.wav'],
['speech2singing/melgan vocoder2/sample2/ori.wav'],
['speech2singing/melgan vocoder2/sample3/ori.wav'],
['speech2singing/melgan vocoder2/sample4/ori.wav'],
['speech2singing/melgan vocoder2/sample5/ori.wav']
];
var ssssd = myGetRandom(0, 4);
var link9_1 = data9[ssss];
document.getElementById("audio_content2-9").innerHTML = '<strong># 第三題</strong><br><table><tr> <audio controls controlsList="nodownload"><source src="' + link9_1 + '" type="audio/mpeg"></audio> </td><form><input type="radio" name="original2" value="1"> 1(最低) <input type="radio" name="original2" value="2"> 2 <input type="radio" name="original2" value="3"> 3 <input type="radio" name="original2" value="4"> 4 <input type="radio" name="original2" value="5"> 5(最高)</form>'
</script>
<script>
document.getElementById("header2-10")
</script>
<div id="audio_content2-10"></div>
<script>
var data10 = [['speech2singing/melgan vocoder2/sample1/melgan.wav'],
['speech2singing/melgan vocoder2/sample2/melgan.wav'],
['speech2singing/melgan vocoder2/sample3/melgan.wav'],
['speech2singing/melgan vocoder2/sample4/melgan.wav'],
['speech2singing/melgan vocoder2/sample5/melgan.wav']
];
var sssssd = myGetRandom(0, 4);
var link10_1 = data10[sssssd];
document.getElementById("audio_content2-10").innerHTML = '<strong># 第四題</strong><br><table><tr> <audio controls controlsList="nodownload"><source src="' + link10_1 + '" type="audio/mpeg"></audio> </td><form><input type="radio" name="melgan2" value="1"> 1(最低) <input type="radio" name="melgan2" value="2"> 2 <input type="radio" name="melgan2" value="3"> 3 <input type="radio" name="melgan2" value="4"> 4 <input type="radio" name="melgan2" value="5"> 5(最高)</form>'
</script>
<!-- submit button -->
<p>
<strong>
在您按下提交後, 網頁中的音檔會全部更新,若您有意願多評價幾個音檔,可以在新的頁面繼續填答。 謝謝!
</strong>
</p>
<button type="submit" onclick="myGetItem()">Submit</button>
</body>
</html>