Commit Graph
269 Commits
Author SHA1 Message Date
Claude 3ed85a96d7 V10.16: EUCLID's VARY in turns; SEQ > MUTATE
- VARY (EUCLID melodic KNOB 4, MODES' VARY on a kit): above 0 the pattern is
  four turns of the cycle (as many as fit in 64 steps), each moved anew
  (A A' A'' B: the first a third of VARY, the last half as much again, a kit's
  last turn ending in rolls on the snare and hats). Hits move one to three
  steps; HITS stays exact in each turn. A melody's later turns keep the first
  turn's degrees hit by hit or take new ones, by VARY. VARY 0: one turn.
- SEQ > MUTATE (EUCLID . MODES . MUTATE, ids ID_MU0 0xE4..): EVERY OFF 1 2 4 8
  16 bars, AMOUNT, MODE ORBIT (from the anchor) / DRIFT (from the last) /
  PULSE (a mutation and the anchor by turns), WHAT GROOVE (a new seed) /
  RHYTHM (+ HITS or DENSITY, ROTATE) / FEEL (+ the MODES, VARY) / ALL.
  ui_euclid.c eu_tick (every UI frame): playing, not in a song's chain, the
  bar's last beat (seq.c bar_n, beat_n, beat_pos), the pattern new from the
  next bar; no UNDO point. The anchor (eu_z, the settings vary .. l[]) is
  what is dialled: any EUCLID / MODES knob, OCT+ / OCT- there, EVERY on. On
  MUTATE OCT+ mutates now, OCT- returns to the anchor. A DRUM-X lane picked
  mutates alone. The ring's corner: MUT n, the bars to the next.
- MUTATE's hint: EVERY: MUTATE ON THE BAR / OCT+ MUTATE  OCT- ANCHOR.
- Tests: ui_test test_eumutate (the turns on a kit and a melody, MUTATE on
  the bar, once a bar, none stopped or in a chain, ORBIT / DRIFT / PULSE,
  OCT+ / OCT-); the SEQ chain's tests and the 14 tasks (+1) for the page.

App 567,540 B of 584,336 (16,796 B free); RAM .data+.bss 95,820 B.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 21:36:11 +00:00
Claude d9f63ad05d V10.15: VOICE's English dictionary in the Bluetooth segment
docs/BLE_FEASIBILITY.md section 10.

- LY_EN_DICT (13,346 B) and LY_EN_IDX (524 B) in the segment (gen_lyrics.py
  emits LY_DICT_SEC; sing.c makes it .btapp.rodata in the firmware), inside its
  CRC-32.
- The segment is checked in fm1_main before felucca_init (whose sing_init reads
  the dictionary), under the splash: the plain XIP window, the CRC-32;
  sing.c ly_en_ok from it. The reads (sy_en_find / ly_at only: the main loop,
  and the audio for a word not resolved there) are plain XIP data reads, as of
  the app's flash.
- Without the segment (NO SEG): sy_en_find returns before any read; English
  words by the letter rules (sy_en_rules), the generator's too; VOICE sings on.
- tests/voice_test.c: without it, all 2,095 words exactly as the rules read
  them, sing_init again; with it back, the dictionary's.
- tools/audio_layout.txt repinned (FELUCCA_REPIN=keep).

App 567,760 B of 584,336 (16,576 B free); RAM .data+.bss 95,564 B; pool spare
9,536 B; segment 47,128 B (12 of 18 sectors).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 21:18:18 +00:00
Claude 2abf321ecc V10.14: PROX, the Bluetooth proximity source
docs/BLE_FEASIBILITY.md stage 2 step 6 (section 9 added: as built).

- The RSSI word of every good packet on the link (ble_hw_wl82.c hw_rx_service:
  one hook, BLE_HW_RX_RSSI) into a 16-word ring in the segment (bt_seg_rssi).
- bt.c bt_prox_step (main loop, in the segment): level = (w & 63) + (w >> 8 &
  63), median of five, one pole (~50-70 ms); held without packets; eased to 0
  (~0.3 s) without a central or with BLUETOOTH OFF. FAR / NEAR in
  favorites.factory[6][22..23] (always 0 before: not calibrated, PROX 0), mapped
  to 0..1, clamped, either direction.
- mod.c MS_PROX ("PROX" after NOISE, unipolar): every SRC list, the web editor.
- MENU > SYSTEM > BLUETOOTH ON (radio running): OCT+ opens PROX's page (a meter,
  %, the level and the raw word, FAR / NEAR); OCT- stores FAR, OCT+ NEAR; SELECT
  back. The lens keeps the menu's tabs and cards for it (ui.c lz_on / lz_fam).
- ABOUT's AUDIO LOAD block in the segment too (about_load).
- tools/build.py: FELUCCA_REPIN=keep (the order recorded before, addresses anew:
  the sound stays within ~0.7 KB of V10.12's instead of the compiler's new order
  moving the engines up to 37 KB); a REPIN records the sound's tables after the
  UI's left .rodata. tools/audio_layout.txt so repinned.
- Tests: ui_test (PROX's level, page, calibration, map, outlier, gap,
  disconnect), mod_test (PROX on CUT), ui_render (menu_prox, menu_prox_off).

App 581,616 B of 584,336 (2,720 B free); RAM .data+.bss 95,564 B; pool spare
9,536 B; segment 33,260 B (9 sectors).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 21:11:10 +00:00
Claude 4a33ce2e3b V10.13: BLE-MIDI in/out
docs/BLE_FEASIBILITY.md stage 2 step 5 (section 8 added: as built).

