Commit Graph
368 Commits
Author SHA1 Message Date
Claude 62cde03949 JIANT Studio: install, edit, the screen, the emulator and recording in one page, for JIANT FM and JIANT BYTE
web/studio/ (published at /JIANT/studio/; .github/workflows/emulator.yml):
- One page in each firmware's look (JIANT FM: cream, violet and the heat gradient, Michroma, the horizon grid;
  JIANT BYTE: stars, synthwave stripes, pixel type), chosen by the firmware the FM-1 runs (INFO's engines: MATH is
  BYTE's) or by hand. Home in steps (connect, install, use it) after Melodee's installer, with the help that matters.
- A target for everything: the FM-1 over USB, or the emulator.
- Install / Editor / Emulator: the sites' own pages in frames (JIANT FM's from /JIANT/, BYTE's from /JIANT-BYTE/: one
  origin), dressed in the look, without their own headers. The editor connects by itself to the FM-1 Studio found.
- Screen: the FM-1's (78 SCREEN / 79 SCREEN_DATA) or the emulator's, straight to full screen; square, the width in
  portrait and the height in landscape, the controls beside; sharp or smooth pixels; the phone kept awake.
- Record: the FM-1's USB audio (stereo, or USB > STEMS's 8 channels: T1..T6, FX, the mix, as a ZIP) or the emulator's
  output, as WAV; what comes in over MIDI as a .mid; a song's offline stems through the emulator's panel.
- Install safety: on the jiant-midi channel like every MIDI page: lets the FM-1 go while an installer writes.
- dev_server.py: the published layout on this computer (local tools, the live site for the rest).
The emulator answers the whole editor (web/emu/editor-api.h: the firmware's editor.c, as the ports' core runs it; built
into felucca.wasm by web/emu/build.sh), so with target Emulator the editor edits the FM-1 in the browser; the emulator
lets Studio record its output and choose which MIDI input plays it.
editor.html: ?emu=1 inside Studio edits the emulator; the Screen button goes full screen at once.
Tests: web/studio/studio_test.mjs (screen frames as the editor's and the firmware's, WAV / ZIP / MIDI, the words),
web/studio/browser_test.mjs (Chromium: detection, the screen and full screen both ways, install safety, the editor on
the emulator, recording), in tests/run_tests.sh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-23 17:21:49 +00:00
Claude 5abc629b00 Screen mirror: smaller, one frame type, nothing static (as JIANT BYTE needs it)
The same mirror, rewritten to fit JIANT BYTE (its image nearly full, its sound pinned): a fill
is one colour and its runs in the pixel frame (type 1 gone: ~130 B for the whole screen), the
header written in a loop, the reply built in the mirror's own buffer, the 4 s timeout checked
in ed_service. Its state is not static and sits after the pool (app.ld: .pool.mirror after
.pool), so the compiler's merged globals stay as they were. The FM-1's image: 324 B smaller
than the first version, 656 B less RAM.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-23 16:38:36 +00:00
Claude 0878885c49 Screen mirror: the FM-1's screen in the web editor, as big as a computer's or a phone's
The firmware keeps no frame, so lcd.c hands every fill and strip it sends to the panel to
editor_screen.c while the editor asks for it, which sends them on as SysEx (79 SCREEN_DATA):
fills as a colour, strips compressed (runs, a 64-colour hash, colours in full), each frame
standing alone and at most 0.5 KiB. 78 SCREEN turns it on (the whole screen redrawn), keeps
it on, refreshes, turns it off; it stops by itself 4 s after the editor's last request or
when a frame cannot go out. About 0.1 byte a pixel on the UI's pages.

The editor: a Screen button (only when the firmware answers SCREEN), a full-window view
(sharp / smooth pixels, full screen, wake lock on phones), ?screen to open it on connect.
The mock device mirrors a picture of its own. Protocol in EDITOR_PROTOCOL.md; tests in
tests/editor_test.c (decode back to the pixels drawn) and web/test_web.mjs (the editor's
encoder gives the firmware's bytes, the mock, firmware without it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
2026-11-23 16:08:21 +00:00
Claude ae9afc86e4 editor: SMK-37, the computer ports and the big CPUs' engines (SAMPLE, GRAIN, DRUM-X's samples)
- firmware (editor.c): INFO tags 'D' 1 board (SMK-37 Pro / Elite, a computer, the MPC Sample, the MPC plugin) and,
  FELUCCA_HOST_POWER only, 'H' 2 caps slots, both before 'Y'; on the big CPUs DESC / SET / TRACK_PARAM name the
  values beyond EDIT by the track's engine (hp_xdesc) and send enum names by value (DRUM-X's SLOT 112..). The FM-1
  binary is byte for byte as before (cmp build/felucca.bin, .fwsc), regress 0 golden changes.
