-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
92 lines (86 loc) · 4.22 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>הפסנתר שלי</title>
<link rel="stylesheet" href="style.css">
<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=Karantina:wght@300;400;700&family=Rubik+Maze&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=Karantina:wght@300;400;700&display=swap" rel="stylesheet">
</head>
<body>
<section>
<h1>הפסנתר שלי</h1>
<div class="chart" id="graph" data-percent="88">
<button id="waveforms" class="waveform" data-wave="sine">עדין</button>
<button id="waveforms" class="waveform" data-wave="triangle">רך</button>
<button id="waveforms" class="waveform" data-wave="square">מוביל 1</button>
<button id="waveforms" class="waveform" data-wave="sawtooth">מוביל 2</button>
<label for="reverb">עוצמה:</label>
<input type="range" id="reverb" min="0" max="1" step="0.01" value="0">
<label for="delay">הד:</label>
<input type="range" id="delay" min="0" max="1" step="0.01" value="0">
<label for="volume">דיליי:</label>
<input type="range" id="volume" min="0" max="1" step="0.01" value="0.5" >
</div>
</section>
<main>
<div id="circle" class="note-buttons circle">
<button class="note C square octave-1">C</button>
<button class="note D square octave-1">D</button>
<button class="note E square octave-1">E</button>
<button class="note F square octave-1">F</button>
<button class="note G square octave-1">G</button>
<button class="note A square octave-1">A</button>
<button class="note B square octave-1">B</button>
<button class="note C circle octave-2">C</button>
<button class="note D circle octave-2">D</button>
<button class="note E circle octave-2">E</button>
<button class="note F circle octave-2">F</button>
<button class="note G circle octave-2">G</button>
<button class="note A circle octave-2">A</button>
<button class="note B circle octave-2">B</button>
<button class="note triangle octave-3 C">C
<svg height="50" width="50">
<polygon points="25,0 50,50 0,50" style="fill:red;" />
</svg>
</button>
<button class="note triangle octave-3 D">D
<svg height="50" width="50">
<polygon points="25,0 50,50 0,50" style="fill:brown;" />
</svg>
</button>
<button class="note triangle octave-3 E">E
<svg height="50" width="50">
<polygon points="25,0 50,50 0,50" style="fill:grey;" />
</svg>
</button>
<button class="note triangle octave-3 F">F
<svg height="50" width="50">
<polygon points="25,0 50,50 0,50" style="fill:blue;" />
</svg>
</button>
<button class="note triangle octave-3 G">G
<svg height="50" width="50">
<polygon points="25,0 50,50 0,50" style="fill:black;" />
</svg>
</button>
<button class="note triangle octave-3 A">A
<svg height="50" width="50">
<polygon points="25, 0, 50,50 0,50" style="fill:yellow;" />
</svg>
</button>
<button class="note triangle octave-3 B">B
<svg height="50" width="50">
<polygon points="25,0 50,50 0,50" style="fill:green;" />
</svg>
</button>
</div>
</main>
<script src="main.js"></script>
</body>
</html>