-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (69 loc) · 2.39 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="icon"
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>♫</text></svg>"
/>
<link rel="stylesheet" href="assets/css/typography.css" />
<link rel="stylesheet" href="assets/css/main.css" />
<link rel="stylesheet" href="assets/css/sequencer.css" />
<title>sadquencer</title>
</head>
<body>
<main>
<section class="text-content">
<h1>Sadquencer</h1>
<p>
Move your mouse around to change the filter and detune the signal! If
you don't have a mouse, tap the screen.
</p>
<p>Click on the squares to activate or deactivate a note</p>
<p>Reload the page for a new random sadquence</p>
</section>
<section class="mouse-values">
<p>filter frequency</p>
<p>detune value</p>
</section>
<section class="controls">
<label for="note-length">note length</label>
<select name="note-length" id="note-length">
<option value="0.25">1/1</option>
<option value="0.5">1/2</option>
<option value="1" selected>1/4</option>
<option value="2">1/8</option>
<option value="4">1/16</option>
</select>
<label for="tempo">tempo</label>
<select name="tempo" id="tempo">
<option value="lento">Lento</option>
<option value="andante" selected>Andante</option>
<option value="allegro">Allegro</option>
<option value="presto">Presto</option>
</select>
<label for="volume">volume</label>
<input
id="volume"
name="volume"
type="range"
min="0"
max=".5"
value=".1"
step=".01"
/>
<button>close</button>
</section>
<div class="buttons">
<button class="play" id="play">Play</button>
<button class="settings" id="settings">Settings</button>
</div>
<section class="sequencer"></section>
<section class="sequencer-notes"></section>
<section class="sequencer-time"></section>
</main>
<script src="assets/js/createSequencer.js"></script>
<script src="assets/js/audio.js"></script>
</body>
</html>