-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
210 lines (161 loc) · 5.26 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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>808 Sequencer</title>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/jquery-ui.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="stylesheets/styles.css">
</head>
<body>
<div class="container">
<div class="row">
<h1>Web Audio Drum Sequencer</h1>
<h2>Loaded with Roland TR-808 Samples</h2>
</div>
<div class="row">
<button id="play-pause" type="button" class="btn btn-default btn-lg noselect">
<span class="glyphicon glyphicon-play" aria-hidden="true"></span>
</button>
<span class="tempo-container">
<label for="tempo-input" >Tempo </label>
<input id="tempo-input" type="number" disabled>
<span id="decrease-tempo" class="glyphicon glyphicon-minus btn btn-default tempo-btn"></span>
<span id="increase-tempo" class="glyphicon glyphicon-plus btn btn-default tempo-btn"></span>
</span>
</div>
<div class="row" data-instrument="kick">
<span class="instrument-label"><strong>Kick</strong></span>
<div class="pad column_0">
</div>
<div class="pad column_1">
</div>
<div class="pad column_2">
</div>
<div class="pad column_3">
</div>
<div class="pad column_4">
</div>
<div class="pad column_5">
</div>
<div class="pad column_6">
</div>
<div class="pad column_7">
</div>
<div class="pad column_8">
</div>
<div class="pad column_9">
</div>
<div class="pad column_10">
</div>
<div class="pad column_11">
</div>
<div class="pad column_12">
</div>
<div class="pad column_13">
</div>
<div class="pad column_14">
</div>
<div class="pad column_15">
</div>
</div>
<div class="row" data-instrument="snare">
<span class="instrument-label"><strong>Snare</strong></span>
<div class="pad column_0">
</div>
<div class="pad column_1">
</div>
<div class="pad column_2">
</div>
<div class="pad column_3">
</div>
<div class="pad column_4">
</div>
<div class="pad column_5">
</div>
<div class="pad column_6">
</div>
<div class="pad column_7">
</div>
<div class="pad column_8">
</div>
<div class="pad column_9">
</div>
<div class="pad column_10">
</div>
<div class="pad column_11">
</div>
<div class="pad column_12">
</div>
<div class="pad column_13">
</div>
<div class="pad column_14">
</div>
<div class="pad column_15">
</div>
</div>
<div class="row" data-instrument="hihat">
<span class="instrument-label"><strong>Hi-Hat</strong></span>
<div class="pad column_0">
</div>
<div class="pad column_1">
</div>
<div class="pad column_2">
</div>
<div class="pad column_3">
</div>
<div class="pad column_4">
</div>
<div class="pad column_5">
</div>
<div class="pad column_6">
</div>
<div class="pad column_7">
</div>
<div class="pad column_8">
</div>
<div class="pad column_9">
</div>
<div class="pad column_10">
</div>
<div class="pad column_11">
</div>
<div class="pad column_12">
</div>
<div class="pad column_13">
</div>
<div class="pad column_14">
</div>
<div class="pad column_15">
</div>
</div>
<div class="row">
<div class="filter-controls col-md-4">
<div class="control">
<button id="lpf" class="btn btn-default btn-lg">Low Pass Filter</button>
</div>
<div class="control">
<label for="freq-slider">Cutoff Frequency</label>
<div id="freq-slider"></div>
</div>
<div class="control">
<label for="quality-slider">Quality</label>
<div id="quality-slider"></div>
</div>
</div>
<div class="effect-controls col-md-4">
<div class="control">
<button id="reverb" class="btn btn-default btn-lg">Reverb</button>
</div>
</div>
</div>
</div>
<!-- Javascripts -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<script type="text/javascript" src="javascripts/kit.js"></script>
<script type="text/javascript" src="javascripts/impulse-response.js"></script>
<script type="text/javascript" src="javascripts/app.js"></script>
</body>
</html>