-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
119 lines (117 loc) · 4.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="stylesheet" href="/style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css"
integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<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="fa-solid fa-volume-xmark"></i>
</button>
<select name="kick-select" id="kick-select">
<option value="./sounds/kick-classic.wav">Classic Kick</option>
<option value="./sounds/kick-808.wav">808 Kick</option>
<option value="./sounds/kick-heavy.wav">Kick Heavy</option>
<option value="./sounds/kick-softy.wav">Kick Softy</option>
<option value="./sounds/kick-tron.wav">Kick Tron</option>
<option value="./sounds/kick-zapper.wav">Kick Zapper</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="fa-solid fa-volume-xmark"></i>
</button>
<select name="snare-select" id="snare-select">
<option value="./sounds/snare-acoustic01.wav">Classic Snare</option>
<option value="./sounds/snare-808.wav">808 Snare</option>
<option value="./sounds/snare-vinyl02.wav">Snare Vinyl</option>
<option value="./sounds/snare-big.wav">Snare Big</option>
<option value="./sounds/snare-electro.wav">Snare Electro</option>
<option value="./sounds/snare-noise.wav">Snare Noise</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="fa-solid fa-volume-xmark"></i>
</button>
<select name="hihat-select" id="hihat-select">
<option value="./sounds/hihat-acoustic01.wav">
Acoustic Hihat
</option>
<option value="./sounds/hihat-808.wav">808 Hihat</option>
<option value="./sounds/hihat-electro.wav">Hihat Electro</option>
<option value="./sounds/hihat-analog.wav">Hihat Analog</option>
<option value="./sounds/hihat-digital.wav">Hihat Digital</option>
<option value="./sounds/hihat-reso.wav">Hihat Reso</option>
<option value="./sounds/hihat-plain.wav">Hihat Plain</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="600"
min="60"
value="100"
/>
<h2>Tempo : <span class="tempo-nr">100</span></h2>
</div>
</div>
<audio class="kick-sound" src="./sounds/kick-classic.wav"></audio>
<audio class="snare-sound" src="./sounds/snare-acoustic01.wav"></audio>
<audio class="hihat-sound" src="./sounds/hihat-acoustic01.wav "></audio>
<script src="/app.js"></script>
</body>
</html>