The record layout and writes come from usbmon captures of MidiSuite: a pad colour is one three-byte write to its preset address, which lights the lamp straight away, and Save is the empty write that keeps it after a power cycle. Pad records are channel, note, min and max velocity, RGB, then Led. Tempo, swing, pad curve, and transpose come from the global block, memory type 4. The factory image from MidiSuite's Reset is kept as a test fixture, and scripts/decode_usbmon.py prints the SysEx in a capture. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
46 lines
1.4 KiB
HTML
46 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
<title>SMC-PAD editor</title>
|
||
<link rel="stylesheet" href="/style.css">
|
||
</head>
|
||
<body>
|
||
<header>
|
||
<h1>SMC-PAD</h1>
|
||
<button id="load" type="button">Load</button>
|
||
<button id="save" type="button" class="primary" disabled>Save to pad</button>
|
||
<button id="export" type="button" disabled>Export</button>
|
||
<label class="file">Import
|
||
<input id="import" type="file" accept=".bin,application/octet-stream">
|
||
</label>
|
||
<span class="spacer"></span>
|
||
<span id="status">Load the preset from the pad.</span>
|
||
</header>
|
||
<main>
|
||
<section id="board">
|
||
<p id="empty">Loading the pad…</p>
|
||
<div class="row" id="global"></div>
|
||
<div class="row" id="presets"></div>
|
||
<div class="row">
|
||
<label>Pad page <select id="page"></select></label>
|
||
<label>Knob bank <select id="bank">
|
||
<option value="0">1 · knobs 1–8</option>
|
||
<option value="1">2 · knobs 9–16</option>
|
||
</select></label>
|
||
<span id="page-notes" class="muted"></span>
|
||
</div>
|
||
<div id="pads"></div>
|
||
<div id="knobs"></div>
|
||
<div id="buttons"></div>
|
||
</section>
|
||
<aside id="inspector">
|
||
<h2>Control</h2>
|
||
<p class="muted">Load a preset, then pick a pad, knob, or button.</p>
|
||
</aside>
|
||
</main>
|
||
<script src="/app.js"></script>
|
||
</body>
|
||
</html>
|