Commit Graph
355 Commits
Author SHA1 Message Date
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
Claude 529b2b9624 V10.7.19: JIANT's seven palettes, AIR and COLORS only, bigger type, PRESETS LIST reset, SAVE FORMAT ERROR says which check
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-12 01:38:40 +00:00
Claude c7fa0d6f78 Merge branch 'codex/palettes' into codex/swarm 2026-11-12 01:35:11 +00:00
Claude 9a082b8c20 Legibility 2: less said twice (header, FX, EDIT), PROX's lines inside the panel, cheat sheets rendered
- Header: the middle says the engine and the sound ("ANALOG ACID"), not "T1 .
  ANALOG ACID": the track's number stands in its box at the left, and the name
  has the room (FX keeps its accent "T1").
- FX: the set's name at the panel's right ("FX . T1", "SLICER . SL BUS 2") is
  gone; the dots stay. The header, the tabs and the breadcrumb say it.
- EDIT > SOUND: the page's name at the panel's top left and the sound's name at
  its foot are gone (the breadcrumb and the header say them).
- MENU > BLUETOOTH > PROX: its three instruction lines 11 apart (9 px capitals)
  and the K1 MIN / K2 MAX / K3 SPD line at row 129, inside the panel (it stood at
  136 and was cut at the foot, a finding since before).
- docs/cheatsheet-*.png / .pdf rendered again (tools/render_cheatsheets.mjs).
- Manuals (EN, ES), README.

ui_render: 84 findings (196; JIANT 5), alignment 0. Image: 3088 B free.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-12 00:29:52 +00:00
Claude 0b0acfc771 PRESETS: a sound-type LIST goes back to ALL at power-on (FAV is kept)
Two users left SAVE > PRESETS' LIST on a sound type and then found the
PRESETS knob walking those sounds alone ("no presets any more").

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-12 00:20:01 +00:00
Claude c68f258a2a Legibility: the small face is Chakra Petch with 9 px capitals (the 5 x 7 pixel face retired)
AF_X (labels, tabs, the header's words, the breadcrumb, the panels' captions:
about 230 places) was a 1-bit 5 x 7 face with 7 px capitals. It is now the S face
itself (Chakra Petch, 9 px capitals, antialiased) drawn 2 rows higher (aafont_t
rise), so a place set for the pixel face keeps its top row and grows downward.
The pixel face and its blitter are no longer compiled (tools/gen_px_font.py stays
for the navigation map); cv_text_up turns the Huffman-coded glyphs (cv_turn).

So that the bigger letters fit, and to show fewer things, each larger:
- Tabs: at most five at a time, the five round the one lit, a mark at the side
  where more lie (SEQ and FX had eight tabs of 27 px); GLO's GLOBAL / SYSTEM tabs
  GLOB / SYS.
- MENU: a tab lists eight rows at a time from the knobs' set, 17 apart in S (its
  own name and the "ALGO: TAB . SELECT: ROW" line over them are gone: the tabs
  and the breadcrumb say both); the overview tiles show each tab's name and how
  many rows it has (they listed every row 7 px apart).
- Cards: the label a row or two higher (capitals rows 3..11; AIR 2..10); labels
  BPM LK, HARM, SYLL; COLOR's CONTRAST reads CONTR on its card (whole in the rows
  and chips).
- Removed, as their cards say them: SCL KEY's QUANT and ALL TR at the wheel's
  right; the value inside BEING's organ rings (cut to five letters).
- The footer's breadcrumb a row higher; DICE's dialog buttons two 9 px lines.
- GENE's panel no longer draws the song's length under its own words.

