-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
100 lines (95 loc) · 4.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<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.15.4/css/all.min.css"
integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<title>BeatMaker</title>
</head>
<body>
<div class="container">
<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">
<option value="./sounds/kick-808.wav">Kick</option>
<option value="./sounds/kick-acoustic01.wav">Kick 01</option>
<option value="./sounds/kick-acoustic02.wav">Kick 02</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>
<!-- Second Track -->
<div class="hihat-track">
<div class="controls">
<h1>Hihat</h1>
<button data-track='1' class="mute start hihat-volume"><i class="fas fa-volume-mute"></i></button>
<select name="hihat-select" id="kick-select">
<option value="./sounds/hihat-analog.wav">Hihat</option>
<option value="./sounds/hihat-acoustic01.wav">Hihat 01</option>
<option value="./sounds/hihat-acoustic02.wav">Hihat 02</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>
<!-- Third Track -->
<div class="snare-track">
<div class="controls">
<h1>Snare</h1>
<button data-track='2' class="mute snare-volume"><i class="fas fa-volume-mute"></i></button>
<select name="snare-select" id="snare-select">
<option value="./sounds/kick-808.wav">Snare</option>
<option value="./sounds/kick-acoustic01.wav">Snare 01</option>
<option value="./sounds/kick-acoustic02.wav">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>
<button class="play">Play</button>
<div class="tempo">
<input name="speed" type="range" max="500" min="20" value="20" class="tempo-slider"><br>
<label for="speed">Speed :</label>
<span class="tempo-nr">20</span>
</div>
</div>
<div class="footer">
<p>© Osamah Amer 2021 </p>
</div>
<audio src="./sounds/kick-808.wav" class="kick-sound"></audio>
<audio src="./sounds/hihat-analog.wav" class="hihat-sound"></audio>
<audio src="./sounds/snare-analog.wav" class="snare-sound"></audio>
<script src="./app.js"></script>
</body>
</html>