Commit Graph
390 Commits
Author SHA1 Message Date
Claude bd32939372 Merge GLO > PADS (codex/pads 957bcd49) into the WAVE line; V10.8.85 candidate
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-12-05 03:11:14 +00:00
Claude 957bcd499b GLO > PADS, etapa 1: PLAY, MUTE y RESET
Las teclas como pads, una por pista (blancas 1-6 = T1-T6), en la primera
página de GLO, donde estaba LIVE. GLO sigue abriendo en el MIXER.

- KNOB 1 MODE PLAY / MUTE / RESET, 2 START RESTART / RESUME,
  3 QUANT OFF / 1/16 / 1/4, 4 LATCH OFF / ON. Globales, solo en RAM.
- PLAY parado: la pista del pad mantenido toca su secuencia al tempo
  interno (seq_pads.c), cada una con su cabezal, sobre un reloj propio
  de los pads; al soltar, seq_release (sin notas colgadas).
- PLAY andando: todas las pistas vivas calladas menos las de los pads
  mantenidos. MUTE: mantenido mutea. Los mutes son los de la capa FX
  (perf_solo): nunca P_MUTE, nada se guarda.
- RESET (o negra 1 + pad): la pista al paso 1, cuantizado. Negra 2 +
  pad: MUTE mientras está apretado. Negras 3 y 4: nada todavía.
- Salir de la página suelta todo y deja los mutes como estaban.
- Audio: una sola prueba de pads_fp en events_block; sin usar la
  página, el render es idéntico. Globales nuevos en .bss.pads y tablas
  en .rodata.n.pads (el código y las tablas del sonido no se mueven).
- tests/pads_test.c (en voice-user-check), ui_test actualizado (GLO:
  PADS, MIXER, ... 7 páginas), MANUAL.md y MANUAL.es.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-12-05 03:10:03 +00:00
