From f3e70df5c8f34bfa11ac1feff63fd7b0f25e8cd6 Mon Sep 17 00:00:00 2001 From: Tom Peak Walcher <4373002+TomPeak@users.noreply.github.com> Date: Sat, 7 Nov 2026 08:18:36 +0100 Subject: [PATCH] Skiff Editor: an APC mini mk2 plays the Song tab, entries, scenes, MUTEs and PLAY, its LEDs following the FM-1 Co-Authored-By: Claude Opus 5.5 (1M context) --- DESIGN.md | 3 ++ README.md | 3 +- web/editor.html | 116 ++++++++++++++++++++++++++++++++++++++++++++++- web/test_web.mjs | 35 +++++++++++++- 4 files changed, 153 insertions(+), 4 deletions(-) diff --git a/DESIGN.md b/DESIGN.md index dedff65..a65af08 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -501,6 +501,9 @@ track's Sound tab); PLAY, STOP and REC in the header; the projects' names (SAVE track's list (SET, COPY, PLAY, REPS, CLEAR), SONG, LAUNCH, the scenes, the staged mutes, the pattern pool (CLEAR an unused one). Each acts through the device's own code and the device says so on its screen; what can't be undone is asked first, as on the device. Nothing of these is pushed: the editor reads what it shows again about once a second. +An **APC mini mk2** on the computer plays the Song tab (`apcAction`, `apcLeds`): its pads and buttons call what the tab's +own controls call, the faders send each track's CC7, and its LEDs show what is read back, not what was pressed, the song +read every 400 ms while it is there. No firmware of its own and no setting: it works while it is plugged in. **Screen grid:** Felucca's, so every page inherits the restyle (`firmware/src/ui.c`); BLOCKS' footer is one line, so its panel is 16 px taller (`foot_less`, `graph_h`): diff --git a/README.md b/README.md index 7d6e7ae..eb8346c 100644 --- a/README.md +++ b/README.md @@ -304,7 +304,8 @@ them. MENU › DISPLAY › PLAYHEAD LINE leaves HOME's playhead a line, without The [Skiff Editor](https://illuminus5.github.io/skiff/webapp/editor/) (`web/editor.html`, Chrome or Edge over USB MIDI) edits a connected FM-1 live: the sounds and their presets, the steps, the mixer, the Song tab (each track's list, the -scenes, the pattern pool), the projects and their names, the DRUM-X kit and the MENU settings, with PLAY, STOP and REC +scenes, the pattern pool; an Akai APC mini mk2 plugged into the computer launches them, its LEDs following the FM-1), +the projects and their names, the DRUM-X kit and the MENU settings, with PLAY, STOP and REC at the top. It looks like the unit and follows its THEME, and sets THEME › CUSTOM's colours (Settings › Device display). It also keeps a library of sounds on the computer, imports FM6 patches from `.syx` files and saves complete backups. Its Samples tab fills the user sample slots from WAV files diff --git a/web/editor.html b/web/editor.html index d2c003d..4236a10 100644 --- a/web/editor.html +++ b/web/editor.html @@ -370,6 +370,7 @@

+