- ports/core: the editor's SysEx (jiant_sysex, jiant_sysex_out, jiant_editor_poll, jiant_editor_host) through the
  firmware's own handler; felucca_hp.wasm leaves it out. JUCE standalone: SysEx in, replies out of its MIDI output
  (producesMidi only for the standalone; the plugins' buses unchanged); tests/sysex_check.cpp.
- web/editor.html: the device shown (tag, else port name), SMK-37 / MPC Sample port names, the structured layout for
  P_COUNT 123 (it showed a plain list) with a FILTER section, SAMPLE's TRIG REC, GRAIN's TRAVEL SOURCE PITCH and
  DRUM-X's SAMPLES pages on a device with 'H', SAMPLE sounds kept on such a device; the mock as a big CPU (?hp=1)
  or an SMK-37 (?board=1), its tables generated from and compared with descdump built with FELUCCA_HOST_POWER=1.
- tests: editor_test with FELUCCA_HOST_POWER, core_test, test_web devices section, web/editor_browser_test.mjs.
- docs: EDITOR_PROTOCOL.md "Device and big CPUs"; MPC Sample README: why its app does not answer the editor yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
2026-11-21 17:15:04 +00:00
Claude 6b639aa241 tests: devices.html in Chromium (web/emu/browser_mpc_test.mjs): the MPC's samples end to end, FM-1 and SMK-37 still play
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
2026-11-21 14:47:36 +00:00
Claude f8b2a77843 tests: run_tests.sh parses again (an apostrophe inside ${STOCK:+...} in the SMK-37 package step)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
2026-11-21 04:31:08 +00:00
Claude 87f7c400f4 UI for the sample engines (ports/ only): their pages, the EDIT chain's SAMPLE group, the slot's picture
SAMPLE's TRIG and REC, GRAIN's TRAVEL SOURCE PITCH, DRUM-X's SAMPLES pages after the FM-1's
(their indices kept), in EDIT's chains as a SAMPLE group; ui_smpvis.c draws the slot's name and
waveform, the region, the playheads and the grains, EMPTY, LIVE, RECORDING. The UI render lint
built with FELUCCA_HOST_POWER=1 sweeps them: 0 findings (tests/run_tests.sh runs it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
2026-11-21 03:45:14 +00:00
Claude 1ecc283aec SMK-37: the input HAL and the control mapping
hal/smk_input.h: Melodee's SMK-37 HAL as it is (velocity keybed, 18 buttons, 8
encoders, the button LEDs, pads, faders, wheels; the fm1_adc.h stand-ins, K5 as the
MASTER pot), with three no-op stand-ins for JIANT's dim / sweep LED calls. felucca.c
includes it instead of fm1_input.h and fm1_adc.h on the SMK (PB6 is the SMK's LCD
clock).

The mapping (panel.c, after Melodee's): FX=FX, SCALE=SCL, CHORD=ENV, NOTE REPEAT=LFO,
PARA=EDIT, GLOBE=GLO, PATCH=HOME, BT=SAVE, ARP, SEQ, SEQ PLAY=PLAY, SEQ REC=REC,
OCTAVE-/+ = OCT-/+; K1-K4 KNOB 1-4, K5 MASTER, K6 SELECT, K7 ALGORITHM, K8 PRESETS;
magic 'PNS5', validation against the SMK's 18 buttons / 8 encoders; HARDWARE
CALIBRATION asks by the printed names. ui_input.c: < and > one SELECT step, KNOB BANK /
FADER BANK nothing, the pad and outer-key queues drained, button loops over the SMK's
ids, an SMK ui_leds (button LEDs on/off, breathing = blink, the pads show their white
key's LED); ui.pg_down widened to 32 bits on the SMK. seq.c: a key struck again while
held (notes_retrig) sounds again. main.c: OCTAVE- + OCTAVE+ at power-on for the
calibration. console.c: no 'inp' on the SMK. lcd.c: the pad LED buffer in .bss.

Tests: tests/smk_map_test.c (the mapping), tests/smk_keys_test.c (Melodee's keybed
test, unchanged). The FM-1 build is byte-identical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
2026-11-20 20:55:02 +00:00
Claude a46b68c086 SMK-37: the flash map and its guards; the store, OTA staging and loader on it (RAM-only by default)
hal/fm1_flash_map.h (after Melodee's): the SMK's windows (store A 0x9D000-0xBAFFF,
OTA 0xBB000-0xBFFFF, store B USRFLASH 0xC2000-0xE9FFF, store C 0xEB000-0xF3FFF), the
marker sector 0xEA000 (whole-sector erase only), and FL_PROTECTED: the head, BTIF /
USRTRIM 0xC0000-0xC1FFF, USR + 0xFE000, key_mac. The RAM driver (fm1_flash.h) refuses
on FL_GUARD = FL_RANGE_OK && !FL_PROTECTED, also under the loader's own range; on the
FM-1 FL_GUARD is FL_RANGE_OK (byte-identical build).

storage.c: an SMK st_sector table (78 sectors: 38 A/B pairs, the voice bank, the owner
tag 'SMK37DATAJIANT' at 0xAF000), st_owner_check and the stock-mapping marker release
(after Melodee's); storage_hw.c releases the marker before the first write into
USRFLASH. ota.c: staging 0xBB000 / record 0xBFF00 and a board check (-15 not an SMK
flash.bin, -16 region table not the device's, -17 USR place). Loader: app area
[0x4000, 0x9D000) and the OTA area only; the record scan never leaves the OTA area; a
package whose region table is not the device's is refused (-14).

project.c: on the SMK, flash only with FELUCCA_SMK_FLASH=1 and only for JEDEC
0xEB6014 (FL_JEDEC_OK); the default SMK build stays RAM-only.

Tests: tests/smk_flash_test.c (every protected sector / page / byte refused by every
allow-list and the driver net; straddles, wraps; the table; a simulated SMK: first
boot, every object saved and loaded, the marker released once, forbidden erases and
programs refused, protected bytes identical), tests/smk_ldr_test.c, ota_test.c SMK
build; wired into run_tests.sh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
2026-11-20 20:55:01 +00:00
Claude 7950dca52a SMK-37: package layout per board (fm1pkg_make --board smk37) and its host test
fm1pkg_make.py gets REGIONS / BOARDS / MODELS / set_board (after Melodee's): for the
SMK-37, flash.bin is the stock PRCT (0x9D000) and the app area carries the stock v016
region table (VM, PRCT, BTIF, USRTRIM, USRFLASH, USR). The FM-1's table and package
are unchanged. tests/smk_pkg_test.py checks an SMK package (identity, sizes, table,
app.bin, no record look-alike) and, given a stock v016 package, the table's bytes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
2026-11-20 20:55:01 +00:00
JUAN JIANT fb15f6189e [private-preview] Restore only V10.7.23 and v0.9.9 publicly; freeze new public firmware releases 2026-11-18 11:11:04 -03:00
Claude a659154658 [private-preview] Installer: the Bluetooth part checked after the install, written once more when missing; no JIANT through another loader
- After the install's restart the installer asks the FM-1 for its Bluetooth part: INFO's tag 'X' (firmware protocol
  1.3), else VEL op 4's length (protocol 1.2, V10.6z7 .. V10.7.21), else not checked. Missing: Install once more (from
  JIANT its own loader writes the part), asked again; still missing: 'btmissing' with what to do. COPY REPORT has a
  "bluetooth part:" line.
- Update mode with a loader that is not JIANT's (ota-FM-1_900): Install does not resume JIANT through it
  ('foreignLoader': finish Return to official with Resume ticked, then Install); Return to official without the box
  says 'stockNeedResume' instead of sending to Install. tip_stockNeedBackup reworded (es/en/ja).
- tools/patch_installer_downloads.py also brings the published installers fm1diag.js's flows and report and the
  texts' block from this checkout; tests/patch_installer_test.py runs it on pages built from this checkout and from
  e6bf12cd / 1d13ffc0, as built and as the previous tool patched them (idempotent, node --check); the workflow runs
  the test before patching.
- web/test_web.mjs: the simulated FM-1 tells its Bluetooth part (tag or VEL), the new flows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-12 22:29:38 +00:00
Claude 3caf284dbc [private-preview] Recover the published site from the live site when the Pages artifact expired
tools/fetch_live_site.py rebuilds the site every publish starts from when the
previous deploy's github-pages artifact is gone (they expire after one day):
exactly the files of the live site's site-manifest.json, each checked against
its SHA-256, or, while the live site has no manifest, a crawl (the generators'
outputs, versions.json and SHA256SUMS of both channels, every same-site link,
the manual's screens, candidates from scripts and from this checkout). It
stops instead of handing over a partial site: a required or listed file
missing, any answer other than 200/404, a package that does not match
SHA256SUMS, an installer that does not offer what versions.json lists, too
few files. Dry run, manifest and verify commands; tests with a local server.

site-backup.yml keeps a checked copy of the live site as an ordinary artifact
(90 days) and deploys nothing.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-11 22:25:16 +00:00
Claude 7596f87f01 JIANT FM V10 public: stable and beta on V10, no earlier versions, official V16 in both installers
- web/STABLE, PREVIEW, EMULATOR: V10 (add15-beta6 renamed, 4b5f5c6), tested on
  hardware: TIMELINE, V15 -> V16 -> JIANT both ways.
- web/CLASSIC: empty (V10 is the new base).
- The installer shows "V10" (no commit suffix), writes JIANT over official
  V16 and takes V16 for Return to official on both channels; a JIANT of V10
  or later is known to take V16.
- The emulator's label and its browser test follow V10.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-30 21:05:46 +00:00
Claude 8e4870e84d Withdraw the SAMPLE edition: par13b out of the installer, the editor's sample bank and the emulator's sample kits removed; engine 13 is ADD again in the editor (add15); README to the current editions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-30 12:59:02 +00:00
Claude 5f46308890 installer: three choices, the stable par12 the default again (Codex had made ADD par10 the public default): the beta installer offers only web/PREVIEW (ADDITIVE add15-beta2: the USB name "FM-1"), no extra beta editions; SAMPLE par13b and ADD par10 in the earlier versions (web/CLASSIC), web/PUBLIC_SAMPLE and its reordering gone; the ADD-primary notice gone; the emulator on add15-beta2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-30 09:49:42 +00:00
JUAN JIANT 61a132e3ea fix(releases): quarantine par14 hardware packages and make ADD the primary edition 2026-10-28 17:24:29 -03:00
juanjiant-bit 0c78edf7d3 style(web): bring the JIANT landing identity to installer and editor 2026-10-27 08:55:32 -03:00
Claude 6cb5ffe3d1 Merge commit 'b6b5bfd' into steps-v2
# Conflicts:
#	docs/navigation-map.es.png
#	docs/navigation-map.es.svg
#	docs/navigation-map.png
#	docs/navigation-map.svg
#	web/manual/data.js
2026-10-20 04:27:12 +00:00
Claude b6b5bfdd44 0.9.18 MENU: CPU CORES beside CPU CLOCK, BPM LOCK on AUDIO, a LEDS page; the footer says a page once
The open items of the MENU's review, decided:
- SYSTEM > SYSTEM: RESTORE LAST, CPU CORES, CPU CLOCK (what a power-on does, all from the next start), ABOUT;
  CALIBRATION to SYSTEM > CONTROLS (the controls it teaches; KNOB 4). The crash message: MENU > SYSTEM > CORES.
- BPM LOCK leaves CLICK for AUDIO (SPEAKER EQ, TRACKS, LOAD, BPM LOCK); CLICK keeps the metronome's three.
- With that, eight pages cannot hold the 29 rows (CLICK was the only home left for a fourth card), so SCREEN gets a
  third page, LEDS: LED GLOW and SCALE LEDS together; SCREEN 2 is SCOPE, ANIMATION, SCREEN SLEEP. Nine pages, every
  one of up to four knobs and opening on a value (never on an action).
- The footer does not repeat a page named as its tab: MENU . SCREEN, MENU . SCREEN 2, MENU . AUDIO, MENU . SYSTEM;
  MENU . AUDIO . CLICK, MENU . SCREEN . LEDS, MENU . SYSTEM . CONTROLS as before. n/9.
- Card labels: CALIB, CPU MHZ, USB AUD; no two alike on a page (tests/ui_test.c checks it); no card mark in the MENU
  (the two LEVEL cards had the level icon, no other setting a mark).
- Nothing stored changes (ids, values, defaults); the editor's tabs: SCALE LEDS SCREEN, CPU CORES SYSTEM.
- tests: ui_test (pages, crumbs, labels, knobs), editor_test, cpu_safe_test; ui_render MENU > SCREEN 2 scene
  (menu_screen2). README, MANUAL EN / ES, EDITOR_PROTOCOL, the web manual and its shots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 04:26:09 +00:00
Claude 916449a9bb 0.9.18 MENU: an armed action is let go when the MENU closes; the nav map's version; NEW PROJECT in the manuals
- Reopening the MENU no longer finds LEARN CLEAR / CALIBRATION / ABOUT still armed (OCT+ right after
  opening could clear every learned CC): the page opens on its first setting (tests/ui_test.c).
- docs/navigation-map*: regenerated for v0.9.18 (gen_nav_map --check failed the suite).
- MANUAL EN / ES: the hints start over with SAVE > TOOLS > NEW PROJECT (was INIT SYSTEM, a name gone).
- menu_items.c: HOLD_N's comment (the menu uses it now).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 03:59:49 +00:00
Claude 5f2a6a6adc Merge remote-tracking branch 'origin/wip/settings-ui' into steps-v2
# Conflicts:
#	README.md
#	docs/navigation-map.es.png
#	docs/navigation-map.png
#	web/manual/data.js
#	web/manual/nav.js
#	web/manual/shots/v6_analog_sqr.png
#	web/manual/shots/v6_lofi_float.png
#	web/manual/shots/vx_bird.png
2026-10-20 03:23:37 +00:00
Claude 39dd342b9c Merge remote-tracking branch 'origin/wip/lfo-mode' into steps-v2
# Conflicts:
#	README.md
#	web/manual/shots/v6_analog_sqr.png
2026-10-20 03:23:12 +00:00
Claude 26cc5bd94e LFO MODE TRIG / FREE: FREE never restarts the phase or the FADE; MODE on the LFO page, PHASE on LFO 2
The owner: "the LFO has no TRIGGER/FREE option... it always retriggers." FREE (PHASE -1) kept its phase but
trk_note_on reset lfo_fade on every fresh phrase, so with FADE up a FREE LFO faded in again on each note (FADE 0:
one control block at zero, track_render and the MOD matrix reading it before the tick). Now a fresh phrase restarts
phase and fade only in TRIG; FREE fades once, from a project load (not a song's next section nor UNDO) or MODE
turned to FREE (lfo_fade_restart).

MODE is a view of P_LPHASE (-1 FREE, as since 0.6.51): no format change, every project and preset as before. LFO =
RATE WAVE MODE FADE; LFO 2 (new, in the LFO chain) = PHASE, dimmed in FREE (TRIG's phase kept in RAM for TRIG
again). The caption says the mode. LFO dice: FREE 50/50 (was 2/3), TRIG at 0..127. Web editor: MODE + PHASE rows.
Tests (ui_test test_lfo_free): FREE over notes apart, legato, POLY MONO LEGATO, sequenced, DRUM-X hits, FADE 0 and
100; TRIG as before; in time on the grid at every note; the pages; project load / section; the dice. README
0.9.18, EN/ES manuals, the map and the manual's screens regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 03:22:38 +00:00
Claude 7419cd9328 SEQ > COMP: a RATCH's RATE shows the spacing it plays (spread over 4 steps / a kit's 2): DIV 4 at 1/16 reads 1/16, was 1/64
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 03:11:10 +00:00
Claude 09020760ad SEQ > COMP: an ARP's RATE shows what it plays (1/32 read as 1/4, 1/16 as 1/8); the label checked
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 03:08:09 +00:00
Claude cd6b00b728 SEQ: the BAR page gone (owner: redundant); STEP's KNOB 1 with KNOB ACCEL on long patterns
Page 6 of the SEQ chain (PATTERN STRETCH PLAYHEADS TRACK MUTATE BAR STEP ..., the device's n/N) was SEQ > BAR: KNOB 1
the bar, KNOB 2 LEN (PATTERN's). Out of PAGES and CE_SEQ; the BAR group holds STEP and NOTE; SEQ's default entry STEP
(nav index 5). The bar: the roll's cursor / strip and STEP's KNOB 1 over all the steps, now accelerated (accel(), KNOB
ACCEL, up to x4 on 64 steps) on every cursor knob. Flash -384 B (566944 -> 566560).
Tests: ui_test's chain of 11 (6/11), the tools on PATTERN, the task race (bar 3: 13 actions, KNOB 1 turned fast, was
5 by BAR; REC Q 3, was 4: 80 in all, was 73); ui_render's seq_bar scenes gone; gen_manual / README hero map.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 03:05:26 +00:00
Claude e42d3ba231 MENU as the system's pages: eight 4-knob pages in five tabs (SCREEN AUDIO MIDI USB SYSTEM)
The settings menu followed none of the rules the rest of JIANT has had since 0.9.2:
one long list, SELECT walked rows, any knob changed the selected row, the footer
counted rows (n/30), the tabs were abbreviations (DISP CTRL SYS), card labels
too (SPK EQ, USB LVL, CLICK LV, CALIBR, INIT SYS...), values ignored the heat
colours, HUD lost the values row entirely (the panel drew over it), and toasts
never timed out inside the menu.

Now (menu_items.c MPAGE, ui_menu.c):
- SCREEN: COLOR SKIN STYLE LARGE | SCOPE ANIMATION LED GLOW SCREEN SLEEP
- AUDIO: SPEAKER EQ TRACKS LOAD CPU CORES | CLICK CLICK LEVEL COUNT-IN BPM LOCK
- MIDI: MIDI OUT LEARN LEARN CLEAR;  USB: USB AUDIO USB LEVEL
- SYSTEM: HOLD TIME KNOB SPEEDUP FX LATCH SCALE LEDS | RESTORE LAST CPU CLOCK
  CALIBRATION ABOUT
SELECT walks the pages, ALGORITHM the tabs, KNOB n the page's setting n, OCT+/-
the setting turned last; actions are cards armed by their knob, OCT+ does them.
The panel lists the page's four with the knob number, full name, value in its
heat colour and one plain line on what it does. Footer MENU . TAB . page n/8.
Toast pill and message timers in the menu. Geometry from graph_y()/graph_h(),
so HUD keeps its values row at the foot.

Stored values and their meanings unchanged (no format change). Names: ANIM ->
ANIMATION, LEDS -> LED GLOW (OFF LOW HIGH INVERT), SCREEN OFF -> SCREEN SLEEP,
HOLD -> HOLD TIME, KNOB ACCEL -> KNOB SPEEDUP, USB -> USB AUDIO, CPU -> CPU
CORES. INIT SYSTEM left the menu (SAVE > TOOLS > NEW PROJECT is the same).
The editor gets the new tabs through MENU_DESC (ids unchanged).
ui_render: PRESETS TYPE and MENU > MIDI scenes drew a stray toast page; fixed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 02:40:56 +00:00
Claude 4d39a283e5 SEQ > COMP: the step the component goes on framed on the roll / grid, live; the steps with that component marked
Owner: adding a component and setting its step, the step was not shown (a kit's grid framed one cell only).
seq_overlay: the cursor step's column framed THEME with a tab at its foot (KNOB 1, at once), the steps with the
component edited a 3 px ACCENT bar on top (a flags RATCH = ECHO), another component a 1 px MID one, a JUMP's
step framed ACCENT (KNOB 3). ui_render scenes comp_sel, comp_sel_drum, comp_jump (every skin and palette: lint
and alignment clean); ratchet_test comp_marks reads the pixels (fails without the change).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 02:37:05 +00:00
Claude 615490a380 Merge origin/main (v0.9.17) into steps-v2
Conflicts: seq.c, ui_draw.c, ui_input.c and ratchet_test.c keep 0.9.18's RATCH / ARP (spill, step_rat, ARP at its
RATE over the steps, no C.LEN lane) over 0.9.17's ARP lap / RATE code they replace; ui_graph.c takes seq-ui's one
roll for every SEQ page (graph_bigstep gone with it); web/manual generated files kept, regenerated next.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 02:01:41 +00:00
Claude d0783c4999 0.9.18: rolls-bug and dice-variety merged; LM_ONCE, a lane's own xN and POLY overdubs left out of RATCH's spill; GEN's drum rolls per lane
- seq_step: the step's repeats (spill_start) skip a lane recorded once (LM_ONCE), a lane with its own x2/x4/x8 (the
  lane's mode wins: no repeats of repeats) and a POLY note recorded into a step that repeats (its lm slot LM_ONCE,
  rec_note_at); the step's first hit plays them all
- gen.c: the hat rolls, FL_ROLL and FL_HAT as the lanes' x2 / x4 (glane_rat), not the step's RATCH; synth ratchets kept
- tests: rolls-bug's ONCE windows over a kit's two-step spill; a POLY overdub once; lane x4 + step x2; GEN no kit RATCH

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 01:29:01 +00:00
Claude 1fcbc527ff Merge commit 'c3db1e9' into steps-v2 2026-10-20 01:20:40 +00:00
Claude fa4c488688 Merge commit 'dcbbbab' into steps-v2 2026-10-20 01:20:35 +00:00
Claude 0f5e8345a0 0.9.18: LIVE RATCH stays in its step; proj_steps callers; motion lock check for spill; manual map regenerated
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 01:20:09 +00:00
Claude 6cb1a8bb29 Merge audio-glitch 584ff68 (footer names the held effect; fx CPU baselines, perf budgets) into voice-theme for 0.9.17
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 01:19:19 +00:00
Claude 584ff68922 FX layer: K1-4 names the held glitcher; fx/* CPU baselines, the FX target budgets tightened
While GLITCH / TAPE STOP / SHUFFLE / FREEZE is held, the footer's K1-4 hint names
it (its knobs), not MACROS. cpu_baseline_vg: the nine fx/* sections recorded.
target_budget: perf_begin 28 -> 11, perf_mute 21 -> 18, perf_block 522 -> 93 (the
glitcher out of the block loop); the other lines untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 01:18:46 +00:00
Claude fb8bdbdc69 Merge audio-glitch (the glitcher: GLITCH 2, TAPE STOP + SCRATCH, SHUFFLE, FREEZE; one filter) into voice-theme for 0.9.17
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 01:18:13 +00:00
Claude d72b6f7ab2 FX layer: the glitcher's knob table compacted; its screens rendered, the map test on FREEZE / SHUFFLE keys
GX_D (16 full param descriptors, 320 B) becomes GX_K (label, range, format, a names
index) with gx_desc() building the descriptor on draw: image -128 B. ui_render:
perform_glitch / _scratch / _shuffle / _freeze (the key down: its knobs on MAP and
KNOBS; TAPE stopped: SCRATCH TURN). ui_test: the reset clears the glitcher's state;
the map LEDs check FREEZE (G#4) and SHUFFLE (C#5) breathe, A#4 the spare.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 00:48:39 +00:00
Claude 60b1172032 Merge seq-ui (one piano roll across the SEQ pages, BOTTOM retired) into voice-theme for 0.9.17
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 00:44:17 +00:00
Claude 08f352b22c SEQ: every page the same piano roll, the values on top; BOTTOM retired (0.9.17 item)
All twelve SEQ pages draw one picture: the bars' strip and the cursor bar's
roll (graph_roll; a kit graph_grid), with each page's marks over it
(seq_overlay): PATTERN gate lengths and swing offsets, TRACK the PITCH
ghosts, PLAYHEADS the extra heads as lines, COMP / COMP 2 component bars,
AUTOMATION / AUTO LIST record marks (the row picked framed), MUTATE a
next-mutation chip. Gone: PATTERN's big bars and "PLAYHEADS" roll, the step
drawn large, the PLAYHEADS lanes, MUTATE's and AUTO LIST's panels.

SKIN BOTTOM retired: the menu steps AIR COLORS HUD; a stored 1 reads as AIR
(settings import, style_apply); HUD's SEQ pages take AIR's knob row on top
(lz_top). Tests, renders, manuals, README, manual shots, cheat sheet and hero
updated. Image 571344 -> 567116 B (-4228 B).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 00:42:38 +00:00
Claude dbb74f8967 Merge rolls-bug (a live hit into a RATCH / ECHO step plays once: LM_ONCE) into voice-theme for 0.9.17
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 00:41:51 +00:00
Claude ed9b3da268 Merge cloud-size (CLOUD SIZE 127: the freeze fills first after a clear; overlap limit) into voice-theme for 0.9.17
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 00:41:47 +00:00
Claude 4ad415c23c WIP 0.9.18: RATCH/ARP spill over steps, OCT as CLIMB, TOUCH as lane modes; tests updated
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 00:41:32 +00:00
Claude dcbbbabf31 DRUM-X: a hit recorded live into a RATCH / ECHO step plays once (Danil's "random rolls")
Finger drumming at OCT 0 with REC armed over a beat whose steps carry a step RATCH x2..x4 or an
ECHO (DICE and GEN write them on random hat steps, fills): rec_drum put the key's hit into the step
and the step's remaining repeat parts (seq_ratchet -> seq_step SEQ_REP re-reads the step) struck it
again at once, so one press sounded x2..x4, and every pass after played it as that roll. Independent
of OCT and present in 0.9.14 too (the code is unchanged since 0.8.5); nothing in the 0.9.15 diff
(scan build flags, FX layer) touches the live key path, and host simulations of fast / overlapping /
short taps at OCT 0 give exactly one hit per press on both versions.

Fix: the free lane-mode code 7 becomes LM_ONCE. A plain hit recorded on a lane the step did not
play, into a step that repeats, gets LM_ONCE; seq_step leaves LM_ONCE lanes out of the repeat
parts. The step's own hits still roll; a lane already in the step rolls with it as before; a step
without repeats records exactly as before (no mode). step_lmode reads 7 as none (so do older
firmwares: there the hit rolls with the step, as it always did); FUNC keeps it.

Test: drumx_oct_test ONCE: early and late presses into RATCH x2/x3/x4 steps (once live, once on
the next pass, the hats still xN), again on the same step, a hat into its own step, ECHO, a plain
step, FUNC round trip. Fails without the fix. Flash +176 B (44 B free).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-19 21:26:43 +00:00
Claude 10533c2978 FX layer: the GLITCHER (GLITCH 2, TAPE STOP + SCRATCH, SHUFFLE, FREEZE), one filter (the FILTER sweep gone)
GLITCH gets DENS / PITCH / SIZE / VARI while its key is down (repeats rising or
falling by PITCH, SKIP and CRUSH slices); TAPE STOP gets TIME / CURVE and, stopped,
KNOB 1 scratches the kept loop; SHUFFLE (C#5) plays the last bar's 1/16s in
another order from a 4-bit ADPCM ring in the same 32 KB; FREEZE (G#4) holds the
eighth after the press as grains. The FILTER sweep is gone (the FILTER macro is the
layer's one filter); SHUFFLE takes its key and lane code. Tests: perform_test
section 11, cpu_vg fx/* sections.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-19 21:25:53 +00:00
Claude 688d873174 CLOUD at SIZE max: a cleared line no longer freezes silent; the grains' overlap cap without its 12 dB drop
The tester (0.9.15): "CLOUD does not work at SIZE 100 %, it seems disabled".
- SIZE 127 is FREEZE (the line stops being written). Since 0.9.14's fx_rest the
  line is cleared in any pause, so turning SIZE to max and then playing froze an
  empty line: silence at any RATE (also true in 0.9.13 from a fresh start). Now a
  cleared line first takes a line's worth of sound (~0.74 s, fx.cl_fill), then
  holds; a line already filled freezes at once, as before.
- 0.9.14's overlap cap scaled the grains by (gl >> 2) x CL_WMAX / ws: past 2 grains
  (RATE ~90 up) they fell 12 dB at once. Now gl x CL_WMAX / ws with the cap at 1.25
  grains, so ROOM's allpasses under it still do not clamp at ROOM_CLEAN's send:
  RATE 127 within ~5 dB of RATE 0 (was ~14 dB under), no runaway.
cloud_hot_test: SIZE 127 from a cleared line at RATE 0..127 sounds (within 6 dB of
126) and holds after the send; RATE 127 within 8 dB of RATE 0 (fails on main).
Golden renders unchanged; flash +48 B.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-19 21:23:19 +00:00
Claude 6f63989e01 0.9.17: dice-variety's tags (was 0.9.18); the DRUM-X octaves' test line
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-19 21:14:53 +00:00
Claude 58496bce3e Merge dice-variety (GEN/DICE variety, SEQ+SELECT on GEN's generator, sounds, longer leads) into voice-theme for 0.9.17
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-19 21:13:05 +00:00
Claude 20c75cc379 0.9.17: ARP NOTES and SCALE back as before; only ARP SEQ walks a note a lap (LAP on its KNOB 4)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-19 21:12:56 +00:00
Claude c3db1e9215 tests/run_tests.sh: GEN's line names the dice's checks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-19 20:58:38 +00:00