Claude 1829d53172 WAVE 1.7: user wavetables U1..U6 (BYTE's protocol, 101..106), flash 0xD0000..0xD7FFF
The owner's option 1: six table sectors 0xD0000..0xD5FFF and an A/B directory 0xD6000 / 0xD7000
(storage.c OBJ_WTDIR, its commit record last). WT_LIST, WT_BEGIN, WT_DATA, WT_END, WT_OP, WT_GET as
JIANT BYTE's protocol 1.7 (src/editor_wt.c, the app slot): nslot 6, nsec 6; INFO 'T' 54 02 06 20,
'C' 1.7. The .jwt v1 record checked end to end (its CRC, the header's own, BYTE's reader's
refusals; FM: one sector, 32 frames of 8 bits); a table is its slot's only once the directory
commits; all six full: the slot's own sector, a cut then lists it damaged; every table checked at
power-on. Staging: the main loop's proj_wire_u (no new RAM; a few bytes in .pool).

WAVE plays an 8-bit table: the main loop builds its eight frames into the part's line as BYTE's
wt_user_frame (LUT LINEAR / MULAW mu 7, the gains, frame k at POS k x 127 / 7), rounded to int8;
the part silent meanwhile. U7 / U8 gone from A and B: a stored 22 / 23, an empty, damaged or 16-bit
slot plays SINE.

The pinned layout unchanged (the reply builder uses ed_n alone: GlobalMerge keeps it out of the
merged globals; editor_wt.c's tables late). Flash 14920 B free, RAM / RAM code as before, pool spare
8224 B. tests/wt_store_test.c (in voice-user-check): upload, read back, the frames bit for bit
against the spec's code, CRC failures, a power cut at each flash operation, in place, OP, stale.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-12-05 01:12:32 +00:00
Claude 161b8cae5f WAVE: a wavetable engine on engine 9 (PHYS's retired slot), JIANT BYTE's 16 tables
WAVE (engine 9, after ADD in ENGINE_ORDER, last in the PROGRAM CHANGE order): two tables A and B
of JIANT BYTE's 16 wave formulas (tools/gen_wave_tables.c/.py; firmware/src/wave_tables.h, 8186 B
Rice-coded int8, BYTE main 94f8ac9), POS over eight frames, WARP OFF SYNC BEND MIRROR QUANT FM with
AMT, MIX, DETUNE, SUB; U1..U8 named for user tables (empty: SINE). The frames decode into the part's
comb line (no new RAM; wv state in .pool), checked each block by a content signature (STRING / the
COMB's clear: decoded again, the part faded in). 26 presets.

Old data: a user preset of before (version < 4) or a project of phys < 4 with engine 9 is PHYS's and
plays as ANALOG / is refused as before; projects with a WAVE track are written phys 4. Favourites:
WAVE's in TRIO's retired row (bytes 0..3, cleared once: prefs revision 7).

No sound of another engine changes (golden: 26 added, 0 changed); the pinned audio layout unchanged
(eng_wave.c's tables and literals late, build.py); flash 19492 B free, RAM, RAM code and seg2 as
before, pool spare 8288 B. Tests: tests/wave_test.c (in voice-user-check), NRPN map regenerated,
ui_test's engine lists, ui_test's settings round trip zeroes its records (the stack's bold field).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-12-05 00:29:17 +00:00
Claude c4e04dd749 The second code segment (flash 0xC8000..0xCFFFF), ported from JIANT BYTE (e807224d): 31.8 KB out of the app slot
FM's reserve 0xC8000..0xD7FFF (storage.c FL_SAMPLES, written by nothing) now holds, in its first half, cold main-loop
code run in place through the plain XIP window as the Bluetooth segment is. 0xD0000.. stays reserved; JAM's takes at
0xDA000 / 0xDB000 untouched.

- Build: app.ld C2SEG (XIP 0x020C4000), section .c2 (c2_head first, then .c2.text / .c2.rodata); core.h C2_FN / C2_IN /
  C2_RO; src/seg2.c (header, c2_want, c2_seg_ok). tools/build.py writes build/c2.bin (JBC2, length, CRC-32) and patches
  c2_want as bt_want; c2_check: nothing an interrupt, core 1 or RAM code reaches is in it, every call in from the slot
  comes from a hand-checked gate (C2_GATES), no segment address stored as data.
- Moved: the editor protocol's commands and pushes (ed_command, ed_sync, their helpers, FM's ed_fm6_handle; INFO, the
  backup and the project library stay in the slot), GEN's generators (gen_make, gen_parts, gen_pitched, gcpu_fit,
  gen_sound, gen_kit, gen_mix, gl_write, gsong, gplan, grich, gls_prep, gen_arp, trackgen_run ...). FM differs from
  BYTE: gen_make / gen_parts are slot code here (BYTE: Bluetooth segment), so they moved too, gen_go a gate;
  gen_evolve and gx_comps stay in the slot (gen_post calls them); gen_rs_apply was already in the Bluetooth segment;
  no dice_seq. Slot: 583660 -> 551828 B (676 -> 32508 B free). Segment: 31660 of 32768 B (1108 B free).
- Sound: every pinned / recorded audio function and table at its address (layout unchanged, no repin); audio flash
  code identical but for immediates; RAM code +36 B (the flash driver's range check, FL_RANGE_OK). The merged
  constants' floor (build/layout_cst.ld) is the first pool's start as laid out (FM's pools have UI constants before
  the sound's first). seq_steps always inline (no out-of-line copy for the segment's calls).
- Runtime: bt_hw_seg() checks both segments once at power-on; missing / torn / another build's: FLASH PART MISSING /
  REINSTALL at power-on and on GEN; the editor answers INFO ('X' 2), the backup and the project library only.
- Package / loader: fourth UFW entry c2.bin (type 201), checked before anything is erased, all of [0xC8000, 0xD0000)
  written (0xFF past the code), never 0xD0000 and up. FL_STORE_OK / FL_RANGE_OK leave the segment out (static asserts).
- Tests: ldr_test (c2 written, rest erased, damaged c2 refused, 0xD0000.. untouched), editor_test (segments missing),
  storage map assert, layout packing test. Manuals and EDITOR_PROTOCOL: FLASH PART MISSING.

Needs a hardware test on the FM-1 before any release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-12-04 22:33:34 +00:00
Claude 064db1b7b1 Merge step-ramp (7c15b0bb): RAMP as a MOD source
ui.c comp_vname: step-ramp's (its packed ORD DEC FR GRID_HIT and one copy of the labels; byte-morph's HIT -> GRID_HIT
taken over by it). tools/audio_layout.txt, audio_map.txt: step-ramp's (re-recorded in the next commit).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-12-01 20:19:08 +00:00
Claude 9737feb7cb MATH BYTE MORPH (prototype): ALGO B and MORPH on MATH's MORE page, a crossfade of the two formulas
The owner: "Math ya tiene morph entre fórmulas de float, sería ideal si no está, hacerlo también
en byte." BYTE (and WAVE SYNC) now morph as FLOAT does (V10.7.69): MORPH 0 ALGO A alone, bit for
bit as before; 127 ALGO B alone, as ALGO = B (its own start, BYTE_T0); between, both formulas on
the same t (TIME, LOOP, VAR, BEND, MOTION apply to both; B from its own start: B's BYTE_T0 less
A's added to its t) and their bytes crossfaded. USER as ALGO A morphs as its bytecode's formula.

Where: MORE's KNOB 3 ALGO B (core.h P_MALGB, WHEEL's ROTOR DEPTH slot: 0 .. 127 over B01 .. B48,
a detent each; 127, B48, on every track) and KNOB 4 MORPH (P_MMRPH = EDIT > MORPH's slot, 0 on
every MATH track, its page never shown on BYTE or FLOAT since V10.6e; NRPN 71 and AUTO records
reach it). FLOAT's MORE shows the two knobs empty (its own stay on EDIT). lofi_bsel decides once
a block (the formula, its start; between the ends A B MORPH and the starts packed into f), and
lofi_byte_render calls lofi_byte or lofi_bmorph through a pointer chosen there: no test a sample.

Flash: +236 B (lofi_bsel 110, lofi_bmorph 46, render +12, track_desc +52, ALGO B's descriptor 16),
room 304 B: trk_slot(), one copy of (t - trk) % NTRK for 14 UI sites (-268 net), MORPH_DESC =
FLOAT's identical MORPH descriptor, comp_vname's HIT = GRID_HIT's last three, SPLIT's labels
packed, vx_rnd = dsp.c noise32. Image 584284 B of 584336 (52 B free; was 0), BT 73660 (-32),
RAM .data+.bss 98120 (unchanged). audio.c untouched; tools/audio_layout.txt recorded again
(FELUCCA_REPIN=keep); a plain build passes; target budget lofi_byte_render 213 in loops (was 210).

CPU (tests/cpu_lines_test.py, mean / worst %, the busier core): 101 .. 108 the same %, the same
instructions; 0c 65/69 -> 66/69 (lines); 0d MORPH 0 core 1 51/52 -> 52/53 (+0.4 % instructions:
the call through the pointer), MORPH 50 % 55/56 (+8.5 %), MORPH 127 51/52; 0e 82/85 -> 82/86,
USER at 50 % 83/86. CL_BMORPH=<0..127> sets 0d / 0e's BYTE MORPH (toward B08).

Tests: math_morph_test extended (MORPH 0 = b983fbb3's hashes with VAR BEND LOOP, ALGO 150, SYNC;
127 = ALGO B alone; 1 and 64 neither; lofi_bsel's packing; USER; a factory sound MORPH 0; the
knobs on BYTE's MORE, none on FLOAT's; a track of zeros plays A). docs/NRPN.md, web/NRPN.md: 78
ALGO B on MATH. Every suite of voice-user-check.yml's check job run locally: all ok; regress 219
golden renders, 0 changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-12-01 20:02:09 +00:00
Claude 7c15b0bb1f V10.8.78: RAMP as a MOD source (the owner: "poner RAMP como modificador en la mod matrix"): a step's RAMP without a lock drives the matrix's new source RAMP (26, appended), 0 -> 1 along its CURVE over its LENGTH (FROM OPP 1 -> 0; END BACK / HOLD / PING), to any DEST by its AMT; a RAMP with a lock glides it as before (old projects the same: a lockless RAMP never cuts a lock's glide); SEQ > COMP no NO LOCK, placed without one LOCK A PARAM OR MOD>RAMP; MOD's banner STEP RAMP; flash from comp_vname's labels / values / units one copy each and packed name tables (FR ORD DEC GRID_HIT MD H); tests/ramp_test: the FM-1's way to a lock end to end, RAMP on MOD; layout re-recorded (REPIN=keep: kx_src)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-12-01 19:37:56 +00:00
Claude d9a4bba9ca MATH TIME (prototype): KEY / LOCK / TEMPO on MATH's MORE page by RESTART; LOCK the default
The owner: "que las fórmulas no cambien su time con las notas ... por defecto debería
estar así". MATH's t is already two clocks (MOTION's): the note's low 8 bits (the wave,
its pitch) and the slow bits above (the rhythm, the phrase). TIME picks the slow clock's
pace:
- KEY   the note's (as before: a key up, the formula faster). Every project and user
        preset of before reads KEY (its slot held 0), so they sound as they did.
- LOCK  C4's whatever the key: every key the same rhythm, transposed. At C4 KEY and LOCK
        are the same, bit for bit (the MOTION 64 shortcut kept where the paces are one).
        A factory preset load (ui.c apply_preset_to) sets it: the new default.
- TEMPO the song's clock (MOTION's own SYNC, 128 .. 255: t >> 13 a beat at MOTION 64),
        BYTE and FLOAT. WAVE SYNC (V10.8.62) stays as it was.
RESTART (KNOB 1) unchanged, combinable with any.

Where: core.h P_MTIME, in DRUM's IMAGE / VOICE's LYRIC slot (DIGITAL's OP3 REL: 0 on
every MATH track before it; a user preset and a project store it as any slot). MORE's
KNOB 2 (params.c PAGES, track_desc). lofi_render decides the slow clock once a block and
hands the renders its step in m->inc (0: the song's clock), so lofi_byte_render and
lofi_float_render each lose their own MOTION / WAVE SYNC tests (-4 B each).

Flash: TIME +108 B (code +76: lofi_render +68, apply_preset_to +12, track_desc +4, renders -8;
the descriptor and its names ~32), room 56 B: N_CHIP N_RWAVE N_MTIME packed into core.h (-24),
PNE (were tables of pointers), N_DIV = N_DTIME's first ten names (-32; PEN; enum_order tells
them apart by max; ui.c rate_name by str_nth; tests by N_DIV_N / desc_nm). Image 584336 B
of 584336 (0 B free; was 52). BT 73692 (unchanged), RAM .data+.bss 98120 (unchanged).
audio.c untouched; tools/audio_layout.txt recorded again (FELUCCA_REPIN=keep); a plain
build passes.

CPU (tests/cpu_lines_test.py, mean / worst %, the busier core): 101..108 and 0c the same
or 1 lower; 0d core 0 67 -> 68 / 71 -> 71 (+0.2 % instructions), 0e 82 / 85 unchanged;
0d / 0e with TIME KEY forced: the same as LOCK.

Tests: regress 219 golden renders, 0 changed (V23's intact); math_timelock_test rewritten
through lofi_render: WAVE SYNC as before, KEY faster up the octave, LOCK and TEMPO the
same slow time at C4 and C5 (BYTE, FLOAT), LOCK == KEY at C4, TEMPO follows the BPM, a
preset loads LOCK, a kit's IMAGE still 0; gen_test, fit_test, ui_test, app contract
(docs/NRPN.md, web/NRPN.md: 74 TIME on MATH) pass. The suite's other failures are the
same on 32099fee.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-30 19:06:21 +00:00
Claude 32099fee4f V10.8.76: SEQ says PRESETS moves the 16-step window (LEN over 16, the first three entries a power-on)
Juan: "Podría haber un cartelito nomás cuando ponés SEQ que diga move steps
with preset knob o algo así". A user didn't find steps 17 .. 64: the grid
shows 16 at a time and PRESETS moves it, which nothing said.

The tip (ui.c page_entered):
- On entering a SEQ page that shows the 16-step window (ui_graph.c
  seq_roll_view: STEP's roll, the DRUM grid, every SEQ page with the roll;
  not SONG or EUCLID) when the selected track's LEN is over 16, a toast
  (ui_say, the pill on a lens page, the header too):
    PRESETS: STEPS 17-32 OF 64
  the window shown (ui.bank) and LEN; a last window short: STEPS 33-40 OF 40.
- Not at LEN 16 or less. The first three such entries a power-on
  (seq_tip_n, one byte in .pool, zeroed at boot: no .data / .bss).
- As PRESETS moves, its own toast as before, unchanged: "BAR 2/4  STEP 17"
  (the window's bar each detent); the bar chips under the cards light the
  bar shown and SEQ's card says 21/64. So the range is on screen whenever
  the window moves; nothing added there.
- Nothing removed.

Manual (MANUAL.md, MANUAL.es.md): PRESETS' row in the controls table still
said SEQ's pages load patterns (PHRASES; gone since 0.9.9-seq2i). Now: the
step, a whole bar fast, the grid following, so PRESETS is how one reaches
steps 17 .. 64; the tip.

Flash: page_entered 224 -> 352 B (the formatting by hand, no str_cat:
-20 B against the first try), the strings 21 B.
Image 52 B free (584284 of 584336; V10.8.75 204), BT 36 B free (73692 of
73728, unchanged), RAM .data+.bss 184 B free (98120 of 98304, unchanged),
pool spare 8224 B, RAM code 40384 of 42496 B. audio.c is V23's; the sound's
layout unchanged (tools/audio_layout.txt as recorded; a plain build
passes); tools/audio_map.txt: page_entered's line.

CPU (tests/cpu_lines_test.py), each scene's worst block, core 0/core 1,
V10.8.75 -> V10.8.76 (both measured now): identical, lines and instructions
  101 79/44   102 62/28   103 85/14   104 51/14   105 66/41   106 52/36
  107 63/11   108 51/29   0c  69/58   0d  71/52   0e  85/61

Tests:
- ui_test test_seq_tip (new): LEN 16 nothing; LEN 64 on STEP "PRESETS:
  STEPS 1-16 OF 64"; PRESETS fast to bar 2 "BAR 2/4  STEP 17"; LEN 40
  entered on bar 2 "17-32 OF 40"; EUCLID nothing; the DRUM grid on its last
  bar "33-40 OF 40"; the fourth entry nothing. ui_power_on sets the tip as
  said (3), so every other check and render runs as before.
- ui_render: toast_seq_tip, toast_seq_tip_drum (the roll and the DRUM grid,
  LEN 64, bar 2): the pill 166 px, clear of the page's words, no lint
  finding; the header's copy ellipsised, as every lens toast's long ones.
  (ui_render's own run stops at JIANT/env_stage, go_title "STAGE", exit 2,
  as at V10.8.75: those two scenes rendered by a driver.)
- The local workflow: steps 2 .. 29 pass, the emulator job included (emsdk
  6.0.11: native-check, gen-web, resound-web, emu_test bit for bit); the
  full UI: all passed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-30 15:06:14 +00:00
Claude 56e57cc5d4 V10.8.75: MATH USER, a formula of one's own on a MATH track (JIANT BYTE's formula machine); ALGO 128 .. 191 saved; the stop-side click
Juan: "Lo implementaría solo en math" (formulas of his own, not only the
factory ones).

MATH USER (firmware/src/math_user.c, new):
- The machine is JIANT BYTE's (its fvm.c, GPL-3.0, Juan's): the instructions
  BYTE's compiler makes from a text, serialized, with BYTE's operator numbers
  (FO_*) and meaning (FVM_OPS2 / FVM_OPS1, copied), run a sample at a time
  (BYTE runs each instruction over a block). Every stateless instruction:
  - INT (bytebeat): + - * / % & | ^ << >>, every comparison (unsigned and
    signed), && ||, min max;
  - FIX (floatbeat, Q16.16): MULF MULIF DIVF DIVFI MODF ITOF FTOI FLOOR;
  - NEG NOT LNOT ABS, sin tri saw sqr rnd (both kinds), SAT (clip, cos
    compile to these), ?: and the string tables;
  - the variables t, w (FLOAT's phase), a (VAR's 1..16), n v (note,
    velocity); BYTE's others read 0, as BYTE's own do where its host does
    not make them.
  Not here (refused when checked): ph() lp() hp() (a state per voice), eu(),
  FUNC's calls and func{}. DIVF uses the divider and at most 16 steps (no
  64-bit division linked); products through core.h's mul64.
- The bytes: [0] the type (bit 0 FIX) | 2 a table pool follows ([1] its
  length 1..32, its bytes); then op | md << 6 each, md 0 the stack, 1 a
  number (LEB128), 2 a variable (BYTE's FA_ / FU_ index), 3 t (no byte); TAB
  its table as a number. At most 64 bytes (MU_MAX), a stack of 12 (BYTE's
  FVM_DEPTH). B16 (65) and F43 (125) don't fit; every other of BYTE's 96
  factory texts does (14 .. 63 B).
- Checked when it arrives (mu_check): every op known, its operand whole, the
  stack never under 1 nor over 12, one left, a table inside its pool. The
  machine itself stays inside its stack (16, indexed & 15) and its bytes
  whatever they are (a set half-written while a block reads it); / and % by
  0 give 0, shifts & 31.
- One a track (mu_c, 6 x 65 B). Played at ALGO USER: P_E2 stored -4 (-4 ..
  -1), before B01 / F01. lofi_byte / lofi_float: case 63 (f = p >> 2,
  unsigned) in their jump tables, so MATH's own formulas take no test a
  sample (scene 0d's instructions below V10.8.74's).
  - BYTE (WAVE 5, 7): the result's low byte, with VAR, MOTION, LOOP, BEND,
    GRIT, CHIP, SYNC as MATH's own; a t already read is not read again (t
    moves at ~8 kHz at C4).
  - FLOAT (WAVE 6): BYTE's fvm_sample (FIX -1 .. 1; INT as bytebeat), w = x << 3,
    BYTE's phase in Q16 turns.
- The knob: lofi_desc gives a track that holds a formula (or is at USER)
  ALGO -4 .. 191, USER first (N_BYTEU / N_FLOATU: "USER\0" before B01 / F01
  in PNE, 10 B); a track without one keeps 0 .. 191 exactly as before, so
  DICE, the matrix and MIDI see the same ranges. params.c param_fit keeps
  -4 .. 191 for MATH's ALGO when a project / preset / automation is read.

Limits (Juan: "cuidá la CPU"):
- read at most 11025 times a second, at every rate (VH_SH) and hold (GRIT,
  4B/2): a bucket of two reads, so a t a little uneven under the cap is read
  as it comes; past it the value read last. Below about F4 (t under 11 kHz)
  BYTE wave is bit for bit BYTE's machine; above it, held.
- at most 4 voices of formulas of one's own sounding, every track's together
  (voice.c mu_cap: a fifth fades the oldest out); the voice admission
  (load_admit, measured) stays the backstop.
- one pass over at most 64 bytes a read, no loop but DIVF's 16 steps.

Storage:
- the project: FUNC's 'F' 'U' block after 'O' 'T' (the last: an older firmware
  stops before it), each track's length and bytes, when one holds a formula;
  checked again when read. proj_mu beside the project, not in it (the pool has
  32 B to spare): proj_scratch, the firmware's one project_t, reads and writes it.
  A project without the block loads none; CLEAR PROJECT clears them; UNDO and
  backups carry them. An older firmware loads ALGO -4 as B01.
- a user preset keeps ALGO USER but not the formula (its 192-byte record has
  ~12 bytes spare): the track's formula plays.
- a song's sections share the formulas loaded (as VOICE's lyrics).