ui_render: 196 findings (248 before; 9 on JIANT, 13 before), ellipsised free
texts 628 (1224), alignment 0. ui_test and text_ref_test follow (tab window,
rise). Image: 3848 B free (1252 B freed).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-11 23:48:28 +00:00
Claude 406bc122f5 COLOR: each palette its own four knob colours on the cards
The owner's decision: a card's value and gauge take the palette's colours, not
JIANT's violet / yellow / blue / red everywhere. tools/gen_ui_palettes.py KNOBS is
per palette again: JIANT its 0.6 four (and, as before, its cards the value's
heat); SELVA green lime teal amber; CONTRAST lilac and three pale tints; BRASA
ember apricot cream coral; ABISAL cyan aqua periwinkle ice; HUESO bone, two greys
and its orange; NEON magenta violet yellow pink. Each 4.5 or more on BG, SURF and
RAISE, apart from each other and (but HUESO's orange) from the ACCENT.

heat_on (the cards' heat by value) is JIANT's alone again; the thermal ramp stays
on the beings, the notes and the bars in all seven.

Tests: theme_test (the four per palette, their contrast, apart), ui_test (another
palette: the knob's own colour), ratchet_test (it read a card's value as TEXT: it
failed since the palettes commit, the tests' palette being JIANT now).
Manuals, README.

Image: 2596 B free (212 B for the table and the palette test back).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-11 23:27:37 +00:00
Claude 85a70cf089 COLORS: no panel box (the picture on the background, as AIR)
draw_graph no longer draws the rounded SURF panel (the lens's 4..236 and the plain
3..237); while the panel draws, ux.surf is ux.bg, so what its inside clears and
writes on T_SURF lands on the background, and it is put back before the toast.
Cells, tiles and cards are unchanged; the mixer, the dialogs and LARGE's tall cards
keep SURF.

Tests (ui_test): LARGE's strip rows and HOME's water read BG; SCOPE's gap counted
on BG. ui_render: 248 findings as before, alignment 0. Manuals, README.

Image: 2808 B free (28 B freed).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-11 23:06:47 +00:00
Claude 4015006989 STYLE retired: FLAT is the one style (LINE and its menu row removed)
MENU > DISPLAY has no STYLE row: COLOR SKIN SCOPE LARGE ANIM LEDS SCREEN OFF, the
rows after it renumbered in order (35 rows). LINE's drawing is gone: the 1 px
dividers between the strips (draw_rules, lcd_rule, cv_rule), its square corners,
its outlined count-in cells, ux.style and T_RULE.

Settings: the byte STYLE lived in (engine 15's 29) is written 0 on import, so a
saved LINE (or the PIXEL of 1.0.1) loads as FLAT and older firmware reads FLAT;
the record's size and version are unchanged; the byte is not reused.
Editor: MENU_DESC index 1 / id 1 still answers STYLE with FLAT alone and a
MENU_SET of it answers rc 0, FLAT, so every index and id keeps its setting.

Also drops draw_frame's branch for the knob row under the panel (BOTTOM's, dead
since the skins went).

Tests: ui_test (no STYLE row, the row counts, every byte value loads as FLAT,
idempotent), ui_render (one style), theme_test, editor_test. Manuals (EN, ES),
README, EDITOR_PROTOCOL.

Image: 2780 B free (472 B freed).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-11 23:02:47 +00:00
Claude a08e854475 SKIN: only AIR and COLORS (BOTTOM and HUD retired)
MENU > DISPLAY > SKIN offers AIR and COLORS. The stored values stay (0 COLORS,
3 AIR): a saved BOTTOM (1) or HUD (2), or an unknown byte, reads as COLORS on
import and live; the settings record is unchanged, and older firmware reads 0 and 3
as before.

Removed: BOTTOM's layout (the knob row at the foot, its tab pill, its rules, the
menu's panel under the tabs) and HUD's HOME geometry. AIR keeps what it shares with
them (the floating words' outline, the cell blitter of its HOME, the fading row).

Tests: ui_test (the menu's two values, the migration of every byte value, the HUD
checks carried to AIR's HOME), ui_render (COLORS and AIR; AIR's renders in every
palette), editor_test, ramp_test. Manuals (EN, ES), README, cheat sheet text,
EDITOR_PROTOCOL.

Image: 2308 B free (316 B freed).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-11 22:51:30 +00:00
Claude 65d0d64cdf COLOR: the family of seven palettes (JIANT SELVA CONTRAST BRASA ABISAL HUESO NEON)
MENU > DISPLAY > COLOR offers exactly seven, all the owner's: JIANT (unchanged, the
default) and six of its own. The ten inherited from Felucca (GREY GREEN AMBER ICE
VIOLET ROSE PAPER HI-CON NIGHT MONO) are gone.

- tools/gen_ui_palettes.py: a palette is twelve stored tokens (bg surf text theme
  accent mid dim line sel tint rec raise); JIANT's are its five colours and the
  blends it has had since 0.8.9 (bit for bit), the six new ones the owner's hex
  values at the nearest RGB565. INK is black in all. NEON's SEL a step lighter than
  set (#D43589) so black INK on it passes 4.5.
- gfx.c palette_set copies the twelve; KEY, LANE, GRID stay derived. The GREY
  (gray axis), MONO (black and white) and PAPER (light) paths are removed: ux.mono,
  ux.light, the light coverage curve, ux_gray / ux_luma, the knob table per palette.
- The thermal ramp (beings, notes, bars, card values) in every palette.
- Saved ids: UI_PAL_TAG + the place the nearest palette had up to V10.7.18, so old
  settings land on the nearest of the family (GREY MONO NIGHT -> HUESO, GREEN ->
  SELVA, AMBER ROSE -> BRASA, ICE -> ABISAL, VIOLET -> JIANT, PAPER HI-CON ->
  CONTRAST) and older firmware reads new settings as its nearest palette (NEON: a
  new id, its fallback). The record's format and version are unchanged.
- A card value too long for S (COLOR's CONTRAST) is set whole in the small face;
  COLOR's chips fit it. An arrange row of an empty section is a well (DIM on the
  section's colour could not be read).
- Tests: theme_test (the family, the stored tokens, the knobs' contrast; its probe
  glyph in the byte-packed format, which is what failed before), settings_test and
  backup_test (the migration), ui_test, ui_render (gray / neutral lints replaced by
  a contrast lint of every ink drawn), editor_test, the web mock.
- Manuals (EN, ES), README, cheat sheet text, EDITOR_PROTOCOL.

Image: 1992 B free (was 256).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-11 22:42:46 +00:00
Claude 513ed47ce0 V10.7.18: merge the public V10.7.17 (MY LOOP zero-note hang, hidden tracks) with ROOM's feedback delay network and the copyright notices
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-11 21:46:08 +00:00
Claude 91c25c542a V10.7.17: ROOM as a feedback delay network; copyright notices set right
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-11 20:11:20 +00:00
Claude 4815517085 V10.7.16: MY LOOP 2 (dark stays dark, seed reharmonization, genre DNA), reverb pre-delay without aliasing
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-10 04:10:59 +00:00
Claude 77fbd4b892 GEN MY LOOP 2: a dark loop stays dark, a seed its own harmony, the genre's DNA around the drop
The owner, after the device: every reroll the same (major) chords, the aggression gone, GENRE only the presets.
Why: gls_hear knew four modes (MAJ MIN DOR MIX) and kept the first on a tie, MAJ first, so a phrygian riff (E F)
came out F major and a power riff without a third major; its chords were the one detected progression for every seed;
and B C D were the loop's own material, so the genre gave only the added parts' sounds and the rows.

- the key: six modes (PHRY MIN HARM DOR MIX MAJ); where the loop leaves two alike, the genre's own, then minor, the
  darker where a loop track is distorted (DIST) or the genre heavy (gls.dark);
- gls_reharm: a chord a segment that holds the loop's notes there (its tones sounding, the bass one of them, no note a
  semitone off them louder than half its tones but the tonic's b2/b6), a quarter of the seeds the heard one, else drawn
  by fit, the genre's chord there and a dark loop's minor chords likelier (EXPLORE wider); power chords where the
  genre plays them;
- the verse (B) the genre's drums (its map on the loop's kit), bass, chords, arp, lead on the loop's sounds over the
  genre's own progression (gls.v, gen_pick's, checked in the loop's mode with its colours); the build (C) the genre's
  parts on the drop's chords, its drums the verse's or the loop's; the break (D) on the genre's or the drop's chords;
- the rows a seed's: the club's or the arc's plan, the verse in the groove and in a seed's intros and outros, a seed's
  lengths and section energies; EXPLORE a genre a seed near the loop's tempo;
- the drop untouched (the loop as it is); normal GEN byte-identical (every genre, EXPLORE, RANDOM x 4 seeds x LOOP
  PARTS SONG fingerprinted against a663669d).

Room (lossless): PROX's texts packed (BP_S's rows padded to 28 B: -246 B in the Bluetooth segment), gsplit, gls_role,
gls_any, gls_begin into the segment. App 1084 -> 368 B free, the segment 88 -> 84 B free.
tests/loop_song_test.c: the modes of dark loops, every drop chord holding the loop's notes, progressions and songs over
16 seeds, mostly not major, the verse's drums the genre's, EXPLORE's genres. Manual EN / ES.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-10 03:40:15 +00:00
Claude a663669d19 V10.7.15: stuck notes fixed + PANIC (hold PLAY), COMP TRIG, EDIT SOUND without the side list
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-10 00:12:00 +00:00
Claude a73203899d Merge branch 'codex/comp-trig' into codex/swarm
# Conflicts:
#	tools/audio_layout.txt
2026-11-10 00:10:38 +00:00
Claude f88f2fe1dd COMP: TRIG, an Elektron-style trig condition (the step plays only when its CONDITION holds)
KNOB 1's last ACTION on COMP / COMP 2 and GLO > COMPS. The ACTION nibble is full
(0..15), so TRIG is stored as MUTE with VALUE 2 (CV_MUTE_TRIG): comp_run / gl_eval
invert the condition's result for it (a MUTE of the opposite passes, LENGTH the same,
no CUT; PRE still reads the condition). CA_TRIG (16) is only KNOB 1's place and the
card's name. No new code in the save format; firmware before this loads a TRIG as a
MUTE CUT with its condition as it is. Tests (comp_test trig), MANUAL en / es,
cheatsheet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-10 00:10:00 +00:00
Claude 4a214b91e1 Stuck notes: a key-up / note-off ends exactly what its press started; PANIC on PLAY held
- SCENE: each held key keeps the notes it started per track (8 slots, pool); the key-up
  ends those instead of recomputing from the current octave / roles / chord / scale.
  A key that QUANT WHITE silences on a track plays nothing there (it was note 255,
  stored as 0, its key-up lost).
- MIDI OUT of the keys / SCENE / LATCH: a per-track bitset of the notes sent; a note-off
  goes iff its note-on went, whatever MIDI OUT or the ARP are by the key-up.
- LATCH: a key latches only if HOLD was on at its press; notes past the 16-note list are
  let go at the key-up (both hung for good).
- Engine load under held notes: the arp's note is ended before the carry-over, and MIDI
  ownership is kept for the carried notes (their note-offs never reached them).
- CC120 / CC123: latched notes and the arp's note get their MIDI OUT note-offs.
- PANIC: PLAY held 0.7 s stops the transport, kills every voice, forgets keys, SCENE keys,
  latches, arps, punch-in repeats and MIDI owners, sends every pending note-off and CC123
  on channels 1-6. Documented in MANUAL.md / MANUAL.es.md.
- The cold MIDI overflow / panic handling moved out of RAM code (mo_block), the key-up
  through a pointer as SCENE's: RAM code 32748 -> 32564 B.
- tests/stuck_test.c: held key / MIDI note across every state change, MIDI IN cases,
  sequencer, PANIC, and a random-play fuzz.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-09 23:59:52 +00:00
Claude f3f4effcfd V10.7.14: GENE FORM MY LOOP (a loop made a whole song)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-09 22:17:24 +00:00
Claude ca2b30fb4a GEN FORM MY LOOP: the loop that plays made a whole song (key and chords heard, new parts on empty tracks, SONG's rows)
GENE 1's FORM has a fourth value, MY LOOP (gen_loop.c). OCT+ keeps the loop's tracks as they are
(steps, sounds, mix) as section A, the drop, and:
- hears its key (MAJ MIN DOR MIX, each pitch class by length, velocity and downbeat, the bass as the
  tonic's hint; DRUM-X's tonal lanes and an EXTENDED kit's chromatic run too) and a chord a bar (half a
  bar in a one-bar loop: the mode's triad heard most, the bass the root's hint, a 7th where it sounds),
  GEN's plan then those chords (no tone: the genre's own key and progression);
- adds, only on empty tracks and by GENE 2's BASS CHORDS ARP (AUTO: the genre's), a bass, chords on
  the heard progression and a counter-melody made of the loop's melody (displaced, its first half
  answered, inverted round its first note or kept to the beats, an octave away, in key); the genre's
  sounds and mix for them; none empty: NO EMPTY TRACK: ARRANGED;
