-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
50 lines (38 loc) · 1.89 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
<!DOCTYPE html>
<html lang="en">
<title>Hex2WavJS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="tachyons.min.css">
<body class="black washed-red Helvetica bg-light-yellow">
<header class="bg-hot-pink w-100 pv3-l pv3 pv2-ns ph3-m ph3-l">
<nav class="f6 fw6 ttu ">
<span class="link yellow dib mr3">Hex2wavJS</span>
<a class="link dim white dib mr3" href="index.html" title="Home">Upload Hex</a>
<a class="link dim white dib mr3" href="eeprom.html" title="About">Set EEPROM</a>
<a class="link dim white dib mr3" href="control.html" title="Store">Control Signal</a>
<a class="link dim white dib mr3" href="sequencer.html" title="Store">Sequencer</a>
</nav>
</header>
<section class="center w-50 pa2 pa2-ns bt b--black-10 black-70">
<div class="mt2">
<h1 class="lh-title">Hex2WavJS - Upload Hex</h1>
<label for="hexfileInput">Hex file:</label>
<input class="input-reset pa2 mb2 db w-50" type="file" id="hexfileInput" name="hexfileInput" accept=".hex">
</div>
<div class="">
<textarea class="input-reset ba b--black-20 pa2 mb2 db w-100" name="hexRaw" id="hexRaw" rows="16" cols="50"></textarea>
<div id="error"></div>
</div>
<div class="pv2">Decoded bytes:</div>
<div class="">
<textarea class="input-reset ba b--black-20 pa2 mb2 db w-100" name="hexDecoded" id="hexDecoded" rows="16" cols="50"></textarea>
</div>
<div>
Turn up volume to 90 percent and
<button class="b ph3 pv2 input-reset ba b--black dim bg-transparent pointer f6 dib" type="button" id="playButton">Play</button>
</div>
</section>
<script src="js/hex2wav.js"></script>
<script src="js/main.js"></script>
</body>
</html>