-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
62 lines (57 loc) · 1.76 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>
<head>
<meta charset="utf-8" />
<title>MIDI Juggler</title>
<link rel="icon" href="https://emojimage.deno.dev/🤹" />
<link rel="stylesheet" href="index.css" />
<meta name="viewport" content="width=device-width" />
</head>
<body>
<main>
<h1 title="MIDI Juggler">🎶🤹</h1>
<p>How to use:</p>
<ol>
<li>Connect your MIDI input and output device(s)</li>
<li>(Re)load this page in a browser that supports <a href="https://caniuse.com/midi">Web MIDI</a></li>
<li>Pick input and output devices from selectboxes below</li>
<li>Add the route and customize filtering/transposition</li>
<li>Play!</li>
<li>Profit!</li>
</ol>
<table>
<thead>
<tr>
<td><label>In: <select id="in"></select></label></td>
<td><button id="add">➕ New route</button></td>
<td><label>Out: <select id="out"></select></label></td>
</thead>
<tbody id="routes"></tbody>
</table>
<footer>
Another useless contraption by <a href="https://ondras.zarovi.cz/">Ondřej Žára</a>. <a href="https://github.com/ondras/midi-juggler">Source at GitHub</a>.
</footer>
</main>
<dialog>
<form>
<label>Transpose: <select name="transpose"></select></label>
<hr>
<label>Message types:
<select name="message-types-mode">
<option value="all">All</option>
<option value="only">Only</option>
</select>
</label><br>
<select multiple name="message-types"></select>
<hr>
<label><input name="active-sense" type="checkbox">Active Sense forward</label>
<hr>
<footer>
<button type="button" name="cancel">Cancel</button>
<button type="submit">Submit</button>
</footer>
</form>
</dialog>
<script src="index.js" type="module"></script>
</body>
</html>