ALGO 128 .. 191 saved (a bug since p6): MATH's ALGO above 127 (B33 .. B48,
F33 .. F48) made every project save fail with SAVE FORMAT ERROR 4 (proj_pack
refused a value over 127) and a user preset load it as B01 (its byte read
-128 .. -65). proj_pack takes MATH's ALGO to 191; projects and user presets
read -128 .. -65 back as 128 .. 191 (math_user.c mu_algo_in), param_fit keeps
it. Not fixed (separate, older): FLOAT's ALGO B (P_E0) is clamped to CHIP's
0..3 when a project loads (F01 .. F01).

Editor protocol 1.5 (editor.c):
- FORMULA (100): track, op (0 query, 1 set + pack7 of the bytes, 2 clear) ->
  track, rc (1: refused, the track's as it was), length, pack7. pack7 is
  BACKUP_PUT's groups (ed_unpack7 / ed_bk_pack).
- INFO tag 45 02 64 12 ('E', before 'C'); 'C' 43 02 01 05.
- web/EDITOR_PROTOCOL.md "1.5" (also in the site's, wt-ed formula-work).
- The emulator (web/emu) needs nothing more: web_ed carries FORMULA, so the
  editor's preview runs this machine.

The stop-side click (crash screen, UBOOT, update reset), commit 65691824 on
pop-fix, cherry-picked: fm1_audio_stop lowers PC6 first, keeps the DMA 5 ms
more, then stops (out of line); ota_commit stops the audio before its reset;
tests/audio_order_test.py (run_tests.sh). audio.c and the golden renders
unchanged.

Flash (V10.8.74: 96 B free; this work ~2.5 KB: the machine 1.7 KB, FORMULA
~0.35 KB, the project block ~0.3 KB, the ALGO fix and the descs ~0.15 KB, the
stop fix 54 B):
- MATH's 48 floatbeats (lofi_float) built for size: the sines a call each
  instead of inlined, half its size, -1682 B.
- a block's control and once-an-event sound functions built for size, none in
  HOT_FNS: the kit's sounds (dx_run_fx), the master's TAPE, a track's COMB,
  the kit's bus, DRONE CLAY's composer, the punch-in lane's step; a quiet tail
  looked for, a punch-in's SLICER let go, a fitted span, a punch-in slot, a
  kit step's hit, a note's VEL and HUMAN, a key's MIDI out, MATH USER's cap.
- tools/size_fns.py: math_user.c in SIZE_FILES (its main-loop side).
Image 204 B free (584132 of 584336), BT 36 B free (73692 of 73728), RAM
.data+.bss 184 B free (98120 of 98304: the formulas 390 B, their project copy
390 B, the cores' voices 64 B), pool spare 8224 B, RAM code 40384 of 42496 B.
audio.c is V23's. REPIN=keep; a plain build passes; tools/audio_layout.txt
and audio_map.txt recorded.

CPU (tests/cpu_lines_test.py), each scene's worst block, core 0/core 1,
V10.8.74 -> V10.8.75 (both measured now):
  101 78/44 -> 79/44   102 62/28 -> 62/28   103 85/14 -> 85/14
  104 51/14 -> 51/14   105 66/42 -> 66/41   106 52/36 -> 52/36
  107 63/11 -> 63/11   108 50/29 -> 51/29   0c  70/57 -> 69/58
  0d  71/51 -> 71/52   0e  --    -> 85/61
Instructions identical in 101 .. 108 and 0c; 0d's lower (135.5k / 160.4k ->
135.2k / 160.2k a block). The lines move by a few with the flash layout
(+-1 point, as before). New scenes: 0d the CPU TEST's song with its three
synths MATH (BYTEBEAT B02, MATH KEYS F28, MATH PAD F12: factory formulas,
what V10.8.74 runs too); 0e the same with the first two MATH USER (B03's
bytecode on BYTE, 37 B; F20's floatbeat in FIX on FLOAT, 63 B, the longest
of BYTE's factory ones that fit), their chords capped at four voices: +14 /
+9 points over 0d, opt-in.

Tests:
- tests/math_user_test.c (new, in the workflow and run_tests.sh):
  - BYTE: the 135 formulas of tests/math_user_gold.h (BYTE's own
    fvm_compile and fvm_run on BYTE's 96 factory texts and formulas of every
    operator: tools/math_user_gold.c, built in a BYTE checkout, and
    tools/math_user_gold.py) give BYTE's values, 3 x 4160 each; the two over
    64 bytes refused;
  - factory: MATH's own 47 bytebeats as bytecode give lofi_byte's values,
    every a, 2^17 + random t;
  - DIVF and MULF against 64-bit arithmetic, 2M random operands; BYTE's
    operator numbers;
  - check: lp ph eu, a push without a value, the stack under 1 / over 12 / two
    left, a number cut short or of six bytes, a header bit, a table out of its
    pool, 0 and 65 bytes refused; a refused set leaves the track's;
  - fuzz: 400000 random and mutated inputs, checked and run, and 400000 run
    unchecked (any length byte): no crash under ASan, 0.2 s;
  - voice: B01's bytecode at ALGO USER renders B01 bit for bit at C4; the cap
    holds at C7; FLOAT plays it; nine USER notes on three tracks: four sound;
  - storage: a project with two formulas, ALGO USER and ALGO 150 packs,
    loads, restores byte for byte; 'F' 'U' the last block; one without it
    loads none; user presets keep ALGO 150 and USER; the knob: USER only
    where a formula is.
- app_contract: INFO's 'E' 64 12 before 'C'; FORMULA's query, a set (pack7)
  read back, a malformed one refused (rc 1, the track's kept), no reply for
  track 9, a clear.
- project, descdump (identical to V10.8.74's), audio_order pass; editor_test
  fails the same 6 checks as V10.8.74.
- The local workflow: steps 2 .. 29 pass, the emulator job included (emsdk
  6.0.11: the wasm built, native-check, gen-web, resound-web, emu_test).
- The site's editor (wt-ed formula-work, not here): its FVM port of BYTE's
  compiler gives BYTE's bytes for all 135, its math_test and
  editor_browser_test pass against this commit's wasm (a formula sent to
  track 4 with FORMULA, ALGO -4, read back).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-30 11:12:39 +00:00
Claude 84a71649bf V10.8.74: FX > GATE, the reverb's and the delay's gate on a page of their own, reached by scrolling
Juan: "Es ridículo un comando tan raro para algo que debería estar ahí
mientras escroleás".

Until now (V10.8.44) the GATE of REVERB and DLY was reachable only by
holding OCT+ and turning KNOB 4 on FX > REVERB or FX > DLY, with the
footer saying "HOLD: K4 GATE".

The layout: (a), a dedicated page, GATE, REVERB's third (params.c PAGES,
ui_lens.c CE_FX, ui.c FX_MN REVERB 2 -> 3):
- SELECT on FX: ... DLY, DLY 2, DLY 3, REVERB, REVERB 2, GATE, CHORUS,
  SLICER ... (21 pages, GATE 11/21; LOAD ECO 12/16, ECO keeps it: the
  gates are the buses').
- KNOB 1 REV, the reverb's GATE; KNOB 2 DLY, the delay's; 0..127, F_INT
  as before. KNOB 3 and 4 empty: no other gate parameter exists, and no
  new one was added.
- Why not (b), a second page of REVERB and of DLY: both already have
  two or three full pages (REVERB 2: MOD RATE FILT WIDE; DLY 2 and 3 full),
  so (b) would mean two more pages with three empty knobs each, the two
  gates apart, and twice the flash. One page holds both gates side by
  side, right after the reverb's pages, a SELECT detent from DLY 3 /
  REVERB 2, and the delay's gate reads naturally next to the reverb's
  (FM's FX lens already groups the buses' extras by module).
- Drawn like OTT and PUNCH IN: its name large (page_big; OFF under it
  with both gates at 0), the value cards REV / DLY, and two columns of
  cells on the thermal ramp (gx_col), each as tall as its gate holds.
  The footer: "GATE 11/21".
- Same values, same storage: the page's ids are views (page_desc, ids
  0xE4 / 0xE7, MUTATE's old ones as DNZ and CMIX were) of fx.c fx_gt[0]
  and [1], the very array the project's 'G' 'T' block saves. No project,
  preset or parameter id changes; fx.c is untouched, so the sound is the
  same bits (gate_fx_test's output is byte-identical to V10.8.73's).
- The shortcut stays: OCT+ held + KNOB 4 on REVERB / DLY still turns the
  same gate (its card says GATE while held). Its footer hint ("HOLD: K4
  GATE", twice in LZ_HINT) is gone, because the page makes it redundant:
  the hint was the only way to find the gesture, and the page is now that.
  EDIT 1's and FILTER's hints stay.

Editor / Studio: protocol unchanged, DESC unchanged (descdump identical
to V10.8.73's). The GATE values were never in DESC or TRACK_PARAM and are
still not. Page ids are names, not indices: the UI push (43) can now send
the page "GATE" in section 3 (FX). EDITOR_PROTOCOL.md and editor.html
need nothing; a Studio that mirrors FX's pages by name may want to add
GATE (between REVERB 2 and CHORUS).

Docs: MANUAL.md / MANUAL.es.md (the FX pages' table, the knob table, the
SELECT order, a GATE paragraph after REVERB 2; the V10.8.44 gesture was
not in the manual until now), the cheatsheet (tools/gen_cheatsheets.py,
controls.html).

Flash (V10.8.73: 84 B free; the page ~290 B: graph_fx_lz +126, page_desc
+68, the three descs, PAGES and CE_FX +12 each; LZ_HINT -39):
- 9 more sound functions built for size, none in HOT_FNS, none a sample
  loop: PANIC's notes off, a step's first lock (RAMP), SCENE's followers
  let go, a MIDI note-off sent, FM6's note velocity (once an event); a
  track's queued notes due (STRUM, HUMAN TIME, the gate's end), the held
  kit hits' next, LIFE's routes, REVERSE's grains set (once a block's
  control). -124 B.
- Packed (str_nth) into PNB: the LFO's WAVE (AUTO PAN's five are its first
  five: one list), FILTER TYPE, REVERB TYPE; into PNE: DRONE CLAY's RATE
  names (CLAY_RESN, its "past HOLD" view an offset). FUGUE's RATE and DIR
  packed in place. A kit's lane names read KEY MAP's own (N_DKEYMODE, the
  same eight), the lanes' two-letter names packed, SCENE's TRACK names are
  N_RFOLW's T1..T6. desc_nm reads them all, DESC as before.
Image 96 B free (584240 of 584336), BT 36 B free (73692 of 73728), RAM
.data+.bss 1048 B free, pool spare 8224 B, RAM code 40384 of 42496 B.
audio.c is V23's. REPIN=keep; a plain build passes; tools/audio_layout.txt
and audio_map.txt recorded.

CPU (tests/cpu_lines_test.py), each scene's worst block, core 0/core 1,
V10.8.73 -> V10.8.74 (both measured now):
  101 78/44 -> 78/44   102 62/28 -> 62/28   103 86/14 -> 85/14
  104 51/14 -> 51/14   105 66/41 -> 66/42   106 52/36 -> 52/36
  107 63/11 -> 63/11   108 51/29 -> 51/29   0c  70/58 -> 70/58
Instructions identical in every scene; the lines move by a few (+-4 of
~500) with the flash layout. Off the page nothing of it runs.

Tests:
- ui_test: the GATE page (after REVERB 2, before CHORUS, 11/21, REV and
  DLY cards, KNOB 1 / 2 turn fx_gt 0..127, KNOB 3 / 4 nothing, OCT+ the
  plain octave, page_desc's views), the gesture still turning it with no
  footer hint, a project keeping both; the FX chain of 21 and the ECO
  chain; OLD_LV's FX list. The LFO DRIFT check reads desc_nm (the list is
  packed). The harness's power-on now clears the session views
  system_init clears (GATE, GAIN, KEY TRK, DIST NOISE, CHORUS MIX, TAPE,
  EQ, LIFE, DRONE CLAY), as the device's .bss is at power-on: the soak's
  random walk now reaches the GATE page, takes another path, and what it
  left behind (it did not, by luck, before) silenced four key tests.
- ui_render: the "gate" screen (REV 48, DLY 96).
- app_contract, gate_fx_test (byte-identical output), descdump
  (identical), project, clay, clay_engines, drum_voice_extensions pass.
  editor_test and the FM4 ui_test fail the same checks as V10.8.73 (not
  in the workflow).
- The local workflow: steps 2 .. 28 pass (5 and 6 are the toolchain's
  cache and setup, 11 the V23 checkout that 12 uses). The emulator job's
  wasm build needs emcc, which this machine lacks; its native-check,
  gen-web and resound-web pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-28 21:43:06 +00:00
Claude d3bb2ebebc V10.8.72: GEN puts OTT on the electronic genres, a much harder OTT, BYTE's formula DIST types, VISUAL steady under load
Juan: "Habría que implementar el OTT en el generador para los géneros más
electrónicos".

GEN (gen.c gen_ott, after the mix and the FX; RESOUND too):
- GOTT, a genre each, the drums and the bass at DEPTH 40 .. 60:
  - 40: HOUSE, DEEP HOUSE, MINIMAL (its sub alone, 1 dB up);
  - 44: TECH HOUSE, TRIBAL (drums only), REGGAETON, IDM GLITCH (drums
    only), TECHNO ROCK (its synth 80s);
  - 48 .. 54: DRUM & BASS, ELECTRO, BREAKBEAT, DEMBOW, ELECTRO METAL,
    HIP HOP's trap, drill and pluggnb, HARD TECHNO, EBM, BAILE FUNK;
  - 60: HARD BASS, PHONK, DUBSTEP.
  MOOD DANCE adds 4.
- In most of them, one seed in two, the lead goes hard at 60 .. 78. When
  the lead is a riff already up front (GAIN 6), the texture takes it.
  Pads never. Three tracks at most.
- Per role TIME, UP/DN and X-OVER: the drums TIME 44 and a little less
  upward, the bass X-OVER 26 (its sub whole), the lead X-OVER 55.
- None on the acoustic and organic genres (cumbia, jazz, neo classic,
  dream pop, shoegaze, kraut, metalcore, IDM ambient and weird), on
  HIP HOP's boom bap and lofi, on TECHNO ROCK's rock, on EXPLORE, nor
  at MOOD CALM.
- Each OTT track's LEVEL comes down by the depth squared (gen_peak:
  every piece under -1 dBFS with the trims as they were). No draw from
  the piece's random streams: every other choice is as it was, and the
  seed is still deterministic.
- RESOUND sets the genre's OTT, or clears it, on the tracks it gives
  sounds. A track RESOUND does not touch keeps its OTT.
- Not per section: the sections do not store OTT.

FX > OTT, a much more extreme law (Juan via the coordinator; this
replaces the alignment to BYTE d9feaf71; BYTE v1.1b5 has no commit yet):
- Up at 0.97 dB a dB toward -18 dBFS, at most +36 dB, faded out under
  -66 dBFS (a -46 dBFS band gets +27 dB).
- 20:1 over -22 dBFS, at most -36 dB.
- Both bands driven together into dsp.c's soft clip, +9 dB at the full
  weight: dense and saturated, never a hard clip, never past -0.3 dBFS.
- DEPTH squared to 70, then a cubic to 100 (weight 30: 0.09, 60: 0.36,
  70: 0.49, 80: 0.85, 90: 0.98).
- TIME 48 by default (~32 ms back, 1 ms up), so it pumps with the kick.
- Each block's band peaks are read first, so a hit after quiet is not
  boosted by the quiet's gain, and a gain going down takes effect at
  once. Still a gain per block, then the ramp.
- DEPTH 0 is still not run (bit-exact). Under the overload guard, half
  the weight.
- ott_test: at DEPTH 100 a -46 dBFS sine comes out at -10.0 dBFS and a
  -6 dBFS sine at -7.7 dBFS (from the rms), 2.3 dB apart.
- Stored TIME is kept less its default: a V10.8.71 file's TIME comes out
  24 lower (its default 72 loads as the new default 48).

DIST TYPE gets JIANT BYTE's formula effects (origin/main DIST_EQ; on
BYTE's formula machine there, fixed code here):
- 6 RING, 7 STEPS, 8 XOR, 9 WOB, 10 SFOLD, 11 SAT. They are cases of
  the shaper (dist_shape, in RAM); deq_k gives each block's constant.
- They use BYTE's input scale, TONE stage and blend; there is no low cut
  and no make-up. NOISE moves the input as BYTE's does, at FM's NOISE
  depth.
- SOFT .. AMP keep 0 .. 5, and old projects sound the same.
- Within 1.5 % of the formulas in floating point (dist_eq_test). The
  output is a quarter inside so the TONE poles fit in 32 bits (BYTE's
  can wrap).
- BYTE's GATE, LPF, LFO.F, HPF and RND are left out: the flash.
- The SENDS have no drive of their own in FM (SENDS' DIST is the track's
  DIST), so there is no separate send SAT / SFOLD.

HOME > VISUAL: every frame the UI paces is drawn. V10.8.67 left out
every other or third frame by the animation's ticks, unevenly (3 to 7
drawn a second, gaps of 150 .. 400 ms). Now each frame draws less:
- past 65 % load, the first picture alone and 300 points (copies as the
  budget holds them); past 80 %, 150 points;
- the animation frozen: the picture is kept and not drawn again (it was
  never drawn at FREEZE);
- ui.force is cleared after a VISUAL frame (it was left set).
Host (tests/vis_cadence_test.c), frames a second and work a second,
V10.8.71 -> V10.8.72:
- idle: 66 -> 66;
- 69 % now / 66 % average: 6.7 (gaps 150 ms), 0.6 ms -> 20 (50 ms), 0.4 ms;
- 82 % / 50 %: 6.8 (350 ms), 0.7 ms -> 20 (50 ms), 0.4 ms;
- 82 % / 79 %: 3.3 (400 ms), 0.3 ms -> 10 (100 ms), 0.2 ms.
Off the page nothing of it runs.

MOOD CALM's rows checked: V10.8.68's message said "longer sections,
slower RADIO", but its code is BYTE 09ec6b57's, where Juan asked "CALM's
pieces too long". CALM -50 rows: HOUSE x 12, PARTS 356 bars against
MID's 624, SONG 490 against 1140; the radio loops 9 bars against 17.
Left as it is; gen_entry_test pins the direction.

Flash (V10.8.71: 176 B free; this work ~2.7 KB):
- more enum lists packed in PNE (str_nth): FM6's ALG and SLOT, MATH's
  BYTE and FLOAT, VOICE's LYRIC LANG THEME LOOP, ARP MODE, SCALE,
  ENGINE, KEY MAP, EXT's MODE, STRING's EXCITE, WHEEL's PERC. name_of
  reads packed lists; descdump is identical but for DIST TYPE.
- BTAPP_FN / UH_SEG functions are now seen by size_fns.py; 13 per-key,
  per-step and per-half-buffer sound functions built for size.
- the shaper's soft clip one copy in RAM (dist_sclip, bit-exact).
Image 12 B free, BT 36 B free, RAM .data+.bss 1048 B free, pool spare
8224 B, RAM code 40384 of 42496 B (headroom 2112). audio.c is V23's.
REPIN=keep; a plain build passes.

CPU (tests/cpu_lines_test.py), each scene's worst block, core 0/core 1,
V10.8.71 -> V10.8.72:
  101 79/44 -> 78/44    102 62/28 -> 62/28    103 81/14 -> 85/14 (TRIBAL: OTT drums)
  104 46/14 -> 50/14 (BREAKBEAT: drums, bass)   105 66/41 -> 66/41
  106 53/36 -> 52/36    107 58/11 -> 62/11 (HARD BASS: drums, bass)
  108 51/29 -> 51/29    0c  70/58 -> 70/58
The GEN scenes with OTT pay ~4 % on core 0, mostly ott_block's flash
lines (the first OTT track). DIST at 127 on all six tracks of 101: SOFT
81/46, WOB 81/46, SAT 82/47, RING 84/46 (CL_DTYPE).

gen_peak: 270 pieces, 0 over -1 dBFS (loudest stem -2.5, mix -1.1).
gen_test's mix pass and the rest hold.

Tests:
- ott_test: the law, the curve, GEN's OTT, RESOUND;
- tests/dist_eq_test.c and tests/vis_cadence_test.c are new, in CI;
- app_contract: DIST TYPE's DESC;
- gen_entry: MID recorded again, CALM's direction;
- cpu_lines_test.c: CL_DTYPE;
- the local workflow: all 23 steps pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-28 15:49:34 +00:00
Claude 741f8d40f3 V10.8.65: pages without a picture named large; a knob turned said with its page on the footer
(the owner: "fijate en las páginas que no tienen gráficos clave, o cuánto se puede agrandar el nombre de lo que hace
la página"; "LIFE tiene PAN y no se ve que dice LIFE, la gente no va a entender que está paneando"; universal sound
names kept)
- page_big (ui_gx.c) on every page with no picture of its own: GLOBAL, KEY SPLIT, KEY SPLIT 2, LEVEL (draw_graph's
  fallback: the name large, the scope lower under it), FX > PUNCH IN (its lens's empty EFFECT level), SEQ > DRONE CLAY,
  CLAY MOD, CLAY RHYTHM, CLAY TIME (the scope and the lanes lower). A long name (KEY SPLIT 2) in M. Pages with a key
  picture (ENV LFO MOD MSEQ, FX's lens, SCL, the roll, EDIT's creatures, SYSTEM, MIXER, PRESETS, SAVE, HOME) as they were.
- HOME > LIFE / MACROS: the beings drawn under the page's large name (MACROS' title no longer over them).
- ui_draw.c knob_line: a knob just turned, the footer says it whole a moment with its page's name: "LIFE STEREO 100 %",
  "LFO RATE 1.24 HZ", "GLOBAL BPM 121 BPM" (the cards keep their short labels); a step held, the menu, a dialog: as
  before.
- docs/PARAM-NAMES.md: MODE TYPE AMOUNT SYNC MOTION DICE reviewed, none renamed (the page now said with them).
- tests: ui_test (LIFE's knob line; LFO RATE and GLOBAL BPM on the footer, gone after the turn).
Layout recorded again (FELUCCA_REPIN=keep); the plain build passes. Image 581528 of 584336 (2808 B free), RAM code
40196 (unchanged). audio.c as V23's. Local workflow: every check step passes (the emulator job not run here).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-27 16:49:21 +00:00
Claude 0202407bb6 V10.8.64: HOME > MACROS back with DICE; LIFE STEREO (was PUMP) and curved depth; LIFE / MACROS named large
(the owner: "la página de macros en HOME con DICE, es clave, es lo que teníamos antes"; "pondría los macros en los dos
lugares"; "cambiaría PUMP en LIFE por STEREO, que se muevan en el campo estéreo con valores derivados de sus vecinas";
"todo en 100 podría ser mucho más extremo"; "debería decir LIFE en grande")
- HOME > MACROS, ECO's third page (CE_HOME: ECOSYSTEM LIFE MACROS; HE_SONG 5, HE_GEN 8; ui.hset[0] 0..2): KNOB 1..4
  M1..M4, the FX layer's own (macro_v, one state); HOME + SELECT there: DICE MACROS (macro_dice on the tracks sounding,
  the four values), one UNDO point.
- LIFE KNOB 3 STEREO (was PUMP; a project's stored value now STEREO's): each track pushed across the field (a PAN
  offset on its own PAN) by its neighbours' sound, every other one in the ring the other way (two playing apart),
  swinging at a speed the track before it sets; quiet, back to its PAN.
- Every LIFE depth as before to 60, then curved: at 100 about 2.5 times (STEREO at 100: hard left / right).
- LIFE and MACROS: the page's name large (AF_L) at the panel's top, its state under it (ui_gx.c page_big).
- docs/PARAM-NAMES.md: universal sound names kept; what changed and what is still to do.
- tests: life_test (STEREO 100 widens the side; PUMP's kit test gone, the kit primed once for DRUM-X GAIN's); ui_test
  (HOME's twelve pages; MACROS: KNOB 1 M1, HOME + SELECT DICE MACROS with UNDO; LIFE as before).
Sound: audio.c as V23's; 219 golden renders unchanged (no LIFE in them). RAM code 40196 (+4, calls shifted).
Layout recorded again (FELUCCA_REPIN=keep); the plain build passes. Image 581204 of 584336 (3132 B free).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-27 16:24:01 +00:00
Claude e107c3e82e V10.8.62: MATH WAVE SYNC, the formula's rhythm locked to the tempo (every key the same pattern, transposed); preset BYTE SYNC
(a user: "I love the MATH BYTEBEAT's sound and the kinda arp on it, but the bpm is not the same from a note to another";
the owner: "SYNC, ¿no es más claro?")
- eng_lofi.c: WAVE SYNC (stored 7, after BYTE 5 and FLOAT 6): BYTE with its slow bits (te's bits 8 and up: the rhythm,
  the arp's steps) from the song's clock (lofi_sync, as MOTION's own SYNC, scaled x0.336 so at 120 BPM the rhythm is
  C4's today with MOTION 0, its slow time's rounding included), its fast bits (the pitch) the note's: every key the same
  pattern in time, only transposed; MOTION 0..127 its speed as before; stopped, the bar free at the BPM. The slow time
  not advanced by the note between held samples (one time base). As JIANT BYTE's TIME SYNC (FM has no P_KEY: a new
  parameter would move the editor's ids; FIJO not ported).
- A new preset BYTE SYNC (BYTEBEAT with it), appended, browsed after BYTEBEAT; MATH's 18 PROGRAM CHANGE numbers, GEN's
  picks (gen.c: the appended one left out of n) and the factory presets as they were (their V23 renders kept).
- WAVE kept a list everywhere it was one: no matrix destination (mod.c, as when it had two values: GEN's routings and
  its songs unchanged), the sound dice BYTE or FLOAT (ui_input.c). ui_engvis.c: SYNC drawn as BYTE.
- tests: math_timelock_test (two notes an octave apart at 120 BPM: the same slow time block by block and as many rhythm
  steps, two pitches; BYTE: the octave twice as fast), in voice-user-check.yml; golden.txt + preset/MATH/12_BYTE_SYNC
  only (every other render as before); ui_test's PROGRAM CHANGE check (BYTE SYNC browser-only); docs/ web/ NRPN.md.
- The lines model as V10.8.61's (101 59/31 %, 102 41/29, 103 78/14, 104 54/31, 105 66/40, 0c 70/58). audio.c as V23's.
Layout recorded again (FELUCCA_REPIN=keep); the plain build passes. Image 580340 of 584336 (3996 B free), RAM code
40180 (unchanged: MATH in the flash).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-27 15:38:57 +00:00
Claude 1078b1fdf2 V10.8.53: the pictures' shared engine (room), SEQ EDIT with GENERATE and RANDOM, banners
(the owner: "todos los gráficos del sistema vengan del mismo motor así se achica el espacio que ocupan")
- ui_gx.c, the pictures' shared engine: gx_col (heat cells), gx_sine, gx_chip, gx_keys. FX's DELAY (echo
  columns by FDBK, TIME apart, the one sounding yellow), REVERB (its tail as cells, a sweep), CHORUS (two sines
  at RATE) and SENDS drawn with it, still moving with the sound; DIST's and MASTER CLIP's curve one routine
  (fxg_curve); SCL KEY and CHORD keyboards through gx_keys; SAVE's chips through gx_chip.
- The room: the V face (big numbers) gone, values in M; the count-in a line "4 3 2 1" (were four cells);
  FX > MASTER > EQ's curve (BT) gone; SAVE > TOOLS' picture a word; the lists' small beings a mark; LFO's
  orbit dots gone; ui_gx.c, editor_screen.c, seq_preview.c at minsize. Protected pictures untouched.
- SEQ EDIT (SEQ held; the V10.8.52 patch applied): KNOB 1/2 the selection, 3 the ACTION, 4 its amount,
  D5 / OCT+ does it, F#5 UNDO / REDO named. New: GENERATE (the track's generator inside the selection only,
  KNOB 4 the genre, a new seed each time: "GEN TECHNO 5-8 #1791"; trackgen_make(lo, cnt)) and RANDOM (notes
  in the scale on a 1/4 1/8 1/16 1/32 grid, DRUM: hits).
- Banners: GLO mutes ("T3 MUTED" / "KICK ON"), UNMUTE ALL ("ALL UNMUTED"), SCL ROOT ("ROOT D"), REC B3
  ("QUANTIZE ON").
- tests: ui_test's SEQ TOOLS checks rewritten for SEQ EDIT (selection, STRETCH/SQUEEZE/REPEAT, DUP, REVERSE,
  ROTATE, CLEAR, CLR AUTO, UNDO/REDO key, GENERATE, RANDOM, LEDs), the count-in's figures;
  track_generator_test for trackgen_make(0, 0).
Layout recorded again (FELUCCA_REPIN=keep); the plain build passes. Image 584308 of 584336 (28 B free),
BT segment 73724 of 73728, RAM code unchanged (32688). audio.c as V23's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-26 16:26:38 +00:00
Claude a1d7651c45 V10.8.52: SAVE asks before overwriting a part, its UNDO; a saved GEN draft is that project; RESTORE LAST follows it
- SAVE + C4..F4 / SAVE + OCT+ over a part with music: OVERWRITE A? (OCT+ yes,
  OCT- no; "UNDO: GLO + G4" under it), once a part until another project
  opens. The part's previous content kept in the UNDO buffer (undo_st[0],
  undo_ok 2): GLO + G4 puts it back, again redoes the save. GEN's own
  section stores keep their UNDO mark.
