-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
97 lines (95 loc) · 5.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Mitch's Sampler</title>
<meta name="description" content="My sampler web app for playing audio samples for performances.">
<meta name="generator" content="Mitch Dombrausky's Brain">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui" />
<meta name="google" content="notranslate">
<meta name="theme-color" content="#696969">
<meta name="msapplication-config" content="browserconfig.xml">
<meta name="msapplication-TileColor" content="#696969">
<meta name="msapplication-TileImage" content="img/mstile-144x144.png">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="Mitch's Sampler">
<link rel="manifest" type="application/manifest+json" href="site.webmanifest">
<link rel="stylesheet" type="text/css" href="sampler.css">
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico">
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon-16x16.png">
<link rel="apple-touch-icon" sizes="180x180" href="img/apple-touch-icon.png">
<script type="text/javascript" src="sample_sets.js"></script>
</head>
<body class="body noselect">
<div class="container">
<select id="sampleSet" class="select"></select>
<audio id="audio0" class="audio" src="samples/1/1.wav" preload></audio>
<audio id="audio1" class="audio" src="samples/1/2.wav" preload></audio>
<audio id="audio2" class="audio" src="samples/1/3.wav" preload></audio>
<audio id="audio3" class="audio" src="samples/1/4.wav" preload></audio>
<audio id="audio4" class="audio" src="samples/1/5.wav" preload></audio>
<audio id="audio5" class="audio" src="samples/1/6.wav" preload></audio>
<audio id="audio6" class="audio" src="samples/1/7.wav" preload></audio>
<audio id="audio7" class="audio" src="samples/1/8.wav" preload></audio>
<div class="sampler-button">
<button id="play0" class="play-button" data-playing="false">1</button>
<div class="checkboxes">
<input type="checkbox" id="play0chk1" name="play0chk1" class="checkbox-button checkbox-button-restart"></input>
<input type="checkbox" id="play0chk2" name="play0chk2" class="checkbox-button checkbox-button-loop"></input>
</div>
</div>
<div class="sampler-button">
<button id="play1" class="play-button" data-playing="false">2</button>
<div class="checkboxes">
<input type="checkbox" id="play1chk1" name="play1chk1" class="checkbox-button checkbox-button-restart"></input>
<input type="checkbox" id="play1chk2" name="play1chk2" class="checkbox-button checkbox-button-loop"></input>
</div>
</div>
<div class="sampler-button">
<button id="play2" class="play-button" data-playing="false">3</button>
<div class="checkboxes">
<input type="checkbox" id="play2chk1" name="play2chk1" class="checkbox-button checkbox-button-restart"></input>
<input type="checkbox" id="play2chk2" name="play2chk2" class="checkbox-button checkbox-button-loop"></input>
</div>
</div>
<div class="sampler-button">
<button id="play3" class="play-button" data-playing="false">4</button>
<div class="checkboxes">
<input type="checkbox" id="play3chk1" name="play3chk1" class="checkbox-button checkbox-button-restart"></input>
<input type="checkbox" id="play3chk2" name="play3chk2" class="checkbox-button checkbox-button-loop"></input>
</div>
</div>
<div class="sampler-button">
<button id="play4" class="play-button" data-playing="false">5</button>
<div class="checkboxes">
<input type="checkbox" id="play4chk1" name="play4chk1" class="checkbox-button checkbox-button-restart"></input>
<input type="checkbox" id="play4chk2" name="play4chk2" class="checkbox-button checkbox-button-loop"></input>
</div>
</div>
<div class="sampler-button">
<button id="play5" class="play-button" data-playing="false">6</button>
<div class="checkboxes">
<input type="checkbox" id="play5chk1" name="play5chk1" class="checkbox-button checkbox-button-restart"></input>
<input type="checkbox" id="play5chk2" name="play5chk2" class="checkbox-button checkbox-button-loop"></input>
</div>
</div>
<div class="sampler-button">
<button id="play6" class="play-button" data-playing="false">7</button>
<div class="checkboxes">
<input type="checkbox" id="play6chk1" name="play6chk1" class="checkbox-button checkbox-button-restart"></input>
<input type="checkbox" id="play6chk2" name="play6chk2" class="checkbox-button checkbox-button-loop"></input>
</div>
</div>
<div class="sampler-button">
<button id="play7" class="play-button" data-playing="false">8</button>
<div class="checkboxes">
<input type="checkbox" id="play7chk1" name="play7chk1" class="checkbox-button checkbox-button-restart"></input>
<input type="checkbox" id="play7chk2" name="play7chk2" class="checkbox-button checkbox-button-loop"></input>
</div>
</div>
</div>
<script type="text/javascript" src="sampler.js"></script>
</body>
</html>