-
Notifications
You must be signed in to change notification settings - Fork 0
/
chords.html
65 lines (50 loc) · 2.5 KB
/
chords.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
<html>
<head>
<link href = "../musichacks/app.css" rel = "stylesheet">
<title>Emotive Chords</title>
<script src="app.js"></script>
</head>
<body>
<img src="pictures/music-notes-on-staff-clipart-nTBG8dyEc.gif" style="width:550px;height:200px;margin-left:25px; margin-top:0px; margin-bottom:0;">
<h1>Customize your chord progression:</h1>
<div id="button_layout">
<div class="column1">
<button type="button" onclick="chords('C','pos1')" id="C" class="button3">
C
</button>
<button type="button" onclick="chords('G7','pos2')" id="G7" class="button3">
G<sup>7</sup>
</button>
<button type="button" onclick="chords('Aminor','pos3')" id="Aminor" class="button3">
Aminor
</button>
<button type="button" onclick="chords('F','pos4')" id="F" class="button3">
F
</button>
</div>
<div class="column2">
<button type="button" onclick="chords('C7','pos1')" id="C7" class="button3">
C<sup>7</sup>
</button>
<button type="button" onclick="chords('G-major7','pos2')" id="G-major7" class="button3">
G-major7
<button type="button" onclick="chords('A7','pos3')" id="A7" class="button3">
A<sup>7</sup>
</button>
<button type="button" onclick="chords('F7','pos4')" id="F7" class="button3">
F<sup>7</sup>
</button>
</div>
<div id="chords" class="chordsyay">
<button type=button onclick="playProgression()" id="play" class="playbutton">
<img src="pictures/play-button.png">
</button>
<br>
<button class="pos" id="pos1" onclick="playSound2('pos1')">C</button>
<button class="pos" id="pos2" onclick="playSound2('pos2')">G7</button>
<button class="pos" id="pos3" onclick="playSound2('pos3')">Aminor</button>
<button class="pos" id="pos4" onclick="playSound2('pos4')">F</button>
</div>
</div>
</body>
</html>