-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (49 loc) · 2.31 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#4299e1"/>
<title>Multitrack Audio Player</title>
<link rel="manifest" href="manifest.webmanifest">
<link rel="apple-touch-icon" href="assets/app-icons/apple-icon-180x180-dunplab-manifest-5524.png">
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<!-- pwa script-->
<script src="js/pwa.js"></script>
<!-- wams-->
<link rel="preload" href="wasm/filter.js" as="script" />
<script type="module" src="wasm/filter.js"></script>
<!-- load custom web components -->
<script type="module" src="components/dropzone.component.js"></script>
<script type="module" src="components/track-player.component.js"></script>
<!-- load custom modules -->
<script src="js/waveform.js"></script>
</head>
<body class="select-none">
<wc-dropzone id="main-dropzone"></wc-dropzone>
<section id="main-player" class="border-solid border-b border-t border-gray-400 bg-gray-100">
<div class="player-left flex mr-2">
<button id="btn-play" class="bg-gray-300 hover:bg-gray-400 text-gray-800 font-bold py-2 px-4 rounded-l">
PLAY
</button>
<button id="btn-stop" class="bg-gray-300 hover:bg-gray-400 text-gray-800 font-bold py-2 px-4 rounded-r">
STOP
</button>
</div>
<div class="tool-level mt-1">
<input type="range" name="gain-control" id="gain-control" min="0" max="100" value="100" class="w-full"/>
<input type="range" name="pan-control" id="pan-control" min="-100" max="100" value="0" class="w-full"/>
</div>
<div class="player-right flex ml-auto">
<button id="btn-new" class="bg-transparent hover:bg-blue-500 text-blue-700 font-semibold hover:text-white py-2 px-6 ml-2 border border-blue-500 hover:border-transparent rounded">
NEW
</button>
</div>
</section>
<section id="wrap-editor">
<!-- #for each file: <wc-track-player></wc-track-player> -->
</section>
<script type="module" src="app.js"></script>
</body>
</html>