-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (61 loc) · 2.84 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<!-- <link rel="icon" type="image/svg+xml" href="/vite.svg" /> -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"
integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<title>Frequency75</title>
</head>
<body class="bg-bg-primary text-white flex flex-col h-screen justify-between">
<header class="bg-red-800 h-10 flex gap-2">
<div class="flex">
<div class="ml-3 flex items-center gap-5">
<button id="add" title="add pattern" aria-label="Add new pattern">
<img src="/src/icons/plus.svg" class="w-8 h-6 text-white" alt="plus icon" />
</button>
<button id="play_pause" title="play or pause" aria-label="play or pause">
<img src="/src/icons/play.svg" class="w-8 h-7 text-white" alt="play icon" />
</button>
<button id="mute" title="mute" aria-label="mute">
<img src="/src/icons/mute.svg" class="w-8 h-7 text-white" alt="mute icon" />
</button>
<div class="flex items-center gap-1">
<label for="range">
<img src="/src/icons/metronome.svg" class="h-8" alt="metronome" />
</label>
<input type="range" id="range" class="cursor-pointer appearance-none bg-black rounded-lg" min="60" max="190" value="90" />
</div>
<button id="record" title="record" aria-label="record">
<img src="/src/icons/record.svg" class="w-8 h-7 text-white" alt="record icon" />
</button>
<button id="save" title="save" aria-label="save">
<img src="/src/icons/save.svg" class="w-8 h-7 text-white" alt="save icon" />
</button>
<span id="time" class="border border-black bg-black text-xl">00:00</span>
</div>
</div>
</header>
<div class="modal hidden w-56 h-56 bottom-[41px] left-1 absolute border bg-red-900 border-red-700">
<div>
<label for="add_sample" class="flex text-xl shadow-gray-50 items-center justify-between w-full border cursor-pointer">
<img src="./src/icons/upload.svg" alt="upload" class="w-12" />
add sample
<input type="file" id="add_sample" hidden />
</label>
</div>
<div>
<button id="add_synth" class="border w-full p-3 text-xl disabled:opacity-50 disabled:cursor-not-allowed">add sytnh</button>
</div>
</div>
<div class="mt-10 mb-auto" id="patternContainer"></div>
<div class="mt-10 mb-auto" id="synthPattern"></div>
<script type="module" src="/main.js"></script>
</body>
</html>