-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
377 lines (320 loc) · 18.3 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Piano</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Orbitron&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Great+Vibes&family=Sacramento&family=Satisfy&family=Tangerine&display=swap" rel="stylesheet">
</head>
<!-- ****************************************************** Design and coding by Peyman Motamedifar ***************************************************
Website = peyman-web.ir
Linkedin = https://www.linkedin.com/in/peymanmotamedifar/
Github = https://github.com/peymanmotamedifar
Instagram = peyman_web
Email = [email protected] -->
<body>
<section>
<div class="top3">
<div>
<img src="img/Merk-Yamaha-.png" alt="YAMAHA">
<div> <button id="btnsong" onclick="btn2()">Golden Dreams<svg id="play" xmlns="http://www.w3.org/2000/svg" height="24" width="24"><path d="m9.15 17.15 8-5.15-8-5.15ZM12 22.8q-2.25 0-4.213-.85-1.962-.85-3.424-2.312Q2.9 18.175 2.05 16.212 1.2 14.25 1.2 12t.85-4.225Q2.9 5.8 4.363 4.338q1.462-1.463 3.424-2.301Q9.75 1.2 12 1.2t4.225.837q1.975.838 3.438 2.301 1.462 1.462 2.299 3.437Q22.8 9.75 22.8 12q0 2.25-.838 4.212-.837 1.963-2.299 3.426Q18.2 21.1 16.225 21.95q-1.975.85-4.225.85Zm0-2.65q3.425 0 5.788-2.363Q20.15 15.425 20.15 12t-2.362-5.788Q15.425 3.85 12 3.85q-3.425 0-5.787 2.362Q3.85 8.575 3.85 12q0 3.425 2.363 5.787Q8.575 20.15 12 20.15ZM12 12Z"/></svg>
<svg id="stop" xmlns="http://www.w3.org/2000/svg" height="24" width="24"><path d="M7.675 16.325h8.65v-8.65h-8.65ZM12 22.8q-2.25 0-4.213-.85-1.962-.85-3.424-2.312Q2.9 18.175 2.05 16.212 1.2 14.25 1.2 12t.85-4.225Q2.9 5.8 4.363 4.338q1.462-1.463 3.424-2.301Q9.75 1.2 12 1.2t4.225.837q1.975.838 3.438 2.301 1.462 1.462 2.299 3.437Q22.8 9.75 22.8 12q0 2.25-.838 4.212-.837 1.963-2.299 3.426Q18.2 21.1 16.225 21.95q-1.975.85-4.225.85Zm0-2.65q3.425 0 5.788-2.363Q20.15 15.425 20.15 12t-2.362-5.788Q15.425 3.85 12 3.85q-3.425 0-5.787 2.362Q3.85 8.575 3.85 12q0 3.425 2.363 5.787Q8.575 20.15 12 20.15ZM12 12Z"/></svg>
</button></div>
</div>
<div class="_display">
<span>PLAY</span>
</div>
<div class="metro">
<div>
<div><button class="metroOnOf" onclick="btn()"><span></span> <span>Metronome</span></button></div>
<input id=demoInput type=number min=0.75 max=1.25 step="0.25" value="1">
<button class="vol" onclick="increment()">+</button>
<span class="tempo">TEMPO</span>
<button class="vol" onclick="decrement()">-</button>
</div>
</div>
</div>
<div class="top2">-- Peyman Motamedifar --</div>
<div class="top1">
<span class="l65"></span>
<span class="l49"></span>
<span class="l83"></span>
<span class="l50"></span>
<span class="l68"></span>
<span class="l70"></span>
<span class="l51"></span>
<span class="l71"></span>
<span class="l52"></span>
<span class="l72"></span>
<span class="l53"></span>
<span class="l74"></span>
<span class="l75"></span>
<span class="l54"></span>
<span class="l76"></span>
<span class="l55"></span>
<span class="l186"></span>
<span class="l222"></span>
<span class="l56"></span>
<span class="l13"></span>
<span class="l57"></span>
<span class="l100"></span>
<span class="l48"></span>
<span class="l101"></span>
<span class="l102"></span>
<span class="l189"></span>
<span class="l107"></span>
<span class="l187"></span>
<span class="l90"></span>
<span class="l88"></span>
<span class="l8"></span>
<span class="l67"></span>
<span class="l81"></span>
<span class="l86"></span>
<span class="l87"></span>
<span class="l66"></span>
<span class="l78"></span>
<span class="l69"></span>
<span class="l77"></span>
<span class="l82"></span>
<span class="l188"></span>
<span class="l190"></span>
<span class="l84"></span>
<span class="l191"></span>
<span class="l89"></span>
<span class="l16"></span>
<span class="l85"></span>
<span class="l97"></span>
<span class="l98"></span>
<span class="l73"></span>
<span class="l99"></span>
<span class="l79"></span>
<span class="l37"></span>
<span class="l40"></span>
<span class="l80"></span>
<span class="l39"></span>
<span class="l219"></span>
<span class="l96"></span>
<span class="l221"></span>
<span class="l110"></span>
</div>
<div class="d">
<div class="dp">
<span></span>
<div data-note="C2" class="white-key1 pk a65" >
<div>Do</div>
</div>
<svg data-note="Db2" class="Group1 pk a49" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="D2" class="white-key2 pk a83" >
<div></div>
<div>Re</div>
</div>
<svg data-note="Eb2" class="Group1 pk a50 " width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="E2" class="white-key3 pk a68" >
<div >Me</div>
</div>
<div data-note="F2" class="white-key1 pk a70" >
<div >Fa</div>
</div>
<svg data-note="Gb2" class="Group1 pk a51" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="G2" class="white-key5 pk a71" >
<div></div>
<div>Sol</div>
</div>
<svg data-note="Ab2" class="Group1 pk a52" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="A2" class="white-key6 pk a72" >
<div></div>
<div>La</div>
</div>
<svg data-note="Bb2" class="Group1 pk a53" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="B2" class="white-key3 pk a74" >
<div >Si</div>
</div>
<div data-note="C3" class="white-key1 pk a75" >
<div >Do</div>
</div>
<svg data-note="Db3" class="Group1 pk a54" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="D3" class="white-key2 pk a76" >
<div></div>
<div>Re</div>
</div>
<svg data-note="Eb3" class="Group1 pk a55" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="E3" class="white-key3 pk a186" >
<div >Me</div>
</div>
<div data-note="F3" class="white-key1 pk a222" >
<div >Fa</div>
</div>
<svg data-note="Gb3" class="Group1 pk a56" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="G3" class="white-key5 pk a13" >
<div></div>
<div>Sol</div>
</div>
<svg data-note="Ab3" class="Group1 pk a57" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="A3" class="white-key6 pk a100" >
<div></div>
<div>La</div>
</div>
<svg data-note="Bb3" class="Group1 pk a48" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="B3" class="white-key3 pk a101" >
<div >Si</div>
</div>
<div data-note="C4" class="white-key1 pk a102" >
<div >Do</div>
</div>
<svg data-note="Db4" class="Group1 pk a189" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="D4" class="white-key2 pk a107" >
<div></div>
<div>Re</div>
</div>
<svg data-note="Eb4" class="Group1 pk a187" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="E4" class="white-key3 pk a90" >
<div >Mi</div>
</div>
<div data-note="F4" class="white-key1 pk a88 a88" >
<div >Fa</div>
</div>
<svg data-note="Gb4" class="Group1 pk a8" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="G4" class="white-key5 pk a67" >
<div></div>
<div>Sol</div>
</div>
<svg data-note="Ab4" class="Group1 pk a81" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="A4" class="white-key6 pk a86" >
<div></div>
<div>La</div>
</div>
<svg data-note="Bb4" class="Group1 pk a87" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="B4" class="white-key3 pk a66" >
<div >Si</div>
</div>
<div data-note="C5" class="white-key1 pk a78" >
<div >Do</div>
</div>
<svg data-note="Db5" class="Group1 pk a69" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="D5" class="white-key2 pk a77" >
<div></div>
<div>Re</div>
</div>
<svg data-note="Eb5" id="G17" class="Group1 pk a82" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="E5" class="white-key3 pk a188" >
<div >Mi</div>
</div>
<div data-note="F5" class="white-key1 pk a190" >
<div>Fa</div>
</div>
<svg data-note="Gb5" class="Group1 pk a84" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="G5" class="white-key5 pk a191" >
<div></div>
<div>Sol</div>
</div>
<svg data-note="Ab5" class="Group1 pk a89" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="A5" class="white-key6 pk a16" >
<div></div>
<div>La</div>
</div>
<svg data-note="Bb5" class="Group1 pk a85" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="B5" class="white-key3 pk a97" >
<div>Si</div>
</div>
<div data-note="C6" class="white-key1 pk a98" >
<div>Do</div>
</div>
<svg data-note="Db6" class="Group1 pk a73" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="D6" class="white-key2 pk a99" >
<div></div>
<div>Re</div>
</div>
<svg data-note="Eb6" class="Group1 pk a79" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="E6" class="white-key3 pk a37" >
<div >Mi</div>
</div>
<div data-note="F6" class="white-key1 pk a40" >
<div >Fa</div>
</div>
<svg data-note="Gb6" class="Group1 pk a80" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="G6" class="white-key5 pk a39" >
<div></div>
<div>Sol</div>
</div>
<svg data-note="Ab6" class="Group1 pk a219" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="A6" class="white-key6 pk a96" >
<div></div>
<div>La</div>
</div>
<svg data-note="Bb6" class="Group1 pk a221" width="66" height="458" viewBox="0 0 66 458" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>
<div data-note="B6" class="white-key3 pk a110" >
<div >Si</div>
</div>
<span></span>
</div>
</div>
</section>
<audio src="sound/C2.mp3" id="C2" class="e65"></audio>
<audio src="sound/Db2.mp3" id="Db2" class="e49" ></audio>
<audio src="sound/D2.mp3" id="D2" class="e83"></audio>
<audio src="sound/Eb2.mp3" id="Eb2" class="e50"></audio>
<audio src="sound/E2.mp3" id="E2" class="e68"></audio>
<audio src="sound/F2.mp3" id="F2" class="e70"></audio>
<audio src="sound/Gb2.mp3" id="Gb2" class="e51"></audio>
<audio src="sound/G2.mp3" id="G2" class="e71"></audio>
<audio src="sound/Ab2.mp3" id="Ab2" class="e52"></audio>
<audio src="sound/A2.mp3" id="A2" class="e72"></audio>
<audio src="sound/Bb2.mp3" id="Bb2" class="e53"></audio>
<audio src="sound/B2.mp3" id="B2" class="e74"></audio>
<audio src="sound/C3.mp3" id="C3" class="e75"></audio>
<audio src="sound/Db3.mp3" id="Db3" class="e54"></audio>
<audio src="sound/D3.mp3" id="D3" class="e76"></audio>
<audio src="sound/Eb3.mp3" id="Eb3" class="e55"></audio>
<audio src="sound/E3.mp3" id="E3" class="e186"></audio>
<audio src="sound/F3.mp3" id="F3" class="e222"></audio>
<audio src="sound/Gb3.mp3" id="Gb3" class="e56"></audio>
<audio src="sound/G3.mp3" id="G3" class="e13"></audio>
<audio src="sound/Ab3.mp3" id="Ab3" class="e57"></audio>
<audio src="sound/A3.mp3" id="A3" class="e100"></audio>
<audio src="sound/Bb3.mp3" id="Bb3" class="e48"></audio>
<audio src="sound/B3.mp3" id="B3" class="e101"></audio>
<audio src="sound/C4.mp3" id="C4" class="e102"></audio>
<audio src="sound/Db4.mp3" id="Db4" class="e189"></audio>
<audio src="sound/D4.mp3" id="D4" class="e107"></audio>
<audio src="sound/Eb4.mp3" id="Eb4" class="e187"></audio>
<audio src="sound/E4.mp3" id="E4" class="e90"></audio>
<audio src="sound/F4.mp3" id="F4" class="e88"></audio>
<audio src="sound/Gb4.mp3" id="Gb4" class="e8"></audio>
<audio src="sound/G4.mp3" id="G4" class="e67"></audio>
<audio src="sound/Ab4.mp3" id="Ab4" class="e81" ></audio>
<audio src="sound/A4.mp3" id="A4" class="e86"></audio>
<audio src="sound/Bb4.mp3" id="Bb4" class="e87"></audio>
<audio src="sound/B4.mp3" id="B4" class="e66"></audio>
<audio src="sound/C5.mp3" id="C5" class="e78"></audio>
<audio src="sound/Db5.mp3" id="Db5" class="e69"></audio>
<audio src="sound/D5.mp3" id="D5" class="e77"></audio>
<audio src="sound/Eb5.mp3" id="Eb5" class="e82"></audio>
<audio src="sound/E5.mp3" id="E5" class="e188"></audio>
<audio src="sound/F5.mp3" id="F5" class="e190"></audio>
<audio src="sound/Gb5.mp3" id="Gb5" class="e84"></audio>
<audio src="sound/G5.mp3" id="G5" class="e191"></audio>
<audio src="sound/Ab5.mp3" id="Ab5" class="e89"></audio>
<audio src="sound/A5.mp3" id="A5" class="e16"></audio>
<audio src="sound/Bb5.mp3" id="Bb5" class="e85"></audio>
<audio src="sound/B5.mp3" id="B5" class="e97"></audio>
<audio src="sound/C6.mp3" id="C6" class="e98"></audio>
<audio src="sound/Db6.mp3" id="Db6" class="e73"></audio>
<audio src="sound/D6.mp3" id="D6" class="e99"></audio>
<audio src="sound/Eb6.mp3" id="Eb6" class="e79"></audio>
<audio src="sound/E6.mp3" id="E6" class="e37"></audio>
<audio src="sound/F6.mp3" id="F6" class="e40"></audio>
<audio src="sound/Gb6.mp3" id="Gb6" class="e80"></audio>
<audio src="sound/G6.mp3" id="G6" class="e39"></audio>
<audio src="sound/Ab6.mp3" id="Ab6" class="e219"></audio>
<audio src="sound/A6.mp3" id="A6" class="e96"></audio>
<audio src="sound/Bb6.mp3" id="Bb6" class="e221"></audio>
<audio src="sound/B6.mp3" id="B6" class="e110"></audio>
<audio src="metro/metronome.mp3" class="me"></audio>
<script src="script.js"></script>
</body>
</html>