- arranges with SONG's rows (club plan or arc; RANDOM / EXPLORE by tempo and kicks): thinned intro
  and outro drums, layers by the genre's priorities, the build's roll on the loop's own snare, clap or
  rim with the high-pass and the chords' filter, the break, ARRANGE's FILL, every drop row the loop
  whole, the player's muted tracks kept muted.
OCT+ again: another seed from the same loop (its added parts made again); UNDO (GLO + G4): the loop as
it was in LOOP mode. Normal GEN unchanged (fingerprints of every genre x 4 seeds x 3 forms identical).
tests/loop_song_test.c (in run_tests.sh); manual EN / ES.

gls_hear and gls_counter live in the Bluetooth segment (BTAPP: GEN runs only once bt_hw_seg() said
it is this build's; else BLUETOOTH MISSING, as before). App 3452 -> 1708 B free, the BT segment
1620 -> 92 B free; tools/audio_layout.txt recorded anew (FELUCCA_REPIN=keep).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-09 21:56:58 +00:00
Claude 132546b5b2 Room for GENE's FORM MY LOOP (the owner's choice): old project formats, old preset conversions and ADD's creature removed
- FUN7 .. FUNB projects (Felucca 1.0 / 1.1, JIANT up to 0.5) are no longer read: proj_unpack_bt (in
  the Bluetooth segment) gone; such a slot at power-on: OLD PROJECT: NOT READ, the slot empty (its
  flash kept until saved over); a backup's such project refused as FUN6's. Open them in V10.7.13 or
  earlier and save again there to convert (the web editor cannot).
