-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
83 lines (78 loc) · 2.8 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>GuitHub</title>
<!-- Fonts used for header and body -->
<link href='https://fonts.googleapis.com/css?family=Roboto:400,700' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<!-- Stylesheets -->
<link rel="stylesheet" type="text/css" href="css/normalize.css">
<link rel="stylesheet" type="text/css" href="css/guithub.css">
<!-- Javascript -->
<script type="text/javascript" src="scripts/pixi.min.js"></script>
</head>
<body>
<div id="container">
<!-- Header, with Unicode character for guitar -->
<div id="header">
<h1>🎸GuitHub</h1>
</div>
<div id="body">
<!-- Form to select root note, scale type, etc -->
<div class="form">
<form id="options">
<fieldset>
<label for="root"><b>Root Note</b></label>
<br>
<select id="root">
<option value="A">A</option>
<option value="A#">A#</option>
<option value="B">B</option>
<option value="C">C</option>
<option value="C#">C#</option>
<option value="D">D</option>
<option value="D#">D#</option>
<option value="E">E</option>
<option value="F">F</option>
<option value="F#">F#</option>
<option value="G">G</option>
<option value="G#">G#</option>
</select>
<br>
<label for="tonality"><b>Tonality</b></label>
<br>
<select id="tonality">
<option value="major">Major</option>
<option value="minor">Minor</option>
<option value="dorian">Dorian</option>
<option value="mixolydian">Mixolydian</option>
</select>
<br>
<label for="hand"><b>Handedness</b></label>
<br>
<input type="radio" name="hand" value="right" checked="checked">Right
<input type="radio" name="hand" value="left">Left
<br>
<button type="button" id="submit">Submit</button>
</fieldset>
</form>
</div>
<br>
<div id="canvas"></div>
<div id="instructions">
<p>Use number keys <b>1</b> through <b>7</b> to toggle chord highlighting, <b>0</b> to show all notes in scale.</p>
</div>
</div>
<div id="footer">
<p>
<a href="https://github.com/cnasc/guithub">Check Out GuitHub on GitHub!</a>
<br>
<i>GuitHub is not affiliated with GitHub, Inc. in any way.</i>
</p>
</div>
</div>
<script type="text/javascript" src="scripts/constants.js"></script>
<script type="text/javascript" src="scripts/guithub.js"></script>
</body>
</html>