-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
293 lines (270 loc) · 11.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>End-to-End Lyric-to-Melody Generation via Chord Integration and Bar-Level Modeling</title>
<style>
/* Simple CSS Styles */
body {
font-family: Arial, sans-serif;
background-color: #f9f9f9;
color: #333;
margin: 0;
padding: 20px;
}
header, footer {
text-align: center;
padding: 10px 0;
background-color: #2c3e50;
color: #ecf0f1;
}
main {
max-width: 800px;
margin: 20px auto;
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1, h2, h3, h4 {
color: #2c3e50;
}
/* 新增的居中标题样式 */
.centered-title {
text-align: center;
margin-bottom: 30px;
}
pre {
background-color: #ecf0f1;
padding: 10px;
border-radius: 5px;
overflow-x: auto;
}
.sample {
margin-bottom: 30px;
}
.sample h3 {
color: #2980b9;
}
.section {
margin-bottom: 15px;
}
audio, embed {
width: 100%;
max-width: 600px;
margin-top: 10px;
}
/* 单独调整 PDF 展示框的高度 */
.pdf-embed {
width:700px;
height: 300px; /* 您可以根据需要调整此值 */
}
/* 响应式设计 */
@media (max-width: 600px) {
body {
padding: 10px;
}
main {
padding: 15px;
}
audio, embed {
max-width: 100%;
}
/* 调整 PDF 展示框在移动设备上的高度 */
.pdf-embed {
height: 400px; /* 在较小屏幕上稍微减小高度 */
}
}
</style>
</head>
<body>
<header>
</header>
<main>
<!-- 新增的居中标题 -->
<h2 class="centered-title">End-to-End Lyric-to-Melody Generation via Chord Integration and Bar-Level Modeling</h2>
<section id="abstract">
<h2>Abstract</h2>
<p>The lyric-to-melody generation task can support composers in their creative process, helping to improve their work efficiency. However, existing studies suffer from inadequate utilization of chords and a lack of bar-level information in melodies. To address the above issues, we propose a Chord-integrated and Bar-level modeled end-to-end encoder-decoder Lyric-to-Melody (CBL2M) generation model, effectively enriching contextual information based on existing quantitative data. To enhance the representation capabilities of the encoder, we extract chords from the melody and encode the lyrics and chords separately. In the decoder, we compute lyric-melody and chord-melody cross-attention. Furthermore, to accurately capture the regularities in bar durations within the melody, we design two specialized musical token sequences: the bar token sequence and the bar intra-position token sequence. We conduct extensive experiments on two datasets, with both subjective and objective evaluation metrics showing that CBL2M generates accurate high-quality melodies that outperform existing models.</p>
</section>
<section id="samples">
<h2>Sample Demonstrations</h2>
<p>The following samples are melodies generated based on given <strong>lyric</strong> and <strong>chord</strong> texts. Multiple presentation formats are provided, including <strong>sheet music</strong>, <strong>MIDI audio</strong>, and <strong>singing audio</strong>. Here, we use ACE Studio to synthesize singing voices corresponding to the melodies.</p>
<!-- English Sample 1 -->
<div class="sample">
<h3>English Sample 1</h3>
<div class="section">
<h4>Lyric</h4>
<pre>
Said I paid my dues for what’s done, and I’ll show you. You said, 'You trick me once, has always been trick.'
</pre>
</div>
<div class="section">
<h4>Chord</h4>
<pre>
Cdim C#m7b5 C# Ab Ebm7 C#
</pre>
</div>
<div class="section">
<h4>Sheet Music</h4>
<embed src="assets/pdf/144.pdf" type="application/pdf" class="pdf-embed">
</div>
<div class="section">
<h4>Melody</h4>
<audio controls>
<source src="assets/audio/144.wav" type="audio/wav">
Your browser does not support the audio element.
</audio>
</div>
<div class="section">
<h4>Singing</h4>
<audio controls>
<source src="assets/audio/144_vocal.wav" type="audio/wav">
Your browser does not support the audio element.
</audio>
</div>
</div>
<!-- English Sample 2 -->
<div class="sample">
<h3>English Sample 2</h3>
<div class="section">
<h4>Lyric</h4>
<pre>
With a purple umbrella and a cent, just a woman. Missus Cool rides out in her aged, just a woman.
</pre>
</div>
<div class="section">
<h4>Chord</h4>
<pre>
Am7 F Bm7b5 Am7 F Bm7
</pre>
</div>
<div class="section">
<h4>Sheet Music</h4>
<embed src="assets/pdf/312.pdf" type="application/pdf" class="pdf-embed">
</div>
<div class="section">
<h4>Melody</h4>
<audio controls>
<source src="assets/audio/312.wav" type="audio/wav">
Your browser does not support the audio element.
</audio>
</div>
<div class="section">
<h4>Singing</h4>
<audio controls>
<source src="assets/audio/312_vocal.wav" type="audio/wav">
Your browser does not support the audio element.
</audio>
</div>
</div>
<!-- English Sample 3 -->
<div class="sample">
<h3>English Sample 3</h3>
<div class="section">
<h4>Lyric</h4>
<pre>
And I miss you, like the desert's mystery. And I miss you, yeah, like the desert's mystery.
</pre>
</div>
<div class="section">
<h4>Chord</h4>
<pre>
G Dm Am Dm7 Em7 C
</pre>
</div>
<div class="section">
<h4>Sheet Music</h4>
<embed src="assets/pdf/279.pdf" type="application/pdf" class="pdf-embed">
</div>
<div class="section">
<h4>Melody</h4>
<audio controls>
<source src="assets/audio/279.wav" type="audio/wav">
Your browser does not support the audio element.
</audio>
</div>
<div class="section">
<h4>Singing</h4>
<audio controls>
<source src="assets/audio/279_vocal.wav" type="audio/wav">
Your browser does not support the audio element.
</audio>
</div>
</div>
<!-- Chinese Sample 1 -->
<div class="sample">
<h3>Chinese Sample 1</h3>
<div class="section">
<h4>Lyric</h4>
<pre>
信上呃倾诉啊肺腑言啊哎哟,字字句啊句啊痛呃断哪肠哪,苍天降哪下啊无呃情剑哪,斩断人间啊。
</pre>
</div>
<div class="section">
<h4>Chord</h4>
<pre>
Am Em7 Am Em7 Am Em Am C Am C Em7 Am
</pre>
</div>
<div class="section">
<h4>Sheet Music</h4>
<embed src="assets/pdf/zh_0.pdf" type="application/pdf" class="pdf-embed">
</div>
<div class="section">
<h4>Melody</h4>
<audio controls>
<source src="assets/audio/zh_0.wav" type="audio/wav">
Your browser does not support the audio element.
</audio>
</div>
<div class="section">
<h4>Singing</h4>
<audio controls>
<source src="assets/audio/zh_0_vocal.wav" type="audio/wav">
Your browser does not support the audio element.
</audio>
</div>
</div>
<!-- Chinese Sample 2 -->
<div class="sample">
<h3>Chinese Sample 2</h3>
<div class="section">
<h4>Lyric</h4>
<pre>
四拜梁哥啊墓台前,草桥结拜情谊深,眼泪流干情不尽,梁哥墓台葬我心。
</pre>
</div>
<div class="section">
<h4>Chord</h4>
<pre>
Am7 C Dm7 C Am7 C Am7 Em7 Am7
</pre>
</div>
<div class="section">
<h4>Sheet Music</h4>
<embed src="assets/pdf/zh_9.pdf" type="application/pdf" class="pdf-embed">
</div>
<div class="section">
<h4>Melody</h4>
<audio controls>
<source src="assets/audio/zh_9.wav" type="audio/wav">
Your browser does not support the audio element.
</audio>
</div>
<div class="section">
<h4>Singing</h4>
<audio controls>
<source src="assets/audio/zh_9_vocal.wav" type="audio/wav">
Your browser does not support the audio element.
</audio>
</div>
</div>
</section>
</main>
<footer>
<!-- <p>© 2024 Your Name. All rights reserved.</p> -->
</footer>
</body>
</html>