-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
172 lines (169 loc) · 7.76 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css"
/>
<link
href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700"
rel="stylesheet"
/>
<title>Beat Maker</title>
</head>
<body>
<div class="sequencer">
<div class="kick-track">
<div class="controls">
<h1>Kick</h1>
<button data-track="0" class="mute kick-volume">
<i class="fas fa-volume-mute"></i>
</button>
<select name="kick-select" id="kick-select" class="select-css">
<option value="./sounds/kick-classic.wav">Classic Kick</option>
<option value="./sounds/kick-808.wav">808 kick</option>
<option value="./sounds/kick-acoustic01.wav"
>Acoustic kick 01</option
>
<option value="./sounds/kick-acoustic02.wav"
>Acoustic kick 02</option
>
<option value="./sounds/kick-big.wav">Big kick</option>
<option value="./sounds/kick-cultivator.wav"
>Cultivator kick</option
>
<option value="./sounds/kick-deep.wav">Deep kick</option>
<option value="./sounds/kick-dry.wav">Dry kick</option>
<option value="./sounds/kick-electro01.wav">Electro kick 01</option>
<option value="./sounds/kick-electro02.wav">Electro kick 02</option>
<option value="./sounds/kick-floppy.wav">Floppy kick</option>
<option value="./sounds/kick-gritty.wav">Gritty kick</option>
<option value="./sounds/kick-heavy.wav">Heavy kick</option>
<option value="./sounds/kick-newwave.wav">New wave kick</option>
<option value="./sounds/kick-oldschool.wav">Old school kick</option>
<option value="./sounds/kick-plain.wav">Plain kick</option>
<option value="./sounds/kick-slapback.wav">Slapback kick</option>
<option value="./sounds/kick-softy.wav">Softy kick</option>
<option value="./sounds/kick-stomp.wav"> Stomp kick</option>
<option value="./sounds/kick-tape.wav">Tape kick</option>
<option value="./sounds/kick-thump.wav">Thump kick</option>
<option value="./sounds/kick-tight.wav">Tight kick</option>
<option value="./sounds/kick-tron.wav">Tron kick</option>
<option value="./sounds/kick-vinyl01.wav">Vinyl kick 01</option>
<option value="./sounds/kick-vinyl02.wav">Vinyl kick 02</option>
<option value="./sounds/kick-zapper.wav">Zapper kick</option>
</select>
</div>
<div class="kick">
<div class="pad kick-pad b0"></div>
<div class="pad kick-pad b1"></div>
<div class="pad kick-pad b2"></div>
<div class="pad kick-pad b3"></div>
<div class="pad kick-pad b4"></div>
<div class="pad kick-pad b5"></div>
<div class="pad kick-pad b6"></div>
<div class="pad kick-pad b7"></div>
</div>
</div>
<div class="snare-track">
<div class="controls">
<h1>Snare</h1>
<button data-track="1" class="mute snare-volume">
<i class="fas fa-volume-mute"></i>
</button>
<select name="snare-select" id="snare-select" class="select-css">
<option value="sounds/snare-big.wav">Big snare</option>
<option value="sounds/snare-808.wav">808 snare</option>
<option value="sounds/snare-acoustic01.wav"
>Acoustic snare 01</option
>
<option value="sounds/snare-acoustic02.wav"
>Acustic snare 02</option
>
<option value="sounds/snare-analog.wav">Analog snare</option>
<option value="sounds/snare-block.wav">Block snare</option>
<option value="sounds/snare-brute.wav">Brute snare</option>
<option value="sounds/snare-dist01.wav">Dist snare 01</option>
<option value="sounds/snare-dist02.wav">Dist snare 02</option>
<option value="sounds/snare-dist03.wav">Dist snare 03</option>
<option value="sounds/snare-electro.wav">Electro snare</option>
<option value="sounds/snare-lofi01.wav">Lofi snare 01</option>
<option value="sounds/snare-lofi02.wav">Lofi snare 02</option>
<option value="sounds/snare-modular.wav">Modular snare</option>
<option value="sounds/snare-noise.wav">Noise snare</option>
<option value="sounds/snare-pinch.wav">Pinch snare</option>
<option value="sounds/snare-punch.wav">Punch snare</option>
<option value="sounds/snare-smasher.wav">Smasher snare</option>
<option value="sounds/snare-sumo.wav">Sumo snare</option>
<option value="sounds/snare-tape.wav">Tape snare</option>
<option value="sounds/snare-vinyl01.wav">Vinyl snare 01</option>
<option value="sounds/snare-vinyl02.wav">Vinyl snare 02</option>
</select>
</div>
<div class="snare">
<div class="pad snare-pad b0"></div>
<div class="pad snare-pad b1"></div>
<div class="pad snare-pad b2"></div>
<div class="pad snare-pad b3"></div>
<div class="pad snare-pad b4"></div>
<div class="pad snare-pad b5"></div>
<div class="pad snare-pad b6"></div>
<div class="pad snare-pad b7"></div>
</div>
</div>
<div class="hihat-track">
<div class="controls">
<h1>Hihat</h1>
<button data-track="2" class="mute hihat-volume">
<i class="fas fa-volume-mute"></i>
</button>
<select name="hihat-select" id="hihat-select" class="select-css">
<option value="sounds/hihat-808.wav">808 hihat</option>
<option value="sounds/hihat-acoustic01.wav"
>Acoustic hihat 01</option
>
<option value="./sounds/hihat-acoustic02.wav"
>Acoustic hihat 02</option
>
<option value="./sounds/hihat-analog.wav">Analog hihat</option>
<option value="./sounds/hihat-digital.wav">Digital hihat</option>
<option value="./sounds/hihat-dist01.wav">Dist hihat 01</option>
<option value="./sounds/hihat-dist02.wav">Dist hihat 02</option>
<option value="./sounds/hihat-electro.wav">Electro hihat</option>
<option value="./sounds/hihat-plain.wav">Plain hihat</option>
<option value="./sounds/hihat-reso.wav">Reso hihat</option>
<option value="./sounds/hihat-ring.wav">Ring hihat</option>
</select>
</div>
<div class="hihat">
<div class="pad hihat-pad b0"></div>
<div class="pad hihat-pad b1"></div>
<div class="pad hihat-pad b2"></div>
<div class="pad hihat-pad b3"></div>
<div class="pad hihat-pad b4"></div>
<div class="pad hihat-pad b5"></div>
<div class="pad hihat-pad b6"></div>
<div class="pad hihat-pad b7"></div>
</div>
</div>
<button class="play">Play</button>
<div class="tempo">
<input
type="range"
class="tempo-slider"
max="300"
min="20"
value="150"
/>
<p>Tempo : <span class="tempo-nr">150</span></p>
</div>
</div>
<audio src="sounds/kick-808.wav" class="kick-sound"></audio>
<audio src="sounds/snare-808.wav" class="snare-sound"></audio>
<audio src="sounds/hihat-808.wav" class="hihat-sound"></audio>
<script src="./app.js"></script>
</body>
</html>