-
Notifications
You must be signed in to change notification settings - Fork 0
/
chordFinder.html
125 lines (119 loc) · 4.13 KB
/
chordFinder.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
<!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">
<title>Document</title>
</head>
<body>
<script src ="chordFinder.js"></script>
<form id ="formData">
<label for="Note1">Note#1</label>
<select name="note1" id="note1">
<option value = -1>None</option>
<option value = 0>C</option>
<option value = 1>C#/D♭</option>
<option value = 2>D</option>
<option value = 3>D#/E♭</option>
<option value = 4 >E</option>
<option value = 5>F</option>
<option value = 6>F#/G♭</option>
<option value = 7>G</option>
<option value = 8>G#/A♭</option>
<option value = 9>A</option>
<option value = 10>A#/B♭</option>
<option value = 11>B</option>
</select>
<label for="Note2">Note#2</label>
<select name="note2" id="note2">
<option value = -1>None</option>
<option value = 0>C</option>
<option value = 1>C#/D♭</option>
<option value = 2>D</option>
<option value = 3>D#/E♭</option>
<option value = 4 >E</option>
<option value = 5>F</option>
<option value = 6>F#/G♭</option>
<option value = 7>G</option>
<option value = 8>G#/A♭</option>
<option value = 9>A</option>
<option value = 10>A#/B♭</option>
<option value = 11>B</option>
</select>
<label for="Note3">Note#3</label>
<select name="note3" id="note3">
<option value = -1>None</option>
<option value = 0>C</option>
<option value = 1>C#/D♭</option>
<option value = 2>D</option>
<option value = 3>D#/E♭</option>
<option value = 4 >E</option>
<option value = 5>F</option>
<option value = 6>F#/G♭</option>
<option value = 7>G</option>
<option value = 8>G#/A♭</option>
<option value = 9>A</option>
<option value = 10>A#/B♭</option>
<option value = 11>B</option>
</select>
<label for="Note4">Note#4</label>
<select name="note4" id="note4">
<option value = -1>None</option>
<option value = 0>C</option>
<option value = 1>C#/D♭</option>
<option value = 2>D</option>
<option value = 3>D#/E♭</option>
<option value = 4 >E</option>
<option value = 5>F</option>
<option value = 6>F#/G♭</option>
<option value = 7>G</option>
<option value = 8>G#/A♭</option>
<option value = 9>A</option>
<option value = 10>A#/B♭</option>
<option value = 11>B</option>
</select>
<label for="Note5">Note#5</label>
<select name="note5" id="note5">
<option value = -1>None</option>
<option value = 0>C</option>
<option value = 1>C#/D♭</option>
<option value = 2>D</option>
<option value = 3>D#/E♭</option>
<option value = 4 >E</option>
<option value = 5>F</option>
<option value = 6>F#/G♭</option>
<option value = 7>G</option>
<option value = 8>G#/A♭</option>
<option value = 9>A</option>
<option value = 10>A#/B♭</option>
<option value = 11>B</option>
</select>
<label for="root note">Root note</label>
<select name="root_note" id="root_note">
<option value = -1>None</option>
<option value = 0>C</option>
<option value = 1>C#/D♭</option>
<option value = 2>D</option>
<option value = 3>D#/E♭</option>
<option value = 4 >E</option>
<option value = 5>F</option>
<option value = 6>F#/G♭</option>
<option value = 7>G</option>
<option value = 8>G#/A♭</option>
<option value = 9>A</option>
<option value = 10>A#/B♭</option>
<option value = 11>B</option>
</select>
<button type="button" onclick = chordFinder()>Submit</button>
<div id ="result"></div>
</form>
</body>
</html>
<style>
#formData {
display: flex;
flex-direction: column;
align-items: center;
}
</style>