-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
87 lines (86 loc) · 3.14 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Lagoons</title>
<link rel="icon" type="image/png" href="piano.png">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="controls">
<div>
<button id="play-loop">Play Loop</button>
<button id="stop-loop">Stop Loop</button>
</div>
<div>
<label for="volume">Volume:</label><br>
<input type="range" id="volume" name="volume" min="0" max="1" step="0.01" value="0.5"></div>
<br><br>
<div><label for="reverb">Reverb:</label>
<input type="checkbox" id="reverb" name="reverb"></div>
<div><label for="delay">Delay:</label>
<input type="checkbox" id="delay" name="delay"></div>
<br>
<br>
<div><label for="attack">Attack:</label><br>
<input type="range" id="attack" name="attack" min="0" max="2" step="0.01" value="0.1">
<br>
<br>
<label for="decay">Decay:</label><br>
<input type="range" id="decay" name="decay" min="0" max="2" step="0.01" value="0.2">
<br>
<br>
<label for="sustain">Sustain:</label><br>
<input type="range" id="sustain" name="sustain" min="0" max="1" step="0.01" value="0.7">
<br>
<br>
<label for="release">Release:</label><br>
<input type="range" id="release" name="release" min="0" max="2" step="0.01" value="0.5"></div>
</div>
<nav>
<h1>Lagoons</h1>
<br>
<p> Client Version 1.0 | Music Keyboard</p>
<br>
</nav>
<main>
<div id="piano-keyboard">
<!-- Existing Keys -->
<div class="white-key" data-note="C4"></div>
<div class="black-key" data-note="C#4"></div>
<div class="white-key" data-note="D4"></div>
<div class="black-key" data-note="D#4"></div>
<div class="white-key" data-note="E4"></div>
<div class="white-key" data-note="F4"></div>
<div class="black-key" data-note="F#4"></div>
<div class="white-key" data-note="G4"></div>
<div class="black-key" data-note="G#4"></div>
<div class="white-key" data-note="A4"></div>
<div class="black-key" data-note="A#4"></div>
<div class="white-key" data-note="B4"></div>
<div class="white-key" data-note="C5"></div>
<div class="black-key" data-note="C#5"></div>
<div class="white-key" data-note="D5"></div>
<div class="black-key" data-note="D#5"></div>
<div class="white-key" data-note="E5"></div>
<div class="white-key" data-note="F5"></div>
<div class="black-key" data-note="F#5"></div>
<div class="white-key" data-note="G5"></div>
<div class="black-key" data-note="G#5"></div>
<!-- Additional Keys -->
<div class="white-key" data-note="A5"></div>
<div class="black-key" data-note="A#5"></div>
<div class="white-key" data-note="B5"></div>
<div class="white-key" data-note="C6"></div>
</div>
</main>
<aside>
<div class="night">
<div class="shooting_star"></div>
<div class="shooting_star"></div>
<div class="shooting_star"></div>
</div>
</aside>
<script src="sound.js"></script>
<script src="script.js"></script>
</body>
</html>