-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
139 lines (136 loc) ยท 6.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
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
<!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" />
<meta name="apple-mobile-web-app-capable" content="yes">
<title>autokalimba</title>
<link rel="icon" type="image/png" href="/favicon.png">
<script type="text/javascript" src="autokalimba.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div id="fullscreen-button-area" class="fullscreen-button-area">
<button class="fullscreen-button">
Fullscreen
</button>
<button onclick="document.getElementById('fullscreen-button-area').remove()">
Dismiss
</button>
</div>
<input type="checkbox" id="settings"></input>
<label for="settings">Settings</label>
<a class="refresh-link" style="display:block" href="">Refresh</a>
<br>
<br>
<input type="checkbox" checked id="split-keys"></input>
<label for="split-keys">Split keys</label>
<input type="checkbox" id="emoji-labels"></input>
<label for="emoji-labels">Emoji labels</label>
<br>
<input type="checkbox" id="horizontal-chords"></input>
<label for="horizontal-chords">Horizontal chords</label>
<br>
<label for="tuning">Tuning</label>
<input type="range" id="tuning" min="-50" max="50" value="0" step="2">
<output id="tuning-value">0</output>
<br>
<label for="transpose">Transpose</label>
<input type="range" id="transpose" min="-5" max="6" value="0" step="1">
<output id="transpose-value">0</output>
<br>
<label for="sharps">Sharps</label>
<input type="range" id="sharps" min="0" max="5" value="1" step="1">
<output id="sharps-value">0</output>
<br>
<label for="bass-gain">Bass volume</label>
<input type="range" id="bass-gain" min="0" max="2" value="1" step="0.05">
<br>
<label for="chord-gain">Chord volume</label>
<input type="range" id="chord-gain" min="0" max="2" value="1" step="0.05">
<br>
<label for="strum">Strum delay</label>
<input type="range" id="strum" min="0" max="0.2" value="0.04" step="0.01">
<br>
<label for="strum-style">Strum style:</label>
<select name="strum-style" id="select-strum-style">
<option value="random" selected>Random</option>
<option value="up">Up</option>
<option value="down">Down</option>
<option value="timed">Timed</option>
</select>
<br>
Instrument:
<select name="instrument" id="select-instrument">
<!-- populated by javascript -->
</select>
<br>
<label for="special-chord">Special chord:</label>
<select name="special-chord" id="select-special-chord">
<option value="II/,9 14 12 18,๐" selected>II/</option>
<option value="lyd,11 14 16 18,๐ฎ">maj7#11</option>
<option value="ฮ#5,8 11 12 16,โก️">maj7#5</option>
<option value="mฮ,7 11 12 15,๐ช">mmaj7</option>
<option value="7b5,6 10 12 16,๐ก๏ธ">7b5</option>
<option value="2,7 12 14 16,โ๏ธ️">add2</option>
</select>
<br>
<label for="hue">Hue</label>
<input type="range" id="hue" min="-180" max="180" value="0" step="1">
<br>
By <a href="https://twitter.com/chordbug">Lynn</a> and <a href="https://github.com/lynn/harp/graphs/contributors">friends</a>.
<br>
<a href="https://ko-fi.com/chordbug">Donate</a> / <a href="https://github.com/lynn/harp/issues">Report issue</a>
<div class="controls">
<div class="bass">
<div class="bass-column">
<div class="button bass-button">Db</div>
<div class="button bass-button">Ab</div>
<div class="button bass-button">Eb</div>
<div class="button bass-button">Bb</div>
</div>
<div class="bass-column">
<div class="button bass-button">F</div>
<div class="button bass-button">C</div>
<div class="button bass-button">G</div>
<div class="button bass-button">D</div>
</div>
<div class="bass-column">
<div class="button bass-button">A</div>
<div class="button bass-button">E</div>
<div class="button bass-button">B</div>
<div class="button bass-button">F#</div>
</div>
</div>
<div class="middle">
<input id="base" type="range" orient="vertical" min="-12" max="12" value="-3">
</div>
<div class="chords">
<div class="chord-column">
<div class="button chord-button" data-chord="7 11 14 16" data-name="ฮ9" data-emoji="๐">ฮ9</div>
<div class="button chord-button" data-chord="7 10 14 15" data-name="m9" data-emoji="๐ ">m9</div>
<div class="button chord-button" data-chord="7 10 12 17" data-name="7s" data-emoji="๐ซ">7s</div>
<div class="button chord-button" data-chord="7 10 13 16" data-name="7b9" data-emoji="๐ฅ">7b9</div>
<div class="button chord-button" data-chord="10 14 17 21" data-name="13s" data-emoji="๐">13s</div>
</div>
<div class="chord-column">
<div class="button chord-button" data-chord="7 11 12 16" data-name="ฮ" data-emoji="๐">ฮ</div>
<div class="button chord-button" data-chord="7 10 12 15" data-name="m7" data-emoji="๐">m7</div>
<div class="button chord-button" data-chord="7 10 12 16" data-name="7" data-emoji="๐">7</div>
<div class="button chord-button" data-chord="8 10 12 16" data-name="7#5" data-emoji="๐ณ">7#5</div>
<div class="button chord-button" data-chord="10 14 16 21" data-name="13" data-emoji="๐ฅ">13</div>
</div>
<div class="chord-column">
<div class="button chord-button" data-chord="7 9 12 16" data-name="6" data-emoji="โ๏ธ️">6</div>
<div class="button chord-button" data-chord="7 9 12 15" data-name="m6" data-emoji="๐ง๏ธ">m6</div>
<div class="button chord-button" data-chord="6 10 12 15" data-name="รธ" data-emoji="๐ก๏ธ">รธ</div>
<div class="button chord-button" data-chord="6 9 12 15" data-name="o" data-emoji="๐ช">o</div>
<div id="special-chord-button" class="button chord-button" data-chord="9 14 12 18" data-name="II/" data-emoji="๐">II/</div>
</div>
</div>
</div>
</div>
</body>
</html>