SMK-37 port: the FMini-1 mapping (pads, faders, < >, knobs), SMK37.md, the installer

The owner's mapping (smk37-port.yaml), in fmini_app.c behind BOARD_SMK37:
- Pads: the UI owns them (smk_input.h smk_pad_ui: a hit plays no note). A
  preset picker: the 16 presets of the page that holds the loaded one, in
  their category's colour (the loaded one bright), a pad loads its preset (in
  the SAVE dialog: the slot it writes). In the SEQ pop-up they show 16 of its
  64 slots in the pop-up's colours (the page of the step that plays, or of
  the slot a take writes next).
- FADER BANK: A the A.ENV knobs, B the F.ENV knobs, C the MIX knobs, and the
  screen shows that page; a fader takes over once it moves (fa_ctl_apply,
  absolute as a CC); main.c's smk_faders hands the faders to FMini-1.
- < / >: preset -1 / +1; held 1 s, five a second.
- Knobs: K1 MASTER, K2 PRESETS, K3 SELECT, K4 ALGORITHM, K5..K8 KNOB 1..4
  (panel.c, PANEL_MAGIC "FNS1"); the on-screen "K1-K4" hints read K5-K8 and
  SCL reads SCALE on the SMK.
- Buttons at the FM-1's places (the layer's map; PATCH is HOME, FILT; power-on
  on FILT as ever); KNOB BANK free; the mod wheel is CC1 as on the FM-1.
- SMK37.md (models, controls, build, install, the way back, safety), one
  README line, CREDITS (genkigenki's board layer and kit).
- Installer page: make_fmini_installer.py embeds this version's SMK-37
  packages beside the FM-1's when they are in build/; the page reads the
  connected device's model and installs that model's package (a picked .fwsc
  stays as it is); a note says so. The Installer workflow builds the three
  SMK packages before the FM-1 (last) and publishes them for download.

The FM-1 build is byte-identical to 2.5.0. Untested on hardware; the pad,
fader and button mapping has no host test yet (only the build and the board
layer's tests cover the SMK).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUF6pQ1NkTwmBC8SR8AK94
This commit is contained in:
Claude committed 2026-11-09 12:59:51 -03:00
1 parent f265ae9f69
commit 2ddc729cf7
10 files changed
+292 -57

No files matched your search

+8 -3
View File
@@ -41,14 +41,19 @@ jobs:
https://gitee.com/Jieli-Tech/fw-AC79_AIoT_SDK.git "$HOME/fw-AC79_AIoT_SDK"
- name: Build the firmware
run: ./build.sh
run: |
BOARD=smk37 ./build.sh # the SMK-37 packages (SMK37.md): Pro, Elite, MKE-P37
BOARD=smk37 MODEL=elite ./build.sh
BOARD=smk37 MODEL=mke ./build.sh
./build.sh # the FM-1 last (the shared intermediates are the FM-1's again)
- name: Make the installer page
run: |
VERSION=$(sed -n 's/^#define FMINI_VERSION "v\(.*\)"/\1/p' firmware/src/core.h)
mkdir -p _site
python3 web/make_fmini_installer.py "$(ls build/fmini-1-fm1-*.fwsc | head -1)" _site/index.html "$VERSION"
cp "$(ls build/fmini-1-fm1-*.fwsc | head -1)" "_site/fmini-1-$VERSION.fwsc"
python3 web/make_fmini_installer.py "build/fmini-1-fm1-$VERSION.fwsc" _site/index.html "$VERSION"
cp "build/fmini-1-fm1-$VERSION.fwsc" "_site/fmini-1-$VERSION.fwsc"
for f in build/fmini-1-smk37*-"$VERSION".fwsc; do cp "$f" _site/; done # (the SMK-37 packages to download)
cp docs/fmini-ad.mp4 docs/fmini-ad-poster.jpg _site/
mkdir -p _site/editor && cp web/editor_fmini.html _site/editor/index.html # the patch editor (web/test_editor_fmini.py)
cp -r docs/emu _site/emu # the browser emulator (web/emu/build_wasi.sh builds docs/emu)