forked from EmergenSea/Moodsong
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·181 lines (167 loc) · 7.63 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Moodsong ♮</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="An interactive app that gives you a custom song depending on your mood and tastes.">
<link href="https://fonts.googleapis.com/css?family=Montserrat:200,300,400,500" rel="stylesheet">
<link rel="stylesheet" href="public/styles/styles.css"/>
</head>
<body>
<div class="wrapper">
<header class="header-small">
<div class="info-top">
<h1>Mood<span>song<span></h1>
<p>Select one sample from each category, and enjoy your creation.</p>
</div>
</header>
<header class="header-big">
<div class="info-top">
<h1>Mood<span>song<span></h1>
<p>Select one sample from each category, and enjoy your creation.</p>
</div>
<div class="info-bottom">
<button><a href="http://twitter.com/share?text=Had%20some%20fun%20messing%20around%20on%20this%20web%20drum%20pad!" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i> Tweet</a></button>
<p class="info-bottom--enjoy">Tweet if you enjoyed!</p>
<p class="info-bottom--copyright">Made with love by <span><span class="purple">Tristan</span> & <span class="cyan">Evelyn</span></span></p>
<p class="music">Music by Nightizm</p>
</div>
</header>
<section>
<div class="machine-container">
<!-- LEFT DRUM MACHINE CONTAINER -->
<main class="left">
<!-- LEFT CELL INPUT DIV -->
<div class="left-cell">
<div class="left-cell__title"><h2>Effects</h2></div>
<form action="#" class="left-cell__form">
<div class="form__checkbox-container">
<label for="choice1" class="form__checkbox-label unselected tempo glowTempo"></label>
<input data-audio="tempo1" type="checkbox" id="choice1" class="form__checkbox-input" name="choice1">
<div class="form__checkbox-shadow tempoShadow"></div>
<p>Navi</p>
</div>
<div class="form__checkbox-container">
<label for="choice2" class="form__checkbox-label unselected tempo glowTempo"></label>
<input data-audio="tempo2" type="checkbox" id="choice2" class="form__checkbox-input" name="choice1">
<div class="form__checkbox-shadow tempoShadow"></div>
<p>Fighter</p>
</div>
</form>
</div>
<!-- LEFT CELL INPUT DIV -->
<div class="left-cell">
<div class="left-cell__title"><h2>Beat</h2></div>
<form action="#" class="left-cell__form">
<div class="form__checkbox-container">
<label for="choice3" class="form__checkbox-label unselected beat glowBeat"></label>
<input data-audio="beat1" type="checkbox" id="choice3" class="form__checkbox-input" name="choice2">
<div class="form__checkbox-shadow beatShadow"></div>
<p>4 x 4</p>
</div>
<div class="form__checkbox-container">
<label for="choice4" class="form__checkbox-label unselected beat glowBeat"></label>
<input data-audio="beat2" type="checkbox" id="choice4" class="form__checkbox-input" name="choice2">
<div class="form__checkbox-shadow beatShadow"></div>
<p>Trap</p>
</div>
</form>
</div>
<!-- LEFT CELL INPUT DIV -->
<div class="left-cell">
<div class="left-cell__title"><h2>Chords / Melody</h2></div>
<form action="#" class="left-cell__form">
<div class="form__checkbox-container">
<label for="choice5" class="form__checkbox-label unselected melody glowMelody"></label>
<input data-audio="melody1" type="checkbox" id="choice5" class="form__checkbox-input" name="choice3">
<div class="form__checkbox-shadow melodyShadow"></div>
<p>Uplifting</p>
</div>
<div class="form__checkbox-container">
<label for="choice6" class="form__checkbox-label unselected melody glowMelody"></label>
<input data-audio="melody2" type="checkbox" id="choice6" class="form__checkbox-input" name="choice3">
<div class="form__checkbox-shadow melodyShadow"></div>
<p>Mellow</p>
</div>
</form>
</div>
<!-- LEFT CELL INPUT DIV -->
<div class="left-cell">
<div class="left-cell__title"><h2>Vocals</h2></div>
<form action="#" class="left-cell__form">
<div class="form__checkbox-container">
<label for="choice7" class="form__checkbox-label unselected vocals glowVocals"></label>
<input data-audio="vocals1" type="checkbox" id="choice7" class="form__checkbox-input" name="choice4">
<div class="form__checkbox-shadow vocalsShadow"></div>
<p>Arabic</p>
</div>
<div class="form__checkbox-container">
<label for="choice8" class="form__checkbox-label unselected vocals glowVocals"></label>
<input data-audio="vocals2" type="checkbox" id="choice8" class="form__checkbox-input" name="choice4">
<div class="form__checkbox-shadow vocalsShadow"></div>
<p>Gregorian</p>
</div>
</form>
</div>
</main>
<!-- RIGHT DRUM MACHINE CONTAINER -->
<aside class="right">
<div class="right-cell">
<div class="left-cell__title"><h2>Ambiance</h2></div>
<form action="#" class="right-cell__form">
<div class="form__checkbox-container">
<label for="choice9" class="form__checkbox-label unselected synths glowSynths"></label>
<input data-audio="synth1" type="checkbox" id="choice9" class="form__checkbox-input" name="choice">
<div class="form__checkbox-shadow synthsShadow"></div>
<p>Fire</p>
</div>
</form>
</div>
<div class="right-cell">
<form action="#" class="right-cell__form">
<div class="form__checkbox-container">
<label for="choice10" class="form__checkbox-label unselected synths glowSynths"></label>
<input data-audio="synth2" type="checkbox" id="choice10" class="form__checkbox-input" name="choice">
<div class="form__checkbox-shadow synthsShadow"></div>
<p>Waves</p>
</div>
</form>
</div>
<div class="right-cell">
<form action="#" class="right-cell__form">
<div class="form__checkbox-container">
<label for="choice11" class="form__checkbox-label unselected synths glowSynths"></label>
<input data-audio="synth3" type="checkbox" id="choice11" class="form__checkbox-input" name="choice">
<div class="form__checkbox-shadow synthsShadow"></div>
<p>Playing</p>
</div>
</form>
</div>
<div class="right-cell">
<form action="#" class="right-cell__form">
<div class="form__checkbox-container">
<label for="choice12" class="form__checkbox-label unselected synths glowSynths"></label>
<input data-audio="synth4" type="checkbox" id="choice12" class="form__checkbox-input" name="choice">
<div class="form__checkbox-shadow synthsShadow"></div>
<p>Vinyl</p>
</div>
</form>
</div>
</aside>
</div> <!-- END OF DRUM MACHINE CONTAINER -->
</section>
<footer>
<div class="info-bottom">
<button><a href="http://twitter.com/share?text=Had%20some%20fun%20messing%20around%20on%20this%20web%20drum%20pad!" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i> Tweet</a></button>
<p class="info-bottom--copyright">Made with love by <span class="purple">Tristan</span> & <span class="cyan">Evelyn</span></p>
<p class="music">Music by Nightizm</p>
</div>
</footer>
</div> <!-- END OF THE WRAPPER -->
<!-- THE JAVASCRIPT LIBRARY SOURCES -->
<script src="https://use.fontawesome.com/e6adbedc6e.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="public/scripts/script.js"></script>
</body>
</html>