Files
JIANT/tests
Claude 906e3f0ba3 SMK-37 on V10.8.48: main's board support ported, and the owner's new control layout
- Board support from main (Melodee's BOARD_SMK37, the v0.9.18 line), adapted to V10.8.48: build.py --board smk37
  --model pro|elite (identities SMK-37 Pro_909 / Elite_909, ota-... _900 / _016), fm1pkg_make --board smk37 (stock
  v016 region table, flash.bin 0x9D000), the flash map and its guards, the store (V10.8: 6 songs in store A/B, the
  JAM takes in store C), the owner tag, the stock marker release, OTA staging at 0xBB000 with the board check, the
  loader's app-area-only writes, the LCD and pad LEDs, the input HAL. RAM-only unless FELUCCA_SMK_FLASH=1, now also
  enforced at compile time in storage_hw.c / ota_hw.c (SMK_MAY_WRITE).
- V10.8 specifics: no Bluetooth segment on the SMK (its 0xEA000.. sectors are USRFLASH / store C / USR): FELUCCA_BT 0
  (#error otherwise), the segment's code in the app image, no bt.bin in the package, the SMK loader refuses one;
  USB HOST off; vel.c / vel_diag.c (the FM-1's carbon pills) out, the HAL's velocity with MENU > VELOCITY's curve;
  the sound's pinned layout per board (tools/audio_layout_smk37.txt, its own layout.ld / app.ld in build/smk37-*).
- The new layout (firmware/src/smk.c, smk_kb.c, smk_map.h): all 37 keys always play the selected track at their
  velocity, C3..C6 moved by OCT (never out of 0..127, never two keys alike), as MIDI in from the audio block, out to
  MIDI OUT; PITCH bend, MOD CC1, SUSTAIN CC64 on the selected track; pads = white keys in layers / NAME / the DRUM
  grid / STEP FX / song pages, steps on the other SEQ pages (hold + K1..K4: a lock), else T1..T6 (PATCH held: mute),
  UNDO, TAP and 8 page shortcuts; K5 SELECT, K6 PRESETS, K7 ALGORITHM, K8 MASTER ("PNS6"); KNOB BANK: T1..T6 cutoff,
  delay MIX, reverb SIZE; FADER BANK A T1..T4 levels, B T5 T6 levels + the selected track's DLY / REV sends, with
  pick-up; < > pages; the pads' and bank LEDs.
- Tests: smk_map_test (rewritten: every key id at every octave and track, wheels, pedal, pads, banks, pick-up),
  smk_flash_test (V10.8's table), smk_keys_test (pads via GRID), smk_ldr_test (a bt.bin package refused),
  smk_pkg_test (no bt.bin), run_tests.sh's RAM-only and page-shortcut checks, its missing vel_diag_test skipped.
- The FM-1 build is byte-identical to V10.8.48's (felucca.bin, felucca.fwsc, loader/ota.bin, bt.bin); regress: 218
  golden renders, 0 changed. SMK image 581072 B of 584336 (3264 B free). docs/SMK37.md updated. Untested on hardware.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
2026-11-27 10:22:00 +00:00
..
V10.8.35: room for MUTATE and LIVE back, compact (the owner): the filter TYPEs MS20 and LP24 gone (not far enough from LP: voice.c tf_ms20 / tf_lp24, their states, the lens's curves; a stored 5 or 6 opens as LP: project.c proj_phys_gone, upreset.c up_values, ft_of / ft_voice at use; GEN's EBM bass a resonant LP driven harder), ENV > STAGE gone (its row kept in the table: the index; LOOP and the destinations were ENV DEST's already), EUCLID's picture one ring of dots (the hits in the track's colour, an accent larger, the step playing white, ROTATE's mark; a kit the lane picked, ALL any lane; the concentric lanes, their list, the key, the roll, VARY's turns gone). SEQ > MUTATE back with EVERY alone (OFF, 1 2 4 8 bars): a mutation from the anchor as far as VARY (seed, HITS, ROTATE, the MODES) on the bar, OCT+ on EUCLID or MUTATE one now, OCT- the anchor; MODES' OCT+ / OCT- still a new variation / the one before. A melodic track: ROLE on EUCLID's KNOB 4 (MELODY first), VARY on MODES, named MELODY there. LIVE back as SEQ > STEP FX's black keys 1..9 on the selected track (seq_live.c: REV PING RND and THIN again in live_next / live_drop): RATE x2, x3/2, x2/3, REVERSE, PING-PONG, RANDOM, THIN held (in on the 1/16, let go back in phase on the ghost), GIRO - / + pressed (the playhead a step back / on). spl_threads out of the Bluetooth segment (the USB host's code compiled 240 B larger there). Tests: ui_test (ENV's chain of 3, SEQ's of 17, MUTATE compact, MELODY's OCT, the nav tasks 79), stepfx_test (LIVE compact), euclid_mel_test (ROLE's knob), gen_test (EBM), target_budget (tf_ms20 out); layout re-recorded (REPIN=keep: voice.c, seq_live.c)
2026-11-24 15:26:43 +00:00
V10.8.35: room for MUTATE and LIVE back, compact (the owner): the filter TYPEs MS20 and LP24 gone (not far enough from LP: voice.c tf_ms20 / tf_lp24, their states, the lens's curves; a stored 5 or 6 opens as LP: project.c proj_phys_gone, upreset.c up_values, ft_of / ft_voice at use; GEN's EBM bass a resonant LP driven harder), ENV > STAGE gone (its row kept in the table: the index; LOOP and the destinations were ENV DEST's already), EUCLID's picture one ring of dots (the hits in the track's colour, an accent larger, the step playing white, ROTATE's mark; a kit the lane picked, ALL any lane; the concentric lanes, their list, the key, the roll, VARY's turns gone). SEQ > MUTATE back with EVERY alone (OFF, 1 2 4 8 bars): a mutation from the anchor as far as VARY (seed, HITS, ROTATE, the MODES) on the bar, OCT+ on EUCLID or MUTATE one now, OCT- the anchor; MODES' OCT+ / OCT- still a new variation / the one before. A melodic track: ROLE on EUCLID's KNOB 4 (MELODY first), VARY on MODES, named MELODY there. LIVE back as SEQ > STEP FX's black keys 1..9 on the selected track (seq_live.c: REV PING RND and THIN again in live_next / live_drop): RATE x2, x3/2, x2/3, REVERSE, PING-PONG, RANDOM, THIN held (in on the 1/16, let go back in phase on the ghost), GIRO - / + pressed (the playhead a step back / on). spl_threads out of the Bluetooth segment (the USB host's code compiled 240 B larger there). Tests: ui_test (ENV's chain of 3, SEQ's of 17, MUTATE compact, MELODY's OCT, the nav tasks 79), stepfx_test (LIVE compact), euclid_mel_test (ROLE's knob), gen_test (EBM), target_budget (tf_ms20 out); layout re-recorded (REPIN=keep: voice.c, seq_live.c)
2026-11-24 15:26:43 +00:00
V10.8.35: room for MUTATE and LIVE back, compact (the owner): the filter TYPEs MS20 and LP24 gone (not far enough from LP: voice.c tf_ms20 / tf_lp24, their states, the lens's curves; a stored 5 or 6 opens as LP: project.c proj_phys_gone, upreset.c up_values, ft_of / ft_voice at use; GEN's EBM bass a resonant LP driven harder), ENV > STAGE gone (its row kept in the table: the index; LOOP and the destinations were ENV DEST's already), EUCLID's picture one ring of dots (the hits in the track's colour, an accent larger, the step playing white, ROTATE's mark; a kit the lane picked, ALL any lane; the concentric lanes, their list, the key, the roll, VARY's turns gone). SEQ > MUTATE back with EVERY alone (OFF, 1 2 4 8 bars): a mutation from the anchor as far as VARY (seed, HITS, ROTATE, the MODES) on the bar, OCT+ on EUCLID or MUTATE one now, OCT- the anchor; MODES' OCT+ / OCT- still a new variation / the one before. A melodic track: ROLE on EUCLID's KNOB 4 (MELODY first), VARY on MODES, named MELODY there. LIVE back as SEQ > STEP FX's black keys 1..9 on the selected track (seq_live.c: REV PING RND and THIN again in live_next / live_drop): RATE x2, x3/2, x2/3, REVERSE, PING-PONG, RANDOM, THIN held (in on the 1/16, let go back in phase on the ghost), GIRO - / + pressed (the playhead a step back / on). spl_threads out of the Bluetooth segment (the USB host's code compiled 240 B larger there). Tests: ui_test (ENV's chain of 3, SEQ's of 17, MUTATE compact, MELODY's OCT, the nav tasks 79), stepfx_test (LIVE compact), euclid_mel_test (ROLE's knob), gen_test (EBM), target_budget (tf_ms20 out); layout re-recorded (REPIN=keep: voice.c, seq_live.c)
2026-11-24 15:26:43 +00:00
V10.8.35: room for MUTATE and LIVE back, compact (the owner): the filter TYPEs MS20 and LP24 gone (not far enough from LP: voice.c tf_ms20 / tf_lp24, their states, the lens's curves; a stored 5 or 6 opens as LP: project.c proj_phys_gone, upreset.c up_values, ft_of / ft_voice at use; GEN's EBM bass a resonant LP driven harder), ENV > STAGE gone (its row kept in the table: the index; LOOP and the destinations were ENV DEST's already), EUCLID's picture one ring of dots (the hits in the track's colour, an accent larger, the step playing white, ROTATE's mark; a kit the lane picked, ALL any lane; the concentric lanes, their list, the key, the roll, VARY's turns gone). SEQ > MUTATE back with EVERY alone (OFF, 1 2 4 8 bars): a mutation from the anchor as far as VARY (seed, HITS, ROTATE, the MODES) on the bar, OCT+ on EUCLID or MUTATE one now, OCT- the anchor; MODES' OCT+ / OCT- still a new variation / the one before. A melodic track: ROLE on EUCLID's KNOB 4 (MELODY first), VARY on MODES, named MELODY there. LIVE back as SEQ > STEP FX's black keys 1..9 on the selected track (seq_live.c: REV PING RND and THIN again in live_next / live_drop): RATE x2, x3/2, x2/3, REVERSE, PING-PONG, RANDOM, THIN held (in on the 1/16, let go back in phase on the ghost), GIRO - / + pressed (the playhead a step back / on). spl_threads out of the Bluetooth segment (the USB host's code compiled 240 B larger there). Tests: ui_test (ENV's chain of 3, SEQ's of 17, MUTATE compact, MELODY's OCT, the nav tasks 79), stepfx_test (LIVE compact), euclid_mel_test (ROLE's knob), gen_test (EBM), target_budget (tf_ms20 out); layout re-recorded (REPIN=keep: voice.c, seq_live.c)
2026-11-24 15:26:43 +00:00