- PROJECTS > SAVE of a GEN draft ("SAVED SONG n") ends the draft: project n is
  the open one (index cur written), so SAVE + C4, the flush and the autosave
  go there. Was: still a draft, nothing written, and RESTORE LAST gave back the
  autosave from before GEN (the autosave is off during a draft and was only
  rewritten when n was the project open before GEN).
- ARRANGE OCT+ on a row: "ROW DUPLICATED" (it copies the row picked).
- song_save_as's index row building in the Bluetooth segment (room).
- Tests: song_draft_test (draft ends on save, SAVE + C4 and its UNDO/REDO,
  RESTORE LAST after a draft saved elsewhere, OVERWRITE A? once, an empty part
  saved at once); ui_test (SAVE + OCT+ through the dialog).
- docs/SEQ-EDIT-V10.8.52.patch: the SEQ EDIT page, built and measured but
  parked: 3308 B over the app slot.
- Layout re-recorded (REPIN=keep: row_var moved 2 B); no sound code changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-26 14:18:55 +00:00
Claude c990bb928a V10.7.67: seeds fusionados (nunca uno tal cual, el segundo lejos del primero), FX + OCT+ abre otra vez el editor de punch in, contrato NRPN al día
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-21 00:55:37 +00:00
Claude 6a01121d15 V10.7.64: DUBSTEP con bajo wobble; DRUM-X ATTACK pasa a llamarse SNAP
- DUBSTEP: el bajo es el wobble (low-pass resonante con un LFO en corcheas);
  el generador ya no lo cambia por un barrido lento.