- In: what a central writes, decoded by the stack (ble_midi.c), goes into the
  one MIDI input ring as USB's does (firmware/bt/bt_midi.h bt_midi_accept:
  channel messages, F8 FA FB FC; no SysEx), source 1 = USB: notes, CC, PC,
  bend, CLK USB, LEARN, ROUT, MIDI MAP alike. src/bt.c bt_midi_rx enqueues with
  the interrupts off (the BLE interrupts at priority 2 are preempted by TIMER5,
  the ring's other producer). No change to the sound's code for input.
- Out: usb.c midi_out_event (everything MENU > CONTROL > MIDI OUT lets out)
  also fills bt_oq (64) while a central listens; the stack packs it each
  connection event (header, timestamps from TIMER4, running status). The sound's
  code moved 64 B (tools/audio_layout.txt repinned).
- Flash: the app's cold constants / code can live in the segment (bt.c
  BTAPP_RO / BTAPP_FN, app.ld .btapp.* inside the segment's CRC-32), checked once
  at power-on (bt_boot, after the splash). MENU > ABOUT's THE PROJECT, CREDITS
  and LICENSES moved there; NO SEG: ABOUT without them.
- MENU's overview tiles (the slide between tabs): a bottom tile shows seven rows
  (SYSTEM's eighth, from V10.12, ran off the panel: 595 ui_render lint findings).
- Tests: tests/ble_midi_test.c (fm1-base's codec test, credited in LICENSING.md),
  tests/bt_midi_test.c (packets as apps send them, the out ring and its packets),
  tests/ui_test.c (ABOUT's lines); run_tests.sh runs the two new ones.

App 582,140 B of 584,336 (2,196 B free); RAM .data+.bss 95,564 B (+284); pool
spare 9,568 B; segment 30,660 B (8 sectors).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 20:35:32 +00:00
Claude 9f0a4d81c9 V10.12: MENU > SYSTEM > BLUETOOTH (BLE-MIDI peripheral in a segment at 0xEA000)
docs/BLE_FEASIBILITY.md route C2, stage 2 step 3 (section 7 added: as built).

- firmware/bt/: Optimist's BLE stack (Henri David; the hardware-tested copy in
  charlesvestal/fm1-base bt/ble 4039a8b, GPL-3.0-only OR MPL-2.0, unchanged,
  headers kept) and bt_seg.c, its glue, built as a unit of its own. Peripheral
  only: advertises "JIANT FM-1" with the BLE-MIDI service UUID, connectable; no
  scanner, no central, no SMP pairing, no LL encryption, BLE_DIAG 0, 27-octet
  PDUs (as Melodee). MIDI is not routed yet (dropped / nothing sent).
- hal/fm1_ble.h, fm1_ble_rf.h: Melodee's (Kerem Kilic, GPL-3.0-only: the
  iterative start-up replay, the crystal ramp's burst in .ram_text);
  hal/fm1_rf_cal.h and ble_rf_tables_v15.h: felucca-bsp's (Apache-2.0).
  hal/fm1_irq.h: FM1_IRQ_EXTERN for the second unit (the crash record and the
  fault entry stay the app's).
- app.ld: BTSEG at XIP 0x020E6000 = flash 0xEA000 (72 KiB) for the segment's
  header + code + constants (27,344 B, 7 sectors); its RAM in the pool (3,336 B)
  but the 1,508 B baseband block (the radio's DMA) in .bss; .noinit.* after
  .noinit (no record moves). The PC guard's window reaches _bt_end.
- tools/build.py: compiles bt_seg.c, writes build/bt.bin (header: magic, length,
  CRC-32) and the same length / CRC-32 into the app's bt_want; refuses
  initialised data in the segment and a ramp burst outside .ram_text; the
  package carries bt.bin; the layout recorder ignores the segment.
- src/bt.c: MENU > SYSTEM > BLUETOOTH OFF (default) / ON, saved in TRIO's
  retired favourites row ([6][24..31]: a mark, ON, the static random address
  made once at the first start). ON only while stopped ("STOP FIRST"), at once
  or at power-on when saved; the value reads ADV / CONN and the connections since
  power-on, NO SEG (segment missing or of another build), FAILED. OFF stops
  advertising and closes a link. Boot guard: bt_crumb (.noinit) set across the
  start; a reset in it, or a crash / watchdog reset while it ran, turns it OFF
  at the next power-on with a message.
- src/bt_hw.c: the plain XIP window set (fl_plain_window_init, JIANT never set
  it), the segment's header and CRC-32 checked, then the start with the
  interrupts off, the second core parked and the audio buffer silent: the
  vectors (IRQ 45 / 29 at priority 2, below ALNK0 3 and TIMER5 4), the live
  calibration (records 106-108 the SDK board's constants, 187 measured), the
  stack, advertising.
- MENU > ABOUT's credits, LICENSING.md, LICENSES/MPL-2.0.txt: Optimist, Melodee,
  felucca-bsp, JieLi.
- tests/ui_test.c: SYSTEM has 8 rows (31 in all); the BLUETOOTH row, STOP
  FIRST, the saved bytes, NO SEG on the host, the boot guard.
- tools/audio_layout.txt: repinned (the UI code before the sound grew).

App 584,208 B of 584,336 (+1,096 B, 128 B free); RAM .data+.bss 95,280 B
(+1,524); pool spare 9,568 B (-3,360).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 19:33:17 +00:00
Claude bfc19bed5d Update loader: install a Bluetooth segment (bt.bin) at 0xEA000
- tools/fm1pkg_make.py: an optional third UFW entry, "bt.bin" (type 200), after
  ota.bin (whatever reads the first two finds them where they were); checked
  for its header ("JBT1", its length) and for update-record look-alikes at
  every 4K - 256 slot, as the app image is.
- firmware/loader/ldr_core.c: with that entry, the segment is checked in step
  2b with the rest before anything is erased (the entry's CRC16, the header's
  magic, a CRC16 per sector, the last sector's tail 0xFF), then written after
  the app area at [0xEA000, 0xEA000 + len) sector by sector, skip-if-equal,
  verified (the app area's per-sector code, now ldr_sector, shared). A package
  without one leaves the region as it is. The record sweep already skips
  0xEA000..0xFBFFF (V10.11).
- tests/ldr_test.c: the segment written and equal to bt.bin, a damaged one
  refused with nothing erased, writes allowed in [0xEA000, 0xFC000).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 19:33:17 +00:00
Claude e373cbc191 V10.11: stock supply setup (DC-DC on) before the rails; BT segment reserved
- hal/fm1_power.h: the supplies as stock V15 sets them (LDO13 -> DCDC13, the
  analog bytes, VDDIO 3.2 V, VDC14 1.60 V, SYSVDD 1.38 V last), ported from
  Melodee (Kerem Kilic, GPL-3.0-only). main.c runs it at boot before
  fm1_rails_boot (which then finds the rails set). MENU > ABOUT shows "DC"
  when it took. The radio's prerequisite (docs/BLE_FEASIBILITY.md stage 2).
- 0xEA000..0xFBFFF (72 KiB) reserved for the Bluetooth segment (FL_EXT_*):
  outside FL_RANGE_OK already; the update loader's record sweep skips it.
- Emulator: stubs for the new supply setup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 18:28:22 +00:00
Claude f46764d748 V10.9: MENU > LARGE shows the animations
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 17:07:24 +00:00
Claude fd726bb5aa V10.8: testers' fixes (GEN OFF parts, GEN genre kept, step VEL, dotted delay, less pitch wobble, SONG PLAYS message)
- GEN: BASS / CHORDS set OFF stay off (the "never fewer than two voices" rule
  now only fills in parts left on AUTO).
- GEN keeps the GENRE picked between visits (was EXPLORE each time it opened).
- SEQ > STEP KNOB 4 is VEL: 1..127 (a turn stops at 127), then ACC, SLD, A+S.
- Delay TIME: 1/4D, 1/8D, 1/16D, appended (stored values unchanged), placed by
  length in the knob's order.
- Generators: the random macros never route to PITCH; EXPLORE's pitched delay
  1 in 10 and octaves only, less glide / vibrato / detune; the FX dice's
  pitched delay 1 in 10, octaves.
- "STOP TO EDIT" now reads "SONG PLAYS: STOP IT TO EDIT" (the cause: a song or
  quick chain playing).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 16:03:14 +00:00
Claude 6398cb700d V10.8 wip: GEN parts OFF stay off, GEN keeps its GENRE, STEP KNOB 4 VEL, delay dotted times
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 15:53:53 +00:00
Claude 47eb558240 V10.7: EUCLID ALL on a kit, a lane alone; EDIT + PRESETS jumps engines; kit dice fix
- SEQ > EUCLID on DRUM-X: LANE starts at ALL, where DENSITY (1..8), STEPS and
  ROTATE make a whole usable kit (kick, backbeat snare, hats with the open one
  choking the closed, sparse percussion; ROTATE turns the kick and percussion).
  A lane picked writes that lane alone; the other lanes stay as they were.
- EDIT held + PRESETS: the first sound of the next / previous engine (not
  during a MOMENTARY tweak).
- SEQ + SELECT on a kit: a genre without drums (NEO CLASSIC) or AMBIENT's
  sparse map gave an almost empty pattern; it now picks a map that plays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 14:13:13 +00:00
Claude 37ef39bbfe V10.6: SEQ > EUCLID and MODES in MUTATE's place; MUTATE and SEQ TOOLS' RANDOM COOK BEAT gone
EUCLID (ui_euclid.c): KNOB 1 HITS, 2 STEPS, 3 ROTATE spread the hits evenly;
KNOB 4 a DRUM track's LANE (each of the eight its own euclid, the pattern
their least common length up to 64), a melodic track's VARY. MODES: four
amounts added to what is generated: DRUM ACCENT GHOST RATCHET VARY, melodic
MOTION HARMONY OCTAVE SLIDE. VARY loosens the even grid (hits a step off
towards the offbeat, the second half answering the first, pickups, a hit
left out; notes held over the gap). A melodic track's notes: its SCL, else
the key the other tracks' notes fit best (FROM Tn), else a NEW key of the
seed; the register kept from the first turn. Turning writes the pattern
again (an UNDO point per gesture); OCT+ a new variation, OCT- the one before.
The page draws the pattern as it is: a ring of its steps, the kit's lanes or
the key and the notes.

Gone: MUTATE (its engine, anchor, REVERT, GLO A4 FREEZE / B4 REVERT ALL, SEQ
D5 REVERT, HOME's mutation flash, GEN's MUTATE), SEQ TOOLS' C4 RANDOM, D4 COOK,
E4 BEAT and C5 lane RANDOM. Flash 3492 B free (was 20), the pool 3.8 KB more.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 13:15:02 +00:00
Claude 512358b4dc V10.5: automation thinned into holds and RAMPs (more fits in the 64)
- A record can be a RAMP (bit 13 against the sign, unused until now: old
  projects read as before): the value glides step by step from the record
  before (none: from step 0 and the sound's value).
- What a recording drew is thinned in the main loop: at the stop, and while
  recording once over 56 of the 64 are used. From each record kept a stretch
  goes as long as it holds its value or runs along a line (within 1/32 of the
  range): a hold or a RAMP; a last record repeating the value goes. Locks and
  the DJ FILTER are never touched. A 64-step sweep: 2 records.
- AUTO LIST shows RAMP as a kind.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 11:24:04 +00:00
Claude f57f26f535 V10.4: ARRANGE and TIMELINE: OCT- deletes the row picked
OCT+ adds a row, OCT- now asks DELETE ROW? for the one picked (OCT+ deletes,
OCT- keeps it), as TOOLS' DELETE ROW; stopped only. Was: OCT- went HOME.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 05:25:19 +00:00
Claude a2ff3bbba3 V10.3: TIMELINE's columns lead: soft lines between lanes, stronger row edges
Between lanes 2 px of the block's own colour a little darker (was black); a
row's edge 1 px of its colour well darker, through the lane lines, so the
song's rows read first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 00:21:40 +00:00
Claude c5cba2e681 V10.2: TIMELINE's lanes apart again; SAVE composes first
- TIMELINE: the 2 px black line between lanes back (V10.1 had removed it with
  the gaps between rows); only the rows touch.
- SAVE's chain: SONG (TIMELINE, SECTIONS) . PROJECT (PROJECTS, ARRANGE, TOOLS)
  . SOUND (USER, PRESETS). SAVE from HOME at power-on opens TIMELINE; the
  page left still comes back (USER from elsewhere still armed: SAVE . OCT+ .
  OCT+). Tests follow the new order (the panel race: 106 -> 108 actions).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-31 00:12:56 +00:00
Claude b65bd99924 V10.1: the audio layout re-pinned for the TIMELINE change (CI linked against the old pin)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-30 22:18:26 +00:00
Claude b0c884d278 Renders: every V10 page the interactive manual names; nav map reads 'V10.1'
ui_render gets pg_* scenes (by title, on the engine they need) for the pages
that had no screen; gen_nav_map's version pattern takes the V line's 'V10.1'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-30 22:14:15 +00:00
Claude fe6523af5e add15-beta6: the M-UPGRADE entry takes M-VAVE's official V15 and V16 packages
M-VAVE's V16 (2026-10-21) keeps V15's update loader but has another flash
head (its own SPL, 320 MHz, power rails). The entry only let the official
loader in when the package's head equalled the device's, so a JIANT FM-1
installed over V15 refused V16 (-5, nothing written). It now also takes a
package whose head is V15's or V16's, by two fingerprints (CRC16 + FNV-1a
over the 16 KiB head): JIANT -> official V16 straight from the web
installer (Return to official) or M-UPGRADE. Any other head still -5.

ota_test: an official package over a device with another head: V15 / V16
taken, a head changed by one byte refused, our own loader unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-30 19:34:28 +00:00
Claude 3f111e133b add15-beta5: SAVE > TIMELINE (was ARRANGE 2): the song as lanes
The song left to right, its bars the width: a lane for the rows (SEC: the
row's section and bars) and one per track (FROM, VAR). A track that follows
its row is dim, one from another section bright with its letter, a muted
one an empty frame, a variation its short name. KNOB 1 the row, KNOB 2 the
lane, KNOB 3 / 4 the lane's two values; a playhead while the song plays.
The same data as beta4 (song index version 4): nothing to convert.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-30 14:40:20 +00:00
Claude 94e416b894 add15-beta4: ARRANGE 2's VAR, a song row's variation of each track (and its mute)
KNOB 4 on SAVE > ARRANGE 2 picks a track's variation for that row only:
MUTE, THIN, FILL, HALF, REV, SHIFT, OCT+, OCT-, VAR 1..4 (seeded by song,
row and track: the same row always plays the same). Applied as the row is
staged (song_main.c row_vary); MUTE over the row's scene. The graph shows
the row's six tracks (their section's colour and letter, their VAR).

The song index goes to version 4 (+512 B, a uint32_t per row, 4 bits a
track); versions 1..3 in flash and version 2/3 backups load with no
variations. The variation scratch buffer lives in the pool.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-30 13:31:02 +00:00
Claude 59bca1a334 add15-beta3: SAVE > ARRANGE 2, each song row's tracks from any section (Skiff style)
A song row can take any track from another of its song's four sections:
KNOB 1 the row, KNOB 2 the track, KNOB 3 FROM (the row's own, A..D), KNOB 4
left resets the row; MIX shows where the six come from. A track brings its
sound, steps, FM6 patch and automation (DRUM its kit); the row's section
keeps the globals (punch-in lane, SLICER). Quick chains and live jumps play
whole sections as before.

The song index goes to version 3 (+512 B: a uint32_t per row, 3 bits a
track); version 1 and 2 indexes in flash and version 2 backups load with
every track on its row's section. Row add / delete / SONG REC / CLEAR SONG /
NEW PROJECT keep the map in step. Tests: persistence (the mixed staging,
v2 migration), backup (v3 and v2 restores), startup (the map through boot),
ui (ARRANGE 2's knobs, the SAVE chain with the page).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-30 12:38:32 +00:00
Claude 5386bf5ee5 add15-beta2: the USB name "FM-1" (the loader "FM-1 Update"), on string index 5 so Windows reads it afresh: the apps made for the FM-1 (FM1 Swap, Firmware Hub) find it, as Melodee's "Melodee FM-1"; usb_desc_test and install_test with the name; JIANT Stems opens on "FM-1" too
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-30 09:43:48 +00:00
JUAN JIANT 3b99ab5a04 build(add15): pin validated layout and verify normal build plus fresh/saved boot 2026-10-29 08:48:52 -03:00
JUAN JIANT 161d0790ac feat(additive beta): sequencer controls, SHIFT/CHORD, STRING MOVE and acoustic drum macro 2026-10-28 23:44:22 -03:00
JUAN JIANT b028336db5 build(rec): keep expanded shortcut labels outside the pinned sound layout 2026-10-27 16:40:17 -03:00
JUAN JIANT f80bd276f5 build(rec): keep UI undo checkpoint outside pinned audio gaps 2026-10-27 16:37:44 -03:00
Claude 30f05b3763 p10: STRING's FDBK, a guitar's feedback: EXCITE FDBK plucks, then an amp plays the string back into it (the BODY page GAIN DIST SPEAKR BLOOM; a soft clip the loop's limiter, its DC tracked out, SPEAKR's tap on the line: no memory more); presets FEEDBACK and SHOEGAZE; the layout re-pinned (616 B free); v0.9.9-par10
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-26 23:06:55 +00:00
Claude 7f2019e9f5 docs: the cheat sheets at v0.9.9-par9: STRING and ADD (eleven engines), LOFI's 48 formulas and SYNC, TAPE and the master's EQ, the FX layer's LOOP 3/5/7 and GLITCH on the grid
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-26 19:48:32 +00:00
Claude 1502f55702 p9: the layout re-pinned (EQ, TAPE, GLITCH); 1128 B free
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-26 15:21:14 +00:00
Claude 9e2f2b7b0a p9: the master's 4-band EQ (FX > EQ: LOW, LO MID, HI MID, HIGH, -12 .. +12 dB; one-pole bands at ~200 Hz / 1 kHz / 4 kHz, ~10 multiplies a sample and channel, flat: not run), kept with the project; v0.9.9-par9
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-26 14:54:23 +00:00
Claude eea92834f4 p8: REC_LAT on the FM-1 only (FELUCCA_DUAL_CORE): the host's tests and the emulator have no DAC between; the layout re-pinned
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-26 13:02:37 +00:00
Claude df2b176122 p6: the web editor's preset tables by engine (PHASE HARP and DIGITAL MARIMBA as they were; STRING's own); the layout re-pinned
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-26 00:46:13 +00:00
Claude 6da616e0f1 p6: the sound re-pinned (STRING, ADD, LOFI); 2384 B free
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-26 00:07:07 +00:00
Claude 8d99120a79 p6: STRING rings (its own amplitude: RELEASE its damper; BOW into the loop's filter), ADD's PRIME FIFTH SUB PLATE modes, EBM's bass riffs vary a seed; v0.9.9-par6
The owner: STRING at full DECAY still short (the ADSR's release ended the voice at the sequencer's gate: the loop
itself rang 2.5 s at DECAY 100), BOW a layer of noise over a pluck; ADD could be more its own; EBM's bass two motifs
whatever the seed. STRING ownenv: let go, the loop's gain times RELEASE's (str_gain: 50 ms .. 13 s: low a palm
mute, high it rings its DECAY), the voice ends at its block's peak under ~-66 dB (string_done; ph[1]'s top bits);
the presets' RELEASE 80 .. 112; the BOW's noise into the average before the low-pass (>> 7), not after it. ADD:
four ratio rows (PRIME's prime harmonics, FIFTH's organ mixture, SUB's 1/4 and 1/2 under the note, PLATE's square
roots) and a preset each (PRIME ORG, QUINT, DRONE, GONG); MORPH runs through all ten. EBM: NITZER3 / DARK8 /
SUICIDE, and gba_vary on its pieces' bass (1..3 steps moved a seed). No more RAM, the same work a sample; the
sound re-pinned (4232 B free).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 23:12:12 +00:00
Claude fd01f69c45 p2: event-rate interrupt code back to -Os (par1's minsize made the device heavier: clicks)
5de8805 built the code an interrupt runs once an event (MIDI, a step, a note)
for size and kept it out of line: -1952 B of RAM code, but the device's load
went up and clicked under par1. Back to how snd8f built it (RAM code 32276 B
of 34816), repinned; build.py's probe-region repin stays. Image 579848 B,
4488 B free.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 17:57:06 +00:00
Claude 692392d6de p2: VOICE draws its vocal tract alive ("Tracto vivo", main 092a379): a glowing tube in a ghost of a head, the jaw down
As main's: framed close about the mouth and the neck, the head's outline a ghost, the tract a two-walled glowing tube
(lips, palate, velum, pharynx, glottis), glottal pulses travelling up it (through the nose for m n ng), the vocal folds
as a V, waves leaving the mouth, a nod at each vowel's onset; the jaw turns downward about the condyle. The CT's tables
and scan line gone; vx_curve's arcs shared (vx_bez).
Fixed on the way: vx_curve's point buffer was main's 16-point one (2 * 49); seq-v2's STRING creature draws a closed
curve of 24 points (vx_string, its silk): a stack overrun (ui_render under ASan: stack-buffer-overflow in vx_bez); now
2 * (1 + 3 * 24).
Tests: ui_test's tract check (main's), ui_render scenes vx_tract_* (0 lint; the whole ui_render clean under ASan).
MANUAL EN / ES, README. UI only, nothing in the audio path. Flash +812 B (574988 -> 575800 B, 8536 B free). The layout
re-recorded (FELUCCA_REPIN=1: UI code between the sound's pinned runs grew), with item 2's repin one device check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 16:51:25 +00:00
Claude 7c9754d1b3 p2: GLO > LIVE, the six sequences in parallel with live modifiers (MANO + RIELES), main 0.9.11 on seq2
As main 5c5e976 / 0a84807 with its fixes to 0.9.18 (43cda5f: no track picked, ctz(0); 0f5e834: LIVE RATCH inside its
step, seq-v2's step_parts already so): a first GLO group LIVE (LIVE . MIX . GLOBAL . SYSTEM . COMPS; GLO still opens
MIXER at power-on, NAV_DEF), MANO (the keys a board, song.grid 3) and RIELES (six rails, playhead, ghost, window).
seq_live.c / ui_live.c from main; seq.c hooks as main's (live_q before the tracks, live_adv in seq_tick, the next step
as a JUMP, THIN in step_rolls, RATCH in step_parts, OCT in seq_step, recording at the ghost's place). On seq2:
- the FX layer's 1/2 TEMPO and LOOP 3 / 5 / 7 (pfx.c) are LIVE's RATE /2 and a LOOP of the last N steps now (main 0.9.18
  did the same for 1/2 TEMPO): seq_tick's own halving, its LOOP branch and pfx_resync gone, LIVE's ghost brings the
  track back where it would be; the PLAYHEADS follow a slower RATE and skip what they missed when back in phase
  (live_heads, snd6's for 1/2 TEMPO, generalised); a faster RATE leaves them in time. perform_test unchanged, passes.
- a LOOP's window wraps past the pattern's end (LOOP 3 on step 1: 15 16 1); seq-v2's RANDOM held stays its own.
- the components (seq2d) keep acting on the step that sounds; a component's JUMP first, as main.
- system_init clears LIVE through live_reset (seq_live.c), so the tests without the UI link.
Not saved; nothing in the audio render. Tests: tests/live_test.c from main (without 0.9.14's macros) + the PLAYHEADS
under /2 and RETURN; ui_test's GLO chains (LIVE first, 9 pages, NAV_MAX 24 kept); ui_render scenes live_* (0 lint);
cpu_vg seqtick/plain 68, seqtick/live 85; run_tests.sh runs live_test. MANUAL EN / ES § 11 and the GLO tables, README,
the cheat sheet's text.
Flash +6676 B (with the dice's room given back: 568312 -> 574988 B, 9348 B free); RAM code -204 B (pfx_resync out of
RAM); .bss +24 B; pool spare 10944 -> 10688. FELUCCA_REPIN=1 (seq_tick, seq_step, keyboard_block, rec_*, pfx_block,
events_block): needs the device check (load, crackle) as every repin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 16:43:37 +00:00
Claude a10f253f03 p2: SEQ + SELECT dices with GEN's generator on the song's harmony; song_dice.c's own generator gone (main caab8fc), -5712 B
dice_seq (gen.c) writes the track's part with gen_role: on the piece's plan where a GEN piece plays in the track's key
(its role in the piece kept, TEXTURE aside), else on choices made up for it (gen_pick, factored out of gen_make with the
same calls in the same order: every GEN piece bit for bit, 135 fingerprints compared). Never what the track played
before the press (90 % of its steps, over its root) nor one of its last four: another stream, and from the second try
the role's figure from the whole generator (a lead's way, an arp's order, the chords' play, the drums' family), the
bass's archetype moved (main 0.9.18's gba_vary, for the dice only: GEN's pieces unchanged).
song_dice.c keeps the helpers GEN shares (roles, dhold, euclid, dname_has, dlevel, dlen ..., CPU TEST); DSTYLE, its
drum bars (dice_bars.h empty, gen_drum_maps.py as main's), dice_drums / bass / pads / lead / arp / texture / sound gone.
The old generator's statics and small constants kept as room (dh_r*, DH_C*): the merged statics' and constants'
places are recorded; dsq_last in .bss.dice. No repin.
Measured (scratch harness, 20 presses a genre on every genre's piece; tests/dice_metrics.c from main): lead strong
steps on the chord tones 64 -> 88 %, steps 14 -> 47 %, leaps past a fifth 12.5 -> 2 %; bass on chord tones 65 -> 93 %;
the same as the press before 0-1 % (was 0-2 %); near one of the 8 before: lead 10 -> 10 %, bass 9 -> 27 %, arp 11 ->
49 % (an arp on the piece's own chords), drums 3 -> 10 %. MANUAL EN / ES.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 16:14:43 +00:00
Claude f642d4cfcd p1: VOICE THEME a name a detent, no crackle on a held note, a blend between detents (main c4c54e9, 03a31f8, 0b7bd69)
- params.c: a value with names (F_INT over a name list) turns a name a detent, onto its middle (VOICE's THEME was
  16 detents a name; LOOP, LOFI WAV#, NOISE LEN the same); name_of shared with param_format.
- voice.c engine_block: the engine's desc asked only for a value that changed (was all 8 of every part, every
  block); a named value dips only on a new name, VOICE's word values (THEME, LOOP) never: a THEME swept over a held
  note dipped at every value, a crackle.
- sing.c: THEME between its detents (automation, a mod) blends its words with the next theme's (the top half).
voice_test: THEME swept over a held note bit for bit, the detents, the blend. Goldens unchanged. Flash +260 B, RAM
code +116 B. FELUCCA_REPIN=1 (engine_block, the generator's word code).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 14:55:35 +00:00
Claude fd95915457 p1: LOFI quieter and less piercing, BYTEBEAT above all (main cddd823)
LOFI_GAIN, the voice's level by WAVE on the block's amplitude ramp (BYTE FLOAT -6 dB, PLS SAW NOIS -4.5, WRAM -3,
TRI -1.5); LOFI_SOFT, a fixed one-pole (-3 dB ~7.5 kHz) on the chip waves and FLOAT ahead of the FILTER's CUT;
BYTE's two smoothing poles ~6.3 -> ~4.9 kHz. User presets and old projects with LOFI play quieter and softer too.
Goldens: the 17 LOFI presets and the two mixes with a LOFI part (song/4track_mix, slicer/song_gate_stut), as in
main; nothing else. lofi_render within its target budget. Flash +80 B. FELUCCA_REPIN=1 (lofi_render pinned).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 14:51:37 +00:00
Claude f4e83a1613 p1: DRUM-X held octaves half as fast, twice over (main 924355c, 1eb7444)
DXO_RAT 1 1 1 2 (was 1 2 4 8): OCT +1 REPEAT 1/2, the hit every other step while held (dxo_t.half / ph); +2 REPEAT,
once a step (a roll at the step rate); +3 RATCHET x2; the MIDI bands 82..127 the same. Recorded as heard: the hit on
every step held into (+1 every other one), +3 with its lane's x2. Main 0.9.18's +3 "x4 at the spilled rate" needs
its RATCH spill, which seq-v2 does not have: not ported. drumx_oct_test as main's; MANUAL EN / ES tables.
Flash +36 B. FELUCCA_REPIN=1 (dxo_tick, dxo_on and DXO_RAT pinned).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 14:48:26 +00:00
Claude d15e105c64 p1: MIDI LEARN with MIDI MAP FACTORY / CUSTOM ADD / CUSTOM (main 0.9.12's LEARN, extended)
MENU > CONTROL > MIDI MAP (editor id 25): FACTORY the fixed CC map alone, as ever (the default; 0 in every older
setting); CUSTOM ADD the learned CCs too, a learned CC over the factory meaning of it; CUSTOM the learned CCs alone.
MENU > CONTROL > LEARN: SEL TRACK / FIXED TRK arm it when the MENU closes: turn a knob on any page that edits a
track's parameter (knob_cap), then move a controller's CC: learned, fixed to that track or following whichever
track is selected when it comes (per mapping); then the next knob. CLEAR ALL clears them at the MENU's close.
Learning with the map at FACTORY sets it to CUSTOM ADD. Ten CCs, three bytes each, with MIDI MAP in DIGITAL's
retired favourites row (bytes 1..31; its byte 0 the old stars' migration, now the only byte cleared): kept with
the settings and the editor's backup, no project format change. CC0/32, 1, 6/38, 11, 64, 96..101, 120..127 never
learned ("CC64 RESERVED"). midi_control.c (ISR side: midi_learned, midi_cc_set) and midi_learn.c (UI) from main's.
LOAD moves to MENU > AUDIO (as main 0.9.12) so SYSTEM's tile holds its seven rows, and the MENU tiles space seven
rows 7 apart: ui_render's 595 menu_slide lint findings (on seq-v2 before this too) are gone, 0 now.
Tests: ui_test MIDI LEARN (FACTORY, FIXED TRK, SEL TRACK, reserved, ADD over CC7, CUSTOM alone, the settings round
trip, CLEAR ALL), MENU tabs 8 8 7 7; editor_test 26 settings, MIDI MAP id 25, LOAD's tab. Navigation maps
regenerated. Flash +1492 B. FELUCCA_REPIN=1 (midi_control runs in the audio ISR; the MENU's switch tables).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 14:44:21 +00:00
Claude 5f36bb0d7c p1: safe by default: MENU > SYSTEM > CPU CORES, the last crash kept across power-off, both cores back on the third power-on
As main 7180629 / 2a60cc3 / b6b5bfd (cpu_safe.c, tools/crash_decode.py, tests/cpu_safe_test.c), on seq-v2:
- MENU > SYSTEM > CPU CORES 2 CORES / 1 CORE (editor id 23, as main's), beside CPU CLOCK, the same settings byte
  (favorites.factory[15][17]); from the next start. A crash or a watchdog hang with both cores, or the second core
  given up while playing, turns it to 1 CORE (said, with where to set it back); 1 CORE for two clean power-ons,
  both again on the third; a crash again after that: for good, until set by hand.
- The last crash (or hang) kept in the settings as 32 characters ("IL01 2C <version> <PC> <RETS>"): MENU > ABOUT >
  LAST CRASH, the editor's settings backup, the console's `crash`. Main keeps it in favorites row 13 (SLICE's),
  which is ADD's in seq-v2 (snd5): here row 9, PHYS's, retired (its sounds load as ANALOG, nothing reads its
  stars); a record is only read when it parses (old stars there never show).
- seq-v2's crash screen kept whole (SP USP SSP, C2 PC, the bus culprits), with main's short code on its last line
  ("IL-01"); fm1_fault notes the CR_* flags for the next boot (fm1_mc_bar bits 8..15, bit 1: core 1 started).
- Code out of fm1_fault, fm1_main and menu_document into helpers (their room is pinned), fm1_mc_bar_set always
  inlined (fx.c mc_lost is pinned), cpu_safe.c's tables in .rodata.cpusafe. The MENU's switch tables grew with
  the new row (compiler lookup tables in .rodata, before the sound's constants): FELUCCA_REPIN=1.
Tests: cpu_safe_test (in run_tests), ui_test (SYSTEM 8 rows, 28 rows), editor_test (25 settings, CPU CORES id 23).
Flash +1476 B.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 14:16:28 +00:00
Claude e9f97af8f2 p1: CLOUD without the crackle when pushed, and not silent at SIZE max (main 9cf5793, 80ea20f, 688d873)
On seq-v2's CLOUD (cpu5's at-rest clock, cl_spawn / cl_age): the grains' windows summed capped at 1.25 grains'
worth (CL_WMAX; the loop gain passed 1 from RATE ~90 and ran into its clamps); the line written through a soft knee
(rv_knee); the grains into ROOM's network at half the level, x2 at its output; a ~14 Hz low cut in the loop
(fx.cl_dc); AIR up: a grain's length capped so it never reads across the write head (a 32-bit divide, not main's
64-bit one). SIZE 127 (FREEZE) of a cleared line first takes a line's worth of sound (fx.cl_fill), cloud_clock
counting it as rev_cloud does. tests/cloud_hot_test.c from main (fails 6 checks on the code before).
Golden renders unchanged. Flash +220 B, RAM code +172 B, .bss +16 B. FELUCCA_REPIN=1.
(fx_rest_test's wake level check fails on seq-v2 before this too: 10421 vs 8498; 8569 vs 7832 now.)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 13:56:32 +00:00
Claude 7123b2e38e p1: USB: STEMS+IN without the rhythmic glitch, a mode switch on the first try, the name "JIANT" on index 4
As main 9678bf3 + 7180629's poll skip, 1417f9e, eb9ee2d:
- uac_service on every 10 kHz TIMER5 tick (nested in the render or not), not every 5th: a STEMS+IN packet is on
  the wire ~0.65 ms, the next one must be queued in the ~0.35 ms after it; the guard inlined, the SIE check
  (ep4_tx) and the refill (ep4_fill) out of line; no SIE poll for UAC_SKIP ticks after a fill; the stall count 20 ms.
  stems_usb_test models the bus time and TIMER5's drift (0.9.9's 2 kHz poll loses up to half the frames);
  target_budget watches ep4_tx / ep4_fill.
- a USB mode switch keeps the FM-1 off the bus 500 ms (usb_replug, usb_retry_due): hosts saw the ~25 ms drop
  miss; ui_test checks it.
- iProduct "JIANT" (was "JIANT FM") on string index 4 (Windows caches the name by VID, PID and index: Live kept
  "Felucca"); the loader "JIANT Update" there too. The Stems app's USB filter takes "JIANT" too; install_test and
  usb_desc_test cover the names; editor mock and EDITOR_PROTOCOL.md renamed.
Flash +80 B. FELUCCA_REPIN=1 (uac_service pinned, it runs in TIMER5).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 13:49:49 +00:00
Claude 84295f6edd p1: a hit or a note recorded live into a step that repeats plays once (Danil's "random rolls", main LM_ONCE)
As main dcbbbab / d0783c4, on seq-v2's steps: the free lane-mode code 7 is LM_ONCE (step_lmode reads it as none,
FUNC keeps it). rec_drum: a plain hit on a lane new to a step that repeats gets LM_ONCE; rec_note: a note added to
a POLY step that repeats, its slot. "Repeats" (rec_repeats) is seq-v2's: the step's RATCH, its own RATCHET
component, one acting on it now (an earlier step's span, the C.LEN lane's, the global lane's: cx_rat), a track's
RATCHET spanning steps, the global lane's RATCHET on the track. seq_step leaves LM_ONCE entries and a lane with its
own x2/x4/x8 out of the step's repeats (no repeats of repeats). GEN writes the drums' rolls as the lane's x2/x4
(glane_rat), not the step's RATCH.

Tests: drumx_oct_test ONCE over RATCH, a RATCHET, a RATCHET's span and the global lane's (early and late, x2..x4;
fails without the fix), a lane x4 on a RATCH x2 step, FUNC round trip; ratchet_test a POLY overdub once; gen_test
no step RATCH on a kit (its club drums' share bound 75 -> 76 %: HOUSE seed 3026 at 75.4 % with the lane rolls).
Flash +396 B. FELUCCA_REPIN=1 (seq_step, rec_drum pinned).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 13:45:04 +00:00
Claude 5de8805ffa p1: event-rate interrupt code built for size (main 0.9.14/0.9.15's policy), the sound's layout re-pinned
tools/size_fns.py: of what an interrupt reaches, the code that runs once an event (a USB control transfer, a MIDI
message, a step, a note, a recorded key) gets minsize, as main's EVENT_PFX / EVENT_KEEP, plus seq-v2's own once a
step (comp_run, comp_lane, comp_cond, comp_count, gl_eval, gl_take, gl_cond, gl_step_at, fl_once); one an
interrupt's -Os code calls stays a call. -3604 B of flash, -1952 B of RAM code.

FELUCCA_REPIN=1 (tools/audio_layout.txt recorded anew: the event code changed size): its intermediate link, the UI's
tables not yet in the holes, now goes in the probe's larger region (it overflowed XIP by 21.8 KB). Needs a check on
the device (load, crackle), as every repin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 13:18:37 +00:00
Claude ad76a14901 p1: the app slot grows to 0x8EA90 (+2772 B), as main 64ee3b0; the region ends at 0x92FFE, no loader change
app.ld's XIP LENGTH = fm1pkg_make.APP_SLOT (build.py checks it; the image line says the free room); the
packager refuses a region past flash.bin and an update-record look-alike; ldr_test decrypts the installed app
area and checks [0x93000, 1 MiB) kept; run_tests installs an app filling the whole slot. seq-v2's LOWBUF and
RAMTEXT unchanged. web/fm1pkg.js only checks the stock V15 slot (its packager is unused: the site ships
fm1pkg_make packages).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 13:14:00 +00:00
Claude 446f585bbd mem1: 7.2 KB of flash back: the S and M faces without lowercase, kerning under 1/4 px dropped
The UI folds every text to capitals (gfx.c fold), so the lowercase glyphs
were only the credits' and the console's; kerning pairs under 4/16 px are
invisible at two phases (text_spacing_test still ok). Image 578724 -> 571520 B.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-25 02:11:13 +00:00