-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (73 loc) · 2.93 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
<!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="wav3y">
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🌊</text></svg>">
<link rel="stylesheet" type="text/css" href="./styles.css">
<title>wav3y</title>
</head>
<body>
<h1>🌊 welcome to wav3y 🌊</h1>
<section class="keyboard">
<div class="group">
<button data-pitch="C3" class="key white"></button>
<button data-pitch="C#3" class="key black"></button>
</div>
<div class="group">
<button data-pitch="D3" class="key white"></button>
<button data-pitch="D#3" class="key black"></button>
</div>
<div class="group">
<button data-pitch="E3" class="key white"></button>
</div>
<div class="group">
<button data-pitch="F3" class="key white"></button>
<button data-pitch="F#3" class="key black"></button>
</div>
<div class="group">
<button data-pitch="G3" class="key white"></button>
<button data-pitch="G#3" class="key black"></button>
</div>
<div class="group">
<button data-pitch="A3" class="key white"></button>
<button data-pitch="A#3" class="key black"></button>
</div>
<div class="group">
<button data-pitch="B3" class="key white"></button>
</div>
<div class="group">
<button data-pitch="C4" class="key white"></button>
<button data-pitch="C#4" class="key black"></button>
</div>
<div class="group">
<button data-pitch="D4" class="key white"></button>
<button data-pitch="D#4" class="key black"></button>
</div>
<div class="group">
<button data-pitch="E4" class="key white"></button>
</div>
<div class="group">
<button data-pitch="F4" class="key white"></button>
<button data-pitch="F#4" class="key black"></button>
</div>
<div class="group">
<button data-pitch="G4" class="key white"></button>
<button data-pitch="G#4" class="key black"></button>
</div>
<div class="group">
<button data-pitch="A4" class="key white"></button>
<button data-pitch="A#4" class="key black"></button>
</div>
<div class="group">
<button data-pitch="B4" class="key white"></button>
</div>
</section>
<section>
<h3>Mode</h3>
<label for="single"><input name="chord" type="radio" id="single" checked>V3rby</label>
<label for="major"><input name="chord" type="radio" id="major">Dry Major</label>
<label for="minor"><input name="chord" type="radio" id="minor">Dry Minor</label>
</section>
<canvas id="visuals"></canvas>
<script type="module" src="https://mthomasuk.github.io/wav3y/index.js"></script>
</body></html>