- KIT: ATTACK se llama SNAP (el click de cada golpe). El SNAP del filtro de
  SOUND 3 pasa a SHORT para no repetir el nombre.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-20 02:21:09 +00:00
Claude 896d9001e2 V10.7.63: DRUM-X en 8 páginas; BODY en lugar de FOLD; fuera FEEDBACK, BP, BUS y PLAY
KIT: MORPH ATTACK TONE DECAY. KIT 2: NOISE BODY GLUE GAIN.
SOUND: PITCH DECAY LEVEL. SOUND 2: NOISE COLOR PMOD (HANDS en el CLAP).
SOUND 3: WAVE FILTER P.ENV. SOUND 4: SIDE SEND KEY MAP. CROSS MOD. FILTER.
BODY: resonador del cuerpo afinado a cada sonido (reemplaza al wavefolder).
FEEDBACK (kit y sonido) y el BP del bus quitados del DSP; LAYER y TUNE
fuera del panel, los kits los conservan. Golden de DRUM INDUSTRIAL
actualizado (usaba FOLD).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-20 01:05:22 +00:00
Claude be19b2223f V10.7.63: DRUM-X en 10 páginas, GAIN del kit en KIT 2
KIT, KIT 2 (GAIN 0..+12 dB limpio), BUS, SOUND 1-4, CROSS MOD, FILTER, PLAY.
LEVELS y STEREO fuera: el nivel de cada pista en SOUND, IMAGE en FILTER.
El DRIVE del kit sigue sonando, fuera del panel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-20 00:40:00 +00:00
Claude 83a6978813 V10.7.63 WIP: KIT 4 gone (KEY MAP alone, three cards empty: the owner), a kit's KEY MAP on PLAY KNOB 4, its modes named; labels that fit their cards
- KEY MAP: BASIC EXTRA KICK SNARE CLAP HH CL HH OP TOM RIM BELL (0..9, the editor's range too); EDIT > PLAY KNOB 4 on a
  kit (IMAGE's place: a kit's is STEREO); KIT 4 out of the chain.
- Cut on their cards (every engine's every page swept): GLIDE TYPE -> GL TYPE, RIGHT TIME -> RIGHT, ALL TRACKS -> ALL TRK,
  FEEDBACK -> FEEDBK, DRAWBAR -> BARS, SYMMETRY -> SKEW, HH CLOSED / OPEN -> HH CL / OP, punch-in CLR AUTO -> ERASE,
  TRACK GEN COMPLEX -> BUSY; the hints say them in full; the editor reads the old names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-19 22:47:37 +00:00
Claude 1827e5dbbe WIP EDIT redesign: the engine's pages by their own names (OSC WAVES FORMULA VOWELS DRAWBARS INPUT CREATURE ..., not EDIT 1 / EDIT 2), labels that say what they do (BRIGHT FEEDBACK VARIANT RESO DRAWBAR SYMMETRY; the editor reads the old ones)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-19 19:40:18 +00:00
Claude b43b36ff3d WIP V10.7.59: docs/NRPN.md regenerated with the new names (app-contract --write-nrpn)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-19 15:32:13 +00:00
JUAN JIANT 56d4532785 Build V10.7.55 beta from V10.7.23 with WEST, readable editing and quieter tail reuse
Keep the original punch-ins, downsampling and held-note protections. Add stopped note audition, large menu rows, WEST migration and attributed Yehnah release-tail ordering. Verify target budgets, legacy audio hashes, recording, UI and native/WebAssembly parity.
2026-11-18 14:45:16 -03:00
Claude 11b925bcc9 V10.7.23: cards outlined in their value's colour, COLORS the one skin, names and pages cleaned, AFTERTOUCH 1..10
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-13 01:38:20 +00:00
Claude 6f54177f93 Merge branch 'codex/atdepth' into codex/swarm
# Conflicts:
#	tests/ui_test.c
#	tools/audio_layout.txt
2026-11-13 01:31:34 +00:00
Claude f88c5e8e06 Manual: MENU count after SKIN and INIT SYSTEM both left (n/33)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-13 01:31:26 +00:00
Claude 6a246000fe Merge branch 'codex/cards' into codex/swarm
# Conflicts:
#	docs/MANUAL.es.md
#	tests/ui_test.c
#	tools/audio_layout.txt
2026-11-13 01:31:13 +00:00
Claude 37fb4eb1a5 Knob cards outlined in their value's colour, no grey box; SKIN AIR retired, COLORS the one skin (no version bump)
Cards (the owner's request): the four knob cards (normal, LARGE's tall cards, the menu's), NOTICE's and DICE's card and
NAME's four lose their RAISE / SURF fill and sit on the background; their shape (rounded r 5 / r 4 tall, square off the
lenses) is a 1 px line in the value's colour (palette, knob, heat, hot / accent), 2 px on the knob just turned (it was
framed); empty cards a LINE outline; labels MID; the gauge as it was, its track LINE. The value's colour is already in
each card's cache key, so the line follows it; the rolling strip redraws the line's sides. ui_draw.c card_line.

AIR retired (MENU > DISPLAY > SKIN gone): COLORS is the one skin. Gone: ux.skin, lz_low, hud_home, hud_fade, the HUD /
AIR knob row, tabs, header halos, eco_backdrop, lz_begin / lz_blit / lz_tile_bg / lz_uline, style_apply, settings_fresh,
cv_keep, the text halo, the LB_ / LA_ geometry. The stored byte (favorites.factory[15][20]) is read and written 0 (COLORS,
as older firmware reads it); the editor's id 21 stays, SKIN with its one value COLORS (as STYLE's FLAT); MENU rows
renumbered (DISPLAY six, 34 rows). eco.top kept (the RAM's layout).

Flash: 5156 B free (was 2072); RAM .data+.bss 97776 as before, pool spare 8256, RAM code 32732 of 34816.
Tests: ui_test's SKIN tests rewritten (retirement, card outlines), AIR passes dropped from ui_render / ramp / theme /
startup / editor tests; lint findings 47 (85 before: all 38 gone were AIR's, none new), ink contrast clean.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-13 01:29:36 +00:00
Claude 9a204286be manual (EN, ES), README, cheat sheets: the coherence names and chains (PART, PART SLOTS, PUNCH IN, PLAY, KEYS RAILS, G.COMP, SETUP, TRACK GEN, RHYTHM SPAN FIT, LOAD ERASE SAVE, no INIT SYSTEM, no TRACKS DEST); cheat sheets regenerated (gen_cheatsheets.py, render_cheatsheets.mjs); the navigation map's text (its SVGs: gen_nav_map.py, which fails here as on c1d79aea, a font measure)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-13 00:57:05 +00:00
Claude 180eed7304 web editor and NRPN tables: the device's new names (EDIT > PLAY, SENDS without DIST, POLY GL MODE UNISON SPREAD SPEED, EXT MODE, ALGO SOURCE COLOR); library files of before read VOICE DETUNE and the glide's MODE#2 as POLY UNISON GL MODE, an older firmware's labels too (both ways); docs/NRPN.md, web/NRPN.md regenerated (app-contract --write-nrpn)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-13 00:57:05 +00:00
Claude b4c90e4f64 MENU > CONTROL > AFTERTOUCH: OFF 1..10 (the pressure's depth; the old LOW MID HIGH read as 3 5 8)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-13 00:56:05 +00:00
Claude c1d79aea97 V10.7.22: animations by the clock, OCT+/OCT- mod sources, matrix VEL as played, CLEAR PROJECT, PRESETS LIST USER, PRESETS on GEN, ANALOG SAW3 page, Bluetooth part check
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-12 22:10:54 +00:00
Claude 162500c6ba Merge branch 'codex/octmod' into codex/swarm
# Conflicts:
#	docs/cheatsheet/sound.html
#	tools/audio_layout.txt
2026-11-12 21:10:05 +00:00
Claude 7e0334d4e4 Merge branch 'codex/clear' into codex/swarm
# Conflicts:
#	tools/audio_layout.txt
2026-11-12 21:10:02 +00:00
Claude 25a0ef109e Merge branch 'codex/btfix' into codex/swarm
# Conflicts:
#	tools/audio_layout.txt
2026-11-12 21:10:01 +00:00
Claude 54fe4d56b1 SAVE > TOOLS > CLEAR PROJECT: SAVE's first page and first action, stopped, one dialog (MENU > INIT SYSTEM too); the music as at power-on, A-D and rows empty, the saved project kept (a draft); PROJECTS > ERASE of the open project clears its music, a draft's too
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-12 21:09:21 +00:00
Claude 4b1eaf701b VEL (EDIT > VOICE 2) only the sound's: the matrix's VEL follows the velocity as played
- seq.c tvel keeps the velocity it is given (vs.raw, in vel_t's padding: no new RAM) and scales it as
  before (tvel_of, mod.c); noinline, so the arp in mix_block calls it (RAM code 8 B smaller).
- mod.c mod_note -> seq.c vel_note: if the note's velocity is that one's as the sound takes it (a
  chord's notes too), m_vel (and so every voice's mvel) is the one as played. Else (ACCENT 127,
  HUMAN's spread, RATCHET DECAY, repeats; VEL 100 %: always the same) the note's own, as before.
- voice.c vel_sound: FM6 (the one engine reading mvel) still takes the velocity VEL gives it: of the
  two (mvel through VEL, mvel), the one UNISON's level turns into the voice's vel.
- The sound, every engine's level and timbre, MIDI OUT, recording: unchanged.
- tests/vel_matrix_test.c (in run_tests.sh): the mix of keys / MIDI in / steps with ACCENT on ANALOG,
  FM6 POLY and UNISON, measured on the previous commit's tree: VEL 127 with a VEL route d4355752,
  VEL 64 / 0 with none d408d383 / db036bc8, the same here; VEL 0: 30 and 120 start at 100, the
  matrix reads 30 / 120, VEL -> CUT opens by it; a step's 30 -> matrix 30, ACCENT 127.
  tests/vel_seq_test.c: its VEL checks now the sound's (100, 69) and the matrix's (as played).
- MANUAL EN / ES: VEL's paragraph. tools/audio_layout.txt rebuilt.
- flash +188 B (582416 -> 582604), RAM +0 (97792), RAM code 32732 (-8).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-12 20:54:54 +00:00
Claude 7cd93ba808 PRESETS LIST USER: the user's own presets alone (kept at power-off); audio test: KICK SNARE CLAP never shed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-12 18:36:28 +00:00
Claude 1dea469d65 Bluetooth part missing: said at power-on and on GEN, and told to the installer (INFO 'X')
- Power-on with the Bluetooth segment missing or another build's: BLUETOOTH PART MISSING, "REINSTALL WITH THE JIANT
  WEB INSTALLER: juanjiant-bit.github.io/JIANT", ANY KEY: CONTINUE over the screen (ui.segbox, in the ui struct's
  padding), once per power-on; a key or a knob closes it (swallowed as a screen wake's).
- GEN without the segment: the same message between its tabs and its foot instead of HOME's cards left there.
- Editor protocol 1.3: INFO tag 58 01 s right before 'C' (1 this build's, 2 missing / torn / another build's), for
  the web installer's check after an install. EDITOR_PROTOCOL.md, the app contract and editor tests.
- Manuals (en/es): the power-on message in troubleshooting.
- ui_test: the host's bt_hw_seg can be told the segment is gone (HOST_SEG_HOOK); the boot message, any key / knob,
  GEN without cards.

Flash +224 B (2020 -> 1796 B free), RAM unchanged, RAM code unchanged, segment size unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-12 18:23:27 +00:00
Claude 25eb57227e MOD: OCT+ / OCT- as matrix sources (the expression keys); unrouted bit for bit as before
- mod.c: MS_OCTUP (24), MS_OCTDN (25) appended after T1..T6 ENV (MS_N 26; the ids before kept).
  OCT+ = the bend's smoothstep ramp (0..1, eased in and back; OCT BEND OFF: 0), OCT- = the vibrato
  (5.5 Hz, depth faded in, bipolar). kx_semi / kx_amt / kx_ph moved here from seq.c (no new RAM);
  kx_shape, kx_src, kx_route out of line so the sound's code keeps its place (mod_tsrc +8 B, kx_block
  the same size). track_follow_mask only for T1..T6 ENV.
- seq.c kx_block: a track whose slot routes OCT+ (SRC, DEST, AMT set) gets no bend and no MIDI OUT
  pitch bend; one routing OCT- no pitch vibrato (CC1 still sent). Recording, OFF, UBOOT, AT unchanged.
- params.c N_MSRC "OCT+", "OCT-"; web editor, EDITOR_PROTOCOL, manuals (EN/ES), cheatsheet.
- tests: expr_keys_test.c (checksum 9d661a90 equal to V10.7.21's sources with no route; OCT+ on CUT
  sweeps, eases back, no bend; OCT- on CUT / LEVEL wobbles, pitch still); persistence round-trip.
- tools/audio_layout.txt rebuilt (audio code after mod_tsrc 6-8 B later; new helpers after the last run).
- flash +220 B (582196 -> 582416), RAM +0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-12 18:03:38 +00:00
Claude 2aa7d98bab Cheat sheets: PRESETS on GEN (the quote that broke the generator)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-12 17:48:27 +00:00
Claude 391cf12d76 PRESETS loads sounds on GEN too (every page but SEQ's); the GENRE only on GEN 1's KNOB 1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-12 17:48:19 +00:00
Claude 8e45ae7485 ANALOG SAW3 / PLS3: EDIT 1 WAVE INT INT 3 DETUNE, the three oscillators' intervals together (MIX on FOCUS)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-12 17:40:01 +00:00
Claude 1a458aaff5 V10.7.21: fewer voices cut under load (releases hurried, tails at half the rate), animations slow before they freeze, ANALOG one filter page
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-12 16:25:27 +00:00
Claude 442bcc64ac ANALOG: one filter page (EDIT 2 gone); EDIT 1 WAVE DETUNE MIX INT, NOISE / INT 3 on FOCUS
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-12 15:01:34 +00:00
Claude f5991dfbc6 V10.7.20: SAVE SONG AS page gone; PROJECTS picks, loads, erases and saves; SONG or LOOP on the NAME screen
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-12 10:32:16 +00:00
Claude 2346957d9f SAVE: the SAVE SONG AS page removed; PROJECTS saves, SONG / LOOP on the NAME screen
The owner's decision. SAVE has nine pages (TIMELINE PARTS CLIPS SECTIONS PROJECTS
ARRANGE TOOLS USER PRESETS); GR_SONGSAVE stays in the enum (append only), unused.

PROJECTS (SAVE > PROJECT):
- KNOB 1 picks a project and opens nothing (it opened the project); the tile
  picked is tinted and framed, the open one keeps its number lit. Entering the
  page picks the open project (a GENE draft: its destination).
- ERASE and SAVE act on the picked project; LOAD opens it (song_select) when it is
  not the open one, else loads the section as before.
- SAVE does what SAVE SONG AS did: STOP TO SAVE while playing, OVERWRITE PROJECT n?
  when the destination holds something (its second line "NEXT: K3 SONG OR LOOP"),
  then the NAME screen. It starts at SONG every time: a LOOP left chosen by the
  save before would clear B-D unasked.
- NAME for a song save: KNOB 3 right LOOP, left SONG; its third card says SCOPE,
  the title SAVE SONG / LOOP TO PROJECT n, the foot "NAME . K3 SONG/LOOP . OCT-
  CANCEL".
- GENE's SAVE tap opens PROJECTS with SAVE armed (it opened SAVE SONG AS).

Fixed on the way: graph_save_lz was left starting with "else"; the dead
GR_SONGSAVE tests in ui.c, ui_graph.c and ui_layer.c are gone.

Tests:
- song_save_ui_cases.h rewritten for PROJECTS: no SAVE SONG AS page, the pick
  opens nothing, empty destination names, occupied asks, cancel writes nothing, a
  failed save keeps NAME open, the open project is a destination, playing
  refuses, KNOB 3 on NAME switches SONG / LOOP, LOAD / ERASE on the pick.
- song_draft_test: a LOOP saved over a whole song elsewhere clears its B-D and
  its rows (on the flash model).
- ui_test: SAVE's chain of nine, 1/9; the project page (pick, then LOAD).
- The #63 soak failed with the new page order: not this change. Since V10.47 the
  roll, drawn after the cards, follows the playhead to another bar, and SEQ > BAR's
  card says it one frame later; the soak now skips the comparison on the frame
  the bar moved.
- song_generator_test: GENE's SAVE opens PROJECTS armed; the scope on NAME.

Docs: MANUAL.md / MANUAL.es.md (the chain, the page tables, the section "Saving a
whole song or a loop"), README, SAVE-SONG-AS.md, GENERATOR-DRAFT-SAVE.md,
MODULATION-SONG-BETA.md; cheat sheets generated and rendered.

Image: 3556 B free (456 B freed). RAM code headroom 2092 B.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-12 10:14:32 +00:00