- up_migrate: SAMPLE PERC -> DRUM, TRIO -> ANALOG, LOFI's chips -> ANALOG, 0.3 / 0.4 value
  conversions gone (records load as stored; a retired engine's plays as ANALOG, eng_live); the VEL
  100 % mark of V10.7.6 kept.
- proj_phys_gone: a retired engine's track gets ANALOG's first preset (its EDIT values and envelope),
  no nearest-sound conversion (TRIO, LOFI chips), its motion as it was.
- ADD's creature (MEDUSA) gone: ADD draws the being, as engines without their own picture do.
Tests updated for what is lost (project, motion, ratchet, backup, user presets, DRUM-X octaves, UI); manual EN / ES
"Before you update". App 1032 -> 3452 B free, the BT segment 8 -> 1620 B free.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-09 21:56:58 +00:00
Claude 590a87cf5e V10.7.13: VOICE words clearer and more fluid
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-09 20:17:15 +00:00
Claude 25a9c39601 V10.7.12: users' bug reports (REC in SONG mode, master EQ saving, macOS USB audio, PRESETS LIST hint)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-09 19:47:03 +00:00
Claude dfb9635163 V10.7.11: T3 power-on sound PHASE INIT SAW (the owner), not STRING
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-09 18:32:35 +00:00
Claude a7779518cc V10.7.11: the owner's power-on sounds (T2 ANALOG PLUCK, T3 PHASE STRING, T4 FM6 FM BASS, T5 VOICE CHANT)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-09 18:27:05 +00:00
Claude 2c453312df V10.7.10: DRUM-X kits dry, EXTENDED FX keys without forced delay/reverb, velocity wait capped (none on DRUM), BLUETOOTH MISSING message
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-09 17:41:18 +00:00
Claude 2b527cfeb4 Key velocity: the wait capped at 2.2 ms, none on DRUM tracks; kits dry, no forced FX on EXTENDED's FX keys; MISSING instead of NO SEG
- vel.c / vel_kb.h / hal fm1_input.h: a press's wait for its strike is bounded in scan ticks (VK_WAIT_T 22 = 2.2 ms,
  vel_tick from a new FM1_INPUT_TICK hook after the sample is taken), whatever the ADC does (timeouts dropped readings
  and the wait ran on, unbounded: 30 % timed out gave max 12.1 ms, the converter dead lost 381 of 400 presses).
  vel_wait (per sample) gone. The velocity with no reading: the key's own recent mean (vs.km), else every key's.
