Preview open-mic colour on the rig and save it back to the pad.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jimmyandCursor committed 2026-10-21 15:53:22 +13:00
1 parent c9df537567
commit 10c39015b7
8 files changed
+805

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Pad colours</title>
<link rel="stylesheet" href="/app.css">
</head>
<body>
<main>
<h1>Pad colours</h1>
<p class="meta" id="meta">Connecting…</p>
<div class="pads" id="pads"></div>
<p class="hint">Pad 1 is bottom-left. Hit a pad, turn knobs 1–4 for red, green, blue, and white. The open mic fixtures follow. Hit the same pad again to save. The pad light keeps red, green, and blue until the pad is switched off.</p>
<label class="slider">Red <output id="r-out"></output>
<input id="r" data-part="0" type="range" min="0" max="255" value="0">
</label>
<label class="slider">Green <output id="g-out"></output>
<input id="g" data-part="1" type="range" min="0" max="255" value="0">
</label>
<label class="slider">Blue <output id="b-out"></output>
<input id="b" data-part="2" type="range" min="0" max="255" value="0">
</label>
<label class="slider">White <output id="w-out"></output>
<input id="w" data-part="3" type="range" min="0" max="255" value="0">
</label>
<p class="status" id="status"></p>
</main>
<script src="/app.js"></script>
</body>
</html>