- A key going to a DRUM track never waits (seq.c kb_drum_keys, as keyboard_block routes it: the selected track, KEY
  SPLIT's halves, the DRUM grid; vel_poll each pass into vs.now). No setting.
- tests/vel_test.c: latency with 0/30/70/100 % conversions timing out (max 2.2 ms), DRUM 0 ms, soft/normal/hard apart
  (4b); vel_seq_test 8: the no-wait keys match where keyboard_block sends each key's note.
- drumx_voice.c: every factory kit's SENDs 0 (909 CLUB .. LATIN PERC had reverb 4..34 / delay 10..40 on snare, clap,
  toms, rim, bell); saved projects keep their own (project.c dx_snd), a kit/preset load or a new project is dry.
  No golden render changed (the preset renders do not hash the buses).
- eng_drum.c DX_EXT_FX (owner's decision): DXF_DLY / DXF_REV gone, the twelve FX hits are timbre variants only
  (drum_send: the kit's own SEND); before, OCT -2 keys F#, A#, B, E sent their hit at 63/63 into the delay (1/8,
  FB 60 % by default) and F, G, A, C, D into the reverb, with the track's FX at 0.
- bt.c: BLUETOOTH reads MISSING (was NO SEG); turning it on, opening GEN, GO, DICE SEQ, song saves and USB HOST
  without the segment say BLUETOOTH PART MISSING then REINSTALL: JIANT INSTALLER (ui.c seg_missing). ui_test checks
  both fit the header and MISSING the card.
- MANUAL.md / .es.md: the capped wait and DRUM's none, the dry kits, FX KIT without delay/reverb, a MISSING / NO SEG
  troubleshooting entry; README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-09 17:26:20 +00:00
Claude 682924dffa V10.7.9: DRUM-X güiro (GR) and LATIN PERC kit; CUMBIA güiro and RKT, REGGAETON harder, BAILE FUNK minimal
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-09 15:45:17 +00:00
Claude cb38cbc07e GENE latin: BAILE FUNK tom shots and cowbells, REGGAETON harder with space and arps, CUMBIA's guiro (DRUM-X filter GR) and villera as RKT; DRUM-X kit LATIN PERC
- DRUM-X: noise filter GR (mode filter 3, rejected by older firmware's kit check, so old kits are bit-identical):
  a band-pass whose hit is a stroke of ridge ticks at 24..64 Hz (PITCH), held for SCRAPE (PMOD's slot, 0..173 ms)
  times the hit's velocity^4 (accent = long "rrrrip", soft = "chk"); on any lane. SOUND 3 MODE 24 -> 32 values,
  SOUND's PMOD card reads SCRAPE. The hit's velocity in dx_voice_t's padding (sv).
- Factory kit LATIN PERC (11th DRUM preset): bombo, timbal, llamador, GUIRO (closed hat), maracas, conga, clave, cowbell.
- CUMBIA: kits take LATIN PERC's llamador, guiro (SCRAPE per throw), maracas, conga, clave; sonidera guiro long on the
  "e", short on the "and" and on 2's/4's "a"; villera rebuilt as RKT after the owner's reference (kick + clap on every
  quarter, guiro X..x with the "a" pulled ~28 ms early via MICRO, conga on the "and"s, bass/keys low).
- REGGAETON: GSP_HEAVY (kit, 808, master driven; romantico clean), 808 gate 70, pad 25 and under, arp 70 (BROKEN,
  CYCLE3), hook 30, drier, drums up in GMIX, LATIN PERC conga/clave, a perc pickup on 13.
- BAILE FUNK: claps/hats replaced by tom shots on 3 6 12 (low tom lane, high = llamador on the clap lane) and
  cowbells; no chords; 808 archetypes short with rests and an octave glide (BA_TAMBOR, BA_MANDEL, new BA_FUNK3),
  gate 55, bass up in GMIX, chops 30, drier.
- Other genres' dumps (12 seeds) and audio identical to V10.7.7; EXPLORE differs only where it draws the BAILE map.
- Flash: image 583440 B (896 B free; was 583992 / 344): net -552 B, from noinline on single-call helpers inlined into
  big functions (layer_cards, graph_morph, graph_system, eu_*, gidm_edit, gx_sound, pr_follow, ...).
- Tests: gen_test V10.7.8 checks (guiro long/short, sonidera syncopation, RKT, reggaeton heavy/arps, baile tom shots,
  cowbells, no snare/clap/hats/chords, short gliding 808), OCT+ test seeded from a fixed state; drumx_test GR;
  ui_test 11 kits, MODE to GR; web editor LATIN PERC. Docs: MANUAL (en/es), TONIC-DRUMX, EDITOR_PROTOCOL.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-09 15:41:32 +00:00
Claude 1c55dd1b58 V10.7.8: merge KEY SPLIT scope and thermal bars (V10.7.7) with the bug review fixes (VEL mark, STOP after a song, FM6 bells, lighter sequencer, regress re-pinned)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-09 14:42:18 +00:00
Claude c83961bff0 V10.7.7: GLO > KEY SPLIT, KEY SPLIT 2: the scope no longer freezes (a YouTube user)
GR_SPLIT / GR_SPLIT2 fall to draw_graph's default and draw graph_scope, but
graph_signature did not mix anim_fr for them: the scope was drawn once on
entering the page and then held. SPLIT_PAGE(pg) now joins GR_NONE's clause
(redrawn every other frame, as every other scope page).

ui_test: test_split_scope (run last, H2 untouched): while a sequence plays the
panel changes on 40 of 80 frames (59129 px) and equals a whole redraw; silent,
still. Before: 0 of 80 frames, 1539 px off a whole redraw.
tools/audio_layout.txt recorded by the build (FELUCCA_REPIN=keep); image +16 B.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-09 13:27:32 +00:00
Claude eee26c9504 Manuals (EN/ES): STOP after a held sound brings the music before PLAY back with the sounds over it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-09 12:58:00 +00:00
Claude 6b2fb81159 V10.7.6: bug review (NUDGE step keeps ties, COMP MOVE card, editor dotted delays, the whole test suite runs again)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-09 12:36:08 +00:00
Claude 3e4ebe1d36 NUDGE step (V10.7.4): a note moves with its TIEs; the neighbour's note keeps its length
V10.7.4 traded the cursor step with the next one: a held note (NOTE TIE..) moved
one step lost its length, and the TIE left behind lengthened the note before it
(N64 N60 T -> left -> N60 N64 T). Now the cursor's note (its NOTE and TIEs) trades
places with the neighbouring note or rest whole; locks and automation follow
(tl_order); UNDO puts it back. At step 1 / LEN it stays (a wrap cannot carry
TIEs). New ui_test check. 144 B.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-09 12:01:26 +00:00
Claude cf111270bc V10.7.5: CUMBIA after the Compás reference and the owner's loops (syncopated basses, kick 1 and 3, güiro phases, llamador/conga/bell, song break)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-09 02:03:40 +00:00