Commit Graph
206 Commits
Author SHA1 Message Date
Claude 414aac8cd4 0.9.8: clean USB stems (and JIANT Stems 1.1) + VOICE sings softer, merged with 0.9.7
- FELUCCA_VERSION v0.9.8; README: one v0.9.8 section (clean USB stems, JIANT Stems 1.1, VOICE singing) above
  v0.9.7, status line v0.9.8, memory: image 562700 B of 581564, .data + .bss 79556 B, pool spare 10816 B,
  RAM code 22460 B.
- The stems fix ships in 0.9.8 (0.9.7 still had the 720-byte endpoint): the app's old-firmware message, the
  manuals, android/README and the fix's comments say 0.9.8 / "0.9.7 or older".
- Navigation map and cheat sheets regenerated at v0.9.8.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-18 05:07:54 +00:00
Claude 21507360b9 0.9.7: docs: AIR, SCOPE and HOME's faces in the manuals (EN / ES), README v0.9.7, nav map, cheat sheets, README images
- MANUAL.md / MANUAL.es.md: the skins section (AIR first, the default of new settings, saved settings keeping theirs;
  LARGE on AIR), the tabs' dash on AIR, HOME's faces (ECO's being in three isotherms by its level, the face, asleep,
  the MUTATE cue instead of the critters and the ring of dots), the MENU (26 rows, DISPLAY 8, SKIN 2/26), the table's
  SKIN row (AIR COLORS BOTTOM HUD) and a SCOPE row (OFF by default), SCOPE in the creatures' section.
- README: status v0.9.7, the skins, HOME's faces, the v0.9.7 changelog (memory, tests).
- FELUCCA_VERSION "v0.9.7"; the navigation map (EN / ES) and the cheat sheets regenerated (the MENU's skins and SCOPE).
- EDITOR_PROTOCOL.md: JIANT's MENU ids 18..22 (21 SKIN in the menu's new order, 22 SCOPE).
- README images (tools/gen_readme_hero.py) from the default now: AIR on JIANT, SCOPE OFF (the creature on the whole
  panel), COLORS as the other skin shown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-18 03:54:50 +00:00
Claude c833fca4c1 0.9.7: flash: 15.2 KB back (image 575384 -> 559864 B), no feature gone, the sound and every screen bit for bit
The main-loop code's repeated address and table work made calls (ui.c): TSEL (&trk[song.sel], a multiply and an add in
place at ~230 sites) a call from ui.c on (core.h's stays for the sound files before it; -5.0 KB), VAL and RATIO (-2.7 KB),
a track's engine (t->eng_req % NENGINES, 74 sites) and its table (-0.7 KB). The graphs no page reaches since the lenses
gone, each checked against the lenses' code and the coverage of ui_test and ui_render: SEQ > SONG's list (hidden, SAVE >
ARRANGE draws its own), PATTERN's 64 bars and LARGE's step strip (SEQ's cards are never tall), SCL's twelve keys, and
the draw_graph cases LFO MSEQ (MOD's lens), the tech graphs of LFO DEST, VOICE and MSEQ 2 (-3.3 KB). GEN's drum maps,
the throws' pools and DICE's bars, kept as text in gen_tables.c / song_dice.c, packed by a new generator
(tools/gen_drum_maps.py: each lane once, 16 levels a nibble or 2 bits a step) and the bass archetypes a byte a step
(-2.9 KB). The sound files' main-loop functions built for size too (size_fns.py: FM6's patch store, the kit's names,
MASTER's boot; what an interrupt reaches stays -Os).

Checked: every non-minsize function's disassembly as before (addresses aside: the audio ISR, the render loops, the hot
RAM code identical, target_budget's counts unchanged); 225,549 ui_render screens hashed pixel for pixel identical; GEN's
pieces for every genre and seed and SEQ's dice identical (a hash of every step and parameter); the packed tables decode
back to the text; cpu_vg's counts equal HEAD's; goldens unchanged. RAM .data+.bss 79172 B, pool spare 10880 B, RAM code
22472 B, all as before. ALL HOST TESTS PASSED.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-18 02:48:05 +00:00
Claude 56b0a3c77a 0.9.6: README, manuals (EN / ES), cheat sheets and the navigation map at v0.9.6: every engine draws its own creature
- FELUCCA_VERSION "v0.9.6"; README status and v0.9.6 section (the six creatures, cost, tests), the engine pages and
  FM6's operator pages described with their pictures.
- MANUAL / MANUAL.es: "Six more engines draw their own creature (0.9.6)", BEING and EDIT > SOUND, FM6's OPERATOR /
  OP ENV / OPERATOR 2 panel.
- Cheat sheets (tools/gen_cheatsheets.py, rendered) with each engine's picture; navigation map regenerated
  (tools/gen_nav_map.py).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-18 01:23:33 +00:00
Claude a143b3d79d 0.9.4: VOICE, ANIMAL and DRUM-X draw their own creature: a CT head that sings, a bird / insect / mammal that metamorphoses, the kit as little beings that squash and shout
- VOICE (ui_engvis.c vx_voice): a sagittal CT of a head whose tongue, jaw, lips, velum and vocal folds follow the
  phoneme sung (sing_view; VOWEL -> VOWEL2 over TALK without WORDS), on EDIT > SOUND and HOME > BEING.
- ANIMAL (vx_animal): one set of points mixed between a bird, an insect and a mammal, gliding to MODE's animal,
  leaned by SIZE, stirred by CHAOS; the call opens the beak, swells the throat, buzzes the wings.
- DRUM-X (vx_kit, "BICHOS" from the mock-up): each drum a small being with eyes and a mouth arranged as a kit (kick
  large in the middle, snare on its stand, toms on little legs, hi-hat two shells, crash on a stem, cowbell, two
  clappers, the rim a spark); a hit squashes its being, shuts its eyes and opens its mouth, as hard as the lane's
  envelope and springing back with its decay; GHOST small, FLAM twice (a shadow for the hit to come), ratchets
  repeated. On EDIT > KIT (EDIT 1: the sound last struck named), SOUND 1..4 (the sound edited lit and named) and
  HOME > BEING; KIT 2, KIT 3 and X-MOD keep the colony. JIANT palette: the mock-up's thermal ramp (blue / violet
  outlines, orange core, cyan floor); the other palettes as the beings, GREY / MONO grey, muted sounds dim.
- State vxs in .pool (160 B, spare 12512 B), image 559884 B of 581564; nothing in the audio path (goldens, cpu_vg,
  target budgets unchanged). ui_render scenes (each lane, ghost, flam, ratchet, silent, SOUND 1..4, HOME), ui_test:
  moving with the sound, still in silence, KIT / SOUND vs the colony pages, a ratchet's squashes.
- Docs: README, MANUAL (EN / ES), cheat sheets, navigation map at v0.9.4.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 23:19:10 +00:00
Claude 8d3e75f12d 0.9.3: merge the navigation map (EN/ES) into README, manuals and landing; the map shows SEQ+D5 REVERT and GLO+B4 REVERT ALL; tests check the map against the firmware's chains
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 19:57:24 +00:00
Claude 35d8de56a0 0.9.3: MUTATE can go back: BACK TO BEFORE MUTATE? when a track's MUTATE is turned off, SEQ + D5 REVERT, GLO + B4 REVERT ALL
A YouTube comment asked whether the sound from before a mutation can come back
once MUTATE is off. MUTATE already keeps an anchor, so a track can now return
to it:
- When a track's SOUND and PATTERN are both turned OFF after it mutated, and it
  differs from the anchor, the NOTICE asks BACK TO BEFORE MUTATE? OCT+ BACK
  restores the track's sound and steps from the anchor; OCT- KEEP leaves it.
- SEQ + D5 REVERT (the selected track) and GLO + B4 REVERT ALL (next to
  FREEZE) work at any time. The MUTATE page's OCT+/OCT- stay KEEP/FREEZE.
- Only what MUTATE changes is restored (mut_sound's values and the steps).
  LEVEL, PAN, MUTE, the pattern settings and other tracks are left alone. A
  revert goes through UNDO (GLO + G4). After a load or NEW PROJECT, REVERT
  shows NO ANCHOR.
- Tests: ui_test (dialog, OCT+ byte-exact, OCT- keeps, UNDO/redo, D5, B4, no
  question when unchanged, NO ANCHOR); ui_render dialog scene in all skins.
  Goldens and cpu_vg are unchanged. RAM +16 B, image +1456 B.
- FELUCCA_VERSION v0.9.3; README, manuals (MUTATE paragraphs), cheat sheet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 19:55:52 +00:00
Claude 2aeb8fe5ae docs: navigation map (EN/ES) in README, manuals and landing; README and landing up to 0.9.2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 19:37:28 +00:00
Claude c22b5c3a13 0.9.2: FELUCCA_VERSION v0.9.2; README, manuals (navigation around the six rules), cheat sheets with a rules card
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 19:15:14 +00:00
Claude c5f9b17255 0.9.1: REC off the grid 4 x finer: a step's MICRO in 64ths (-32 .. +31), recorded, played and saved
- core.h ST_MICRO / ST_MICRO_SET (inline now): the sixteenth below stays in cwhen's bits 4-7 as always, the 64ths above
  it (0..3) in two free bits of the flags (SF_MFINE, bits 5-6): step_t is still 20 bytes, no struct or static moved
  (its 6 x 64 in trk[], cvs / cva / cvp / rh_bak, the project scratch, the section stage, tl_src, gen_keep, dxo_bak,
  the stack copies: 0 B; a byte more would have been ~478 B of main RAM and shifted track_t after step[]).
- seq.c: live recording with REC Q under 100 % writes 64ths (rounded; REC Q 0 % where you played, 50 % half way);
  playback in 64ths (a late step's queue, the early end of the step before). Flags written whole keep the 64ths
  (rec_hold, load_pat16, GEN, the dice, the editor's STEP_SET); gen.c's sixteenths x 4 (its pieces as before).
- SEQ > NOTE's KNOB 4 a 64th a detent (accelerated), the card "+5/64", the big step's chip, the piano roll.
- FUNC: the 64ths in a block after the others ('M' 'F': the tracks, 2 bits a step), only when a step has some; a
  project of before plays and saves exactly as with 0.9.0 (its sixteenths x 4); firmware before 0.9.1 loads a newer one
  and plays each step at the sixteenth at or below (up to 3/64 sooner).
- Tests: micro_test.c (every value; an old project sample for sample and byte for byte as 0.9.0; recording within
  1/64 of a step at 72 / 120 / 174 BPM on 1/8 1/16 1/32 16T and swung, worst 0.0088 of a step; playback within a
  sample of MICRO's place; REC Q 50 % / 100 %; save / load and the block missing); ratchet_test's TIMING in 64ths;
  editor_test (STEP_SET keeps MICRO); ui_render sweeps every MICRO. Manuals, README, protocol, cheat sheets.
- CPU / audio: goldens, cpu_vg and target budgets as before. Image 548444 B (+564), RAM unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 16:10:55 +00:00
Claude 700d893a84 0.9.1: a master DJ FILTER on GLO > MIXER KNOB 4 (was the track's MUTE): LP / HP, out of the chain in the middle
- fx.c djf_block: one bipolar knob on the whole mix just before CLIP and the leveler. 0: not run at all (the mix bit
  for bit 0.9.0's, the CPU too: one test a block). Below 0 a low-pass sweeping down (~15 kHz .. ~70 Hz), above 0 a
  high-pass sweeping up (~30 Hz .. ~6 kHz), on CUTOFF_HZ's log scale, Q 0.72 near the middle to 1.1 at the ends. A
  trapezoidal SVF in 64-bit products, Q28 coefficients, the mix 16 x finer in its states (tsvf's Q13 left a -31 dB
  floor of highs through the closed low-pass); the cutoff glides (~6 ms), coefficients ramp every sample; ~5.8 ms
  crossfades into / out of the chain and between sides: no click crossing the middle; the knob stops there once.
  Its state in its own .bss section, so the merged statics the ISR reads keep their places (no codegen change in
  any hot function: only mix_block's call and motion_step's branch).
- G_DJF in G_NAME's slot (17: "--", 0..0, never set): saved in the header, every older project loads it OFF;
  autosave and saves keep the knob's value, not its automation's.
- Automation: MOT_DJF (motion id 127) records on the selected track while recording, plays at its step, a stop or
  the loop's restart brings the knob's value back; no lock. FUNC keeps those records in a block after the lyrics
  ('M' 'G'), so firmware before 0.9.1 loads the project without them. AUTO LIST and the web editor name them.
- The card: "2.0k LP" / "400 HP" / "OFF" and a small response curve where the bar was (BOTTOM / HUD: 5 rows).
- Mutes stay on the GLO layer's black keys (all six tracks, latched); the MIXER keeps the MUTE badge.
- No MIDI CC: no GLO parameter has one. The editor's SET of global 17 records like the knob; its web page.
- CPU: centred nothing (goldens, cpu_vg, target budgets as 0.9.0); on: target djf_block 200, song/cputest.djf
  +1.7 % on the host. RAM +52 B (79124 of 98304), image 547880 B (+2876).
- Tests: djf_test.c (centred bit for bit 0.9.0's render, LP / HP responses, clicks, automation round trip, old
  projects); ui_test MIXER K4; ui_render sweeps every value; ui_test's HUD beings check no longer depends on how
  the tests before moved them. FELUCCA_VERSION v0.9.1; README, manuals, protocol, cheat sheets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 15:56:41 +00:00
Claude c056c54924 Merge branch 'mem-opt-090' into ccr-18c0aefe-zpqwro 2026-10-17 14:20:23 +00:00
Claude 4db32dc4b8 0.9.0: HUD fixed: FELUCCA_VERSION v0.9.0; README, manuals (HUD's fade and outline), cheat sheets
- README: the v0.9.0 section, the status line.
- MANUAL.md / MANUAL.es.md: HUD's knob row fades on HOME only, comes back on a page / level / set change; 2 px outline.
- Cheat sheets regenerated (tools/gen_cheatsheets.py, tools/render_cheatsheets.mjs): the version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 13:52:58 +00:00
Claude 135b0ac069 0.9.0: flash: the keycaps Huffman-coded (-2.4 KB)
The 28 keycaps / badges were 4-bit maps, 2 px a byte (4792 B): long runs of one value (0 outside, 5 the fill). Now
tools/gen_aa_keycaps.py codes them as the faces M and L are (gen_aa_font.huff_pack, a run of up to 16 of any value
here: huff_pack / huff_symbols take the values that run, the faces' 0 and 15 by default) and checks each decodes
back; src/gfx.c cv_keycap draws them with cv_alpha_hc and KC_HC (its decoder already took a run of any value).
KC_DATA 4792 -> 2330 B + KC_HC 54 B. HC_FONTS 3 -> 4: the keycaps' code gets its own 256-entry table in the pool
(+516 B; with FELUCCA_ICONS=1 the icons' code keeps its slot too, so no table is rebuilt between draws).

image 543224 -> 540840 B (-2384); pool 289136 -> 289652 B (spare 31360 -> 30848 B).

Pixel for pixel as before: tests/text_ref_test.c draws every keycap in every palette, whole and cut by each edge of
the canvas, both ways (cv_keycap against cv_alpha of the nibbles, KC_REF_DATA: the generator writes them for the
host tests under #ifdef KC_REF), 0 pixels differ; tests/ui_render.c's keycap alignment reads those nibbles; every UI
render bit for bit as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 13:01:24 +00:00
Claude 224fe41a21 0.9.0: flash: the faces' glyph tables packed (-2.6 KB)
A face's glyph table was an aag_t {off, adv, bx, by, bw, bh} (8 B) for every glyph and phase: 420 entries in S and
M (105 glyphs x 4 phases), the advance repeated in every phase, the offsets 16 bits each. Now (tools/aa_raster.py
glyph_tables, for gen_aa_font.py and gen_px_font.py) AF_<N>_GH {off, adv} a glyph (its phases' lowest data offset,
the advance) and AF_<N>_GP 32 bits a glyph and phase: off - GH.off (10 bits), bx + 1 (3), by (6), bw (7), bh (6);
the generator asserts every face fits (and that a glyph's phases advance alike). src/gfx.c ag() unpacks an entry
into an aag_t; text_run (the phase test: phase 1's offset against phase 0's, as before), text_w, cv_text_up,
icons.c cv_trk and ui_menu.c's pen read it through ag() or GH.

S 3360 -> 2100 B, M 3360 -> 2100 B, L 656 -> 492 B, X 752 B as before: image 545784 -> 543224 B (-2560 with the
code). Every entry unpacks to exactly the old one (S M L X compared field by field); tests/text_ref_test.c's
reference unpacks the table on its own (0 pens, 0 pixels differ), tests/theme_test.c's probe face and
tests/text_spacing_test.py read the new layout; every UI render bit for bit as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 12:47:31 +00:00
Claude ab603684b0 0.9.0: flash: VOICE's English dictionary Huffman-coded, the word banks' offsets sparse (-5.4 KB)
The CMU dictionary (2095 words, front-coded bytes: 18928 B) is now Huffman-coded (tools/gen_lyrics.py en_dict_pack):
each word its shared-letter count, its letters and its phonemes, each with its own canonical code (P, L, H), a block
of 8 words from a byte (LY_EN_IDX; was 16), LY_EN_LET the blocks of each first letter. src/sing.c sy_en_find reads
it with a 32-bit bit reader and a table for the codes up to 6 / 6 / 7 bits (99.6, 96, 94 % of the symbols; the rest
from the canonical counts), into the caller's buffer (no pointer into the table any more: sy_word passes its own,
SW_MAX as before). 14537 B with the tables and the index. The generator decodes it back and fails if any word differs.
The word banks' offsets (LY_ES/EN/JA_OFF, a uint16 a word) keep each 16th word's: ly_word skips the 0s from there.

image 551192 -> 545784 B (-5408): dictionary -4391 B, offsets -1390 B, code +373 B.

Same words, same phonemes, same sound: tests/voice_test.c looks every word up against gen_lyrics.py's own list
(LY_EN_REF_*, host only) - all 2095 found with exactly their phonemes - and 161312 near misses (each word one letter
shorter, longer, its first or last letter changed) found exactly when they are themselves words; the banks' 743 words
as before; every golden render, VOICE demo and test output bit for bit as before.

The lookup's cost (it runs in the audio ISR when a VOICE EN word starts): host callgrind, every word once, ~3550
instructions a lookup against ~1160 as bytes (ly_sym kept a call: inlined, 670 B more for ~15 % less), once a word;
tests/cpu_vg.c eng/VOICE.EN 1727 instructions a sample, as before (+0.0 %).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 12:32:52 +00:00
Claude e7a30ff085 0.9.0: flash: kerning pairs by the first glyph (-1.6 KB)
The faces' kerning was a sorted table of a << 8 | b keys (uint16) and their deltas (int8): 3 B a pair, a binary
search over all of a face's pairs (S 1122, M 994). Now (tools/gen_aa_font.py) KI, where each first glyph's pairs
start (uint16, by the glyph's number), and KP, each pair's second character and delta (2 B): src/gfx.c kern() finds
a's glyph (glyph_at, as the drawing does) and searches its own pairs only (a handful instead of ~1000).

S 3366 -> 2454 B, M 2982 -> 2198 B, L 24 -> 100 B (8 pairs, its 41 glyphs indexed): image 552792 -> 551192 B
(-1600). The same deltas for every pair: tests/text_ref_test.c's reference restates the lookup as a scan and now
also compares kern() with it for every pair of codes 0..255 in S M L (2124 pairs, 0 differ), its pens and pixels as
before (0 differ); tests/text_spacing_test.py reads the new tables (its pairs identical to the old ones'). Every UI
render bit for bit as before (all PNGs and the report but its timings).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 12:13:15 +00:00
Claude c90653e894 0.9.0: flash: the main-loop files the size build missed get minsize (-16.7 KB)
tools/size_fns.py marks the main-loop functions minsize (about -Oz) by the file that defines them, but its
SIZE_FILES listed only the top-level files: what they include was left at -Os. GEN (gen.c, gen_tables.c, 40 KB),
DICE ALL (song_dice.c), the lenses and their panels (ui_lens.c, ui_lz*.c), the line art (ui_organic.c), the beings
(ui_being.c), the tech graphs (ui_tech.c), OPERATOR (ui_fm6op.c), DRUM-X's EDIT pages (ui_dx.c), SEQ TOOLS
(ui_tools.c), the FM6 voice bank (fm6_vbank.c) and VOICE's words (sing.c) now join the list.

- isr_reach follows globals: a global an interrupt's code names counts as its initialiser, so a function in a table
  the ISR reads is reached too. sing.c's sound side (formant_block -> sing_block -> sy_next .. sy_word, sy_en_find)
  is called through ENG[]'s hooks, which the old walk did not see: without this, adding sing.c would have built
  VOICE's per-block articulation for size. With it those stay -Os; only the main loop's (lyr_set, lyr_dice ..) shrink.
- definitions() also sees a function whose __attribute__ comes before its name (lz_set, foot_crumbs, draw_crumbs).

image 569528 -> 552792 B (-16736); RAM, the pool and RAM code unchanged. No ISR-reached function changed: the
reached set grew 149 -> 216 (the new files' and the ones the wider walk finds), every audio, render and ISR function
is the same size as before; the only non-minsize functions that changed are small helpers (softclip, pfx_lane_at,
drum_kit_of ..) that the shrunk main-loop callers no longer inline and so now exist out of line once. Host tests
unchanged (the host build does not use these attributes); target budgets identical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 11:57:43 +00:00
Claude cd49edcdac 0.8.9: merge USB audio fixes (no lost halves, no dropped packets, resampler on core 1) with the skins
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 11:27:40 +00:00
Claude 92be89d2ad 0.8.9: USB audio never drops a packet; cheaper on the render core; a late half no longer loses the next one
The 0.8.7 field test (FM-1, CORES 2, LOAD FULL, a heavy 160 BPM song, USB CONSOLE captured at 48 kHz): USB audio
on raised CPU 65.5 -> 77 %, late halves 15 -> 50 /s, ~230 underruns /s, captures 10-20 % short.

- Root cause (audio.c): the ALNK0 ISR acknowledged a half after rendering it, so a render that ran past its half
  cleared the next half's pending flip and that half was never rendered (the DAC replayed 2.9 ms of old audio; USB got
  128 frames fewer). Every "late" half lost the next: ~14 % of the audio with USB on, the ring always dry (adj_down
  saturated, ~230 underruns /s). Now the half is acked first: a late render is followed at once by the next, which
  catches up glitch-free (the DMA reads the half behind the render); a half is lost only past ~1.7 halves, counted in
  the console's new audio_lost.
- usb.c, the packets: every packet still carries n +- 1 frames (an underrun repeats the last frame, never drops or
  shortens it); the repeated frames are now owed and made up (one ring frame skipped a packet while the ring is
  healthy, uac_repeats_made_up), so a capture keeps the music's length and timing. Bands 0.7 ms higher for renders that
  now start up to ~1 ms late (44.1: 112..160, 48: 128..176).
- usb.c, the resampler: uac_rs_run, in RAM (.c1_text) calling nothing, its 160 phases in a RAM table (pool, 15 KiB)
  built from the flash's, four taps a pass: bit for bit 0.8.8's. With CORES 2 each half goes to core 1 at the render's
  end (uac_render_end) and enters the ring when the next half starts (uac_collect; mix_block's first job queues behind
  it, so its wait covers it); one core: per block in the ISR as before. Core 0's share at 48 kHz: ~21 instructions an
  input frame (the 16-bit store) against ~270 (resampling) before: ~11 CPU points -> ~1 (estimate, to confirm on the
  device); CORES 1 ~20 % fewer instructions and no flash table reads.
- uac_fir.h (tools/gen_uac_fir.py): the 80 phases stored as each tap's third differences (int16), summed back exactly
  (UAC_FIR_CHK): 7680 -> 3984 B.
- voice.c / console: voices_given_up counts each voice once (one already fading not again) and splits into
  voices_trimmed (load-budget tails under -50 dB: inaudible, most of the field test's 670 /s), voices_stolen and
  voices_shed.
- Tests: tests/uac_sched_test.c (new; one core and CORES 2): 3 min against a simulated 48 kHz host at +-500 ppm, renders
  as the heavy song's (~17 late /s, up to 131 %): every IN token finds a packet, sizes 47..49, no underrun / overrun /
  jump, frames sent = frames resampled exactly, no latency drift; starvation bursts (renders 150..190 %, halves lost):
  underruns repeated and all made up; IRQs off 4 ms: ~3 empty frames each, recovered. LEGACY=1 shows the 0.8.8 order:
  ~245 underruns /s, 12.4 % of the music missing at ~43 late /s (the field test's figures). uac_test: the RAM table
  exactly the generator's, bit for bit 0.8.8's resampler (10 s at +-2x full scale), THD / aliasing spurs < -98.9 dB
  (1 k .. 22 kHz). audio_test: the ack before the render, audio_lost.
- Image 568320 -> 565384 B (-2936 B); RAM code +328 B (22440 of 24576), pool +16 KiB (36 KiB spare). Goldens, CPU
  baselines unchanged; target budget: uac_tap48 -> uac_rs_run (static 558: the unrolled body).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 11:26:59 +00:00
Claude c91b909754 0.8.9: FELUCCA_VERSION v0.8.9; manuals (DISPLAY > SKIN, the layers' keyboard), README, cheat sheets
- MANUAL.md / MANUAL.es.md: "Skins: COLORS, BOTTOM, HUD" under the screen, the SKIN row of MENU > DISPLAY, ROWS 5-7,
  the held layers' MAP / KNOBS / STATE as drawn now, the 0.6 heat colours.
- README: the v0.8.9 section, the skin in "Reading the screen", the status line.
- Cheat sheets regenerated (tools/gen_cheatsheets.py, tools/render_cheatsheets.mjs): the version, MENU's skins.
- Image 568320 -> 572288 B (+3968; 9276 B of the 581564 B slot free); .data + .bss 88976 B as 0.8.8; the pool +4852 B
  (the 240 x 150 canvas), 47232 B spare.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 11:07:58 +00:00
Claude 08eed2a6ac 0.8.9: MENU > DISPLAY > SKIN: COLORS, BOTTOM, HUD (the approved mock-up's options 1, 3 and 4)
- SKIN in MENU > DISPLAY after COLOR (COLORS by default; ui_skin, engine 15 byte 20 of the settings: older settings
  and unknown values load as COLORS; the editor's MENU id 21; DISPLAY now seven rows, the menu's TAB rows 17 apart,
  its MENU tiles 72 / 64 tall, ROWS 5-7). ux.skin follows it (style_apply); BOTTOM and HUD make SURF the background.
- Palettes (tools/gen_ui_palettes.py): four knob colours each (KNOBS: the mock-up's for JIANT PAPER GREEN AMBER ICE,
  the rest in its spirit; GREY grey, MONO white; 4.5:1 on BG and SURF, 4:1 on RAISE checked), gfx.c T_K(c); JIANT's
  SURF the mock-up's near-black (10, 9, 14) and its RAISE 4 % (the 0.6 cards, #131218); its boxes rounded like the
  others (the black-SURF square case gone). JIANT's heat ramp the 0.6's (indigo violet red orange amber cream white).
- Values and the header's BPM in a rounded sans again, as 0.6 (the mock-up's "Sans 0.6"): face M is Inter Tight
  SemiBold 15 px (assets/fonts, already credited), was Chakra Petch; labels, tabs, breadcrumb keep the 5 x 7 face.
- The header (every skin, the mock-up's): the selected track's number in an ACCENT box, a THEME triangle playing, the
  BPM in M; HUD: no rule. The breadcrumb: the lens DIM, the level THEME, the set TEXT, the count TEXT.
- COLORS: rounded tabs (THEME / RAISE), rounded RAISE cards with a 7 x 7 mark before the label where the label has one
  (CUT RES ATK REL WAVE DETUNE MIX NOISE STEP NOTE TYPE ACCENT SIZE DEPTH and kin), the label TEXT, the value and a 3 px
  rounded gauge in the knob's colour, the knob turned framed in it; the panel rounded.
- BOTTOM: the tabs three words (the level's THEME with a pill), the panel the screen's width with no box (42..189;
  HOME's beings 240 x 148), the knobs a slim row over the breadcrumb (191..223: mark and label MID, the value in its
  colour, a hairline gauge); LINE draws its rules over and under the panel.
- HUD: as BOTTOM; on HOME (ECO) the beings' water is the whole screen: every strip (header, tabs, the middle, the four
  cards 60 px each, the breadcrumb) is drawn each frame on the beings under it (ui_lzhome.c eco_draw / eco_backdrop: a
  being off the strip skipped; the numbers only in the middle), its words with a 1 px BG outline (gfx.c cv_halo), the
  level's word underlined; the knob row fades to 22 % 3 s after the last knob turn (ui.knob_ms) and is whole again at a
  turn. LOAD LITE / ECO pace the whole HUD frame as the panel's.
- MENU > LARGE: COLORS' layout (the tall cards on top) in every skin, with the skin's tabs and colours.
- Panels after the mock-up: EDIT > SOUND (the being larger, the scope a tile, the page's four parameters as chips in
  their knobs' colours, "2/2 CUT RES DRIVE" under them); FX > BUSES's tiles (lz_tile: COLORS rounded cards, the module
  framed THEME; BOTTOM / HUD bare, the module underlined); SEQ's bar cells and roll (BOTTOM / HUD: bare cells over a
  line, the beats only; the cursor framed TEXT); PUNCH's empty steps ticks; the dialogs (NOTICE, DICE) in the skin's
  tabs, cards and buttons; header messages in plain 5 x 7 words (the keycap gone).
- CV_MAX 240 x 150 (HUD's middle). The new statics in the pool section, so the audio's data and code are where they
  were (target budgets identical to 0.8.8's).
- Tests: ui_test SKIN (default, menu steps, saved / older / unknown, geometry, HUD's beings over the screen, the fade,
  every lens page in each skin); the menu, header, roll, editor and theme tests updated for SKIN, the box and Inter
  Tight; ui_render: every screen in BOTTOM and HUD (FLAT, LINE, LARGE, every palette) linted, their PNGs (JIANT PAPER
  GREY MONO), the draw cost per skin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 11:07:43 +00:00
Claude 01557dc75e 0.8.8: HOME's beings roam free again, as before (no ring), DRUM-X's beings move again
- HOME > ECO is 0.8.4's HOME again (graph_ecosys's life, moved into ui_lzhome.c as eco_step / graph_eco): the six
  beings swim free over the whole lens panel by themselves (the same wander, speed, walls, the hit's kick up to ~7 x,
  the swelling up to ~2.2 x, the same start places), not locked in a 3 x 2 grid's cells at a third of the pace; the
  selected one larger (17 px vs 12) with its number in the theme's colour, as before 0.8.5: no THEME ring, no
  "T1 ANALOG" names, the numbers following their beings again; the MUTATE dots round them, the cytoplasm's granules
  behind them. The floor is the panel's (140 - 18: 0.8.4 kept 104 of 122). The critters stay, drawn to the free
  beings; the lens chrome (header, ECO / BEING / GEN tabs, cards, breadcrumb), MACROS, BEING, ROUTES and GEN as 0.8.7.
- DRUM-X > KIT 3: the colony's panel is redrawn every frame as KIT's and KIT 2's (its signature had no frame since
  0.6.58, so its beings stood still between value changes, also in 0.8.4 / 0.8.6).
- Draw (host, callgrind, draw_graph while the song plays, a frame): HOME 1.08 M Ir (0.8.6) / 1.15 M (0.8.7) / 1.16 M
  now; KIT 3 1.27 M (= KIT's). Image 567968 -> 568320 B (+352; 13244 B of the slot free). Goldens, CPU baselines,
  ui_test unchanged; ui_render 0 lint findings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 09:56:28 +00:00
Claude 13b1eb0c0a 0.8.7: merge the whole system as lenses (HOME EDIT ENV LFO·MOD SCL·ARP GLO MENU layers dialogs)
Merge worktree-agent-a3bf86de8d04ef412 (14 commits after 777fe88: the 5 x 7 face, every part a lens, no icons, FX
graphs live) into 0.8.6 (VOICE words, DRUM-X octaves, EXPLORE). FELUCCA_VERSION v0.8.7.
- EDIT lens: VOICE's WORDS a set of TONE (after VOICE 2; ui_lens.c ED[0][1]), so test_lz_reach finds it; graph_sing
  restyled for the lens (no frame, captions / chips / vowels in AF_X, the word in M, the chart a square well).
- NAME dialog: the lyric in the lens's NAME (CURSOR, CHAR, LEN n/63, OCT+ SET; the field's window follows the cursor;
  breadcrumb LENTE . LYRIC . K3 DICE . OCT- CANCEL).
- params.c: GR_BUSES GR_FOCUS GR_STAGE GR_LYRIC; ui.c large_kind keeps the lens cards, the menu and NAME on LK_LABEL;
  ui_graph.c: GR_LYRIC and VOICE singing kept in the lens's switch.
- GEN (HOME's last level): EXPLORE, RANDOM, the genres; GENRE's gauge by that order (was genre / NGENRE, past full
  on EXPLORE).
- ui_lzpage.c: the circle's turn written 65536u (the build's register lint refused 0x10000u; the branch's own tip
  fails ./build.sh on it).
- Tests: ui_test's GEN-level check expects PRESETS to follow KNOB 1's 0.8.6 order (EXPLORE -> RANDOM -> genres); the
  LARGE HOME panel-gap check reads the old panel's row across 8..231 (half SURF at least) instead of 16 px, the
  critters and dust sit on it; ui_render: gen_explore. Goldens, cpu_vg and target budgets unchanged.
- README v0.8.7 section (the lens system, with 0.8.5 / 0.8.6 in it, the cost), manuals (GEN: EXPLORE in the lens's
  GEN level), cheat sheets regenerated.
Image 567968 B of 581564 (13596 free); .data+.bss 88960 of 98304; LOWBUF 18232 of 28672; pool spare 52096 B.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 05:40:37 +00:00
Claude 99acde073e 0.8.5: SELECT zooms every lens: the manuals' SELECT and ALGORITHM rows, the cheat sheets rendered; a test that every page is in a lens
- MANUAL (EN / ES): SELECT alone zooms the lens you are in, every part's levels named; ALGORITHM with a layer held its
  MAP . KNOBS . STATE; the navigation bullet (until 0.8.4 SELECT scrolled the section's pages).
- Cheat sheets (tools/gen_cheatsheets.py, rendered with tools/render_cheatsheets.mjs): SELECT, ALGORITHM and every
  button's lens.
- ui_test: test_lz_reach, every page an engine shows in EDIT, ENV, LFO . MOD, SCL . ARP and GLO is in one of its
  lens's levels (so SELECT and the buttons reach it), for every engine.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 04:53:51 +00:00
Claude 4f16b40d18 0.8.5: GLO as a lens, as the mock-up: MIX (MIXER / SENDS, a new page), GLOBAL, SYSTEM (tracks, LOAD, MIDI, the CPU line)
- ui_lens.c: GLO's pages drawn as a lens; a GLO tap goes MIXER -> SENDS -> GLOBAL -> SYSTEM -> MIXER (as before, with
  MIX's second set); from elsewhere MIXER; SELECT zooms. PRESETS keeps the sounds.
- SENDS (new page, MIX's second set): DIST CHORUS DLY REV of the selected track; track_col6 draws each track's four
  sends as bars. The six strips sit in the lens's panel.
- ui_lzpage.c: SYSTEM (the tracks that play as chips, LOAD's three settings with the one set lit, MIDI's route, the CPU
  load sampled four times a second as a line; was the scope). GLOBAL keeps its bar.
- ui_test: test_lz_glo; the MIXER, roll and LARGE tests read the lens's geometry (card_y, graph_y). ui_render: glo_sends.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 04:53:50 +00:00
Claude 7379460f49 0.8.5: SCL · ARP as a lens, as the mock-up: KEY (the circle of notes, the keyboard), CHORD (each degree's chord), ARP (ARP / ARP 2: the pattern)
- ui_lens.c: SCL's and ARP's pages drawn as one lens; SCL taps KEY <-> CHORD, ARP goes to the ARP level and taps
  ARP <-> ARP 2; SELECT zooms. PRESETS: ROOT on KEY, the track on CHORD and ARP.
- ui_lzpage.c: KEY (the twelve notes round a circle, the scale lit and joined, ROOT in the accent, QUANT and ALL TR, a
  keyboard; was twelve bars), CHORD (chord_build for each degree I..VII: what a key plays now), ARP and ARP 2 ("MODE .
  RATE . OCT", the pattern over a triad with GATE, SWING and PROB; was the scope; OFF: "ARP OFF").
- ui_test: test_lz_key; PRESETS on every page knows the lens. ui_render: key_chord, key_chord_off, key_arp, key_arp2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 04:53:50 +00:00
Claude 58cd363bd9 0.8.5: LFO · MOD as a lens, as the mock-up: MOD (the matrix as a net), LFO (LFO / LFO DEST), MSEQ (MSEQ / MSEQ 2)
- ui_lens.c: LFO's pages drawn as a lens; it opens on LFO (the mock-up's middle level); an LFO tap the level's next
  set. PRESETS: MOD the slot, LFO the track, MSEQ the step.
- ui_lzpage.c: MOD as a net (the sources down the left, those read lit, each slot's curve to its box D1..D4 with DEST
  and AMT, the picked slot framed and a pulse along its curve; graph_mod's list gone), LFO under "RATE . WAVE", LFO
  DEST (the LFO small, the four amounts as rows lit by what it sends now), MSEQ / MSEQ 2 under their captions.
- ui_test: test_lz_mod; PRESETS on every page knows the lens. ui_render: mseq2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 04:53:50 +00:00
Claude 867a691183 0.8.5: ENV as a lens, as the mock-up: TRACKS (the six envelopes as tiles / DEST), ENV (ENV / ENV DEST), STAGE (a new page: one stage large)
- ui_lens.c: ENV drawn as a lens; it opens on ENV (the mock-up's middle level); an ENV tap the level's other set; ENV
  from elsewhere the page left, at the level it was left at (ENV and ENV DEST are in TRACKS and in ENV).
- STAGE (new page, ENV's detail): KNOB 1 the stage (ATK DEC SUS REL), KNOB 2 its value (motion recorded), KNOB 3 LOOP.
- PRESETS: TRACKS and ENV the track, STAGE the stage.
- ui_lzpage.c: TRACKS (env_mini per track, the selected tinted, its level now a dot; DEST: FILTER PITCH SHAPE as bars),
  STAGE (the envelope with the stage shaded, the stage's curve large, its time); ENV keeps graph_adsr and the DEST
  columns.
- ui_test: test_lz_env; tests that assumed ENV's old layout or SELECT's page scroll follow the lens; the 40-throw DICE
  test starts from GEN's power-on settings (it depended on what earlier tests left in gp, so a page more broke it).
  ui_render: env_tracks, env_tracks_dest, env_stage, env_stage_sus.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 04:53:50 +00:00
Claude a69c9f11cf 0.8.5: EDIT as a lens, as the mock-up: SOUND (the being, the scope, the eight E chips), TONE (FILTER's response, VOICE / VOICE 2), the detail (FOCUS, OPERATOR, SOUND 1-4)
- ui_lens.c: EDIT drawn as a lens (PD_LIVE); SELECT zooms SOUND <-> TONE <-> the detail, an EDIT tap goes round the
  level's sets, EDIT from elsewhere the page last shown (at its level). PRESETS: the sounds on SOUND and TONE, KNOB 1's
  on the detail.
- New pages: VOICE 2 (ALLOC, UNISON's DETUNE: neither reachable before) and FOCUS (a synth's detail: KNOB 1 the E
  parameter, 2 its value, 3 the source of the MOD slot aimed at it, a free slot taken from OFF, 4 its AMT).
- ui_lzedit.c: SOUND (graph_being_at on the left, the engine page's name, the sound's name, scope_at in a well, E1..E8
  as chips), FILTER (TYPE's response at CUT with RES, DRIVE cells), VOICE / VOICE 2 (a row a voice, GLIDE), FOCUS (a
  gauge, the slot, E1..E8 tabs). WHEEL's and FM6's EDIT 1 / 2 show their beings too: graph_wheel gone; the FM6 charts
  are linted on OPERATOR.
- ui_test: test_lz_edit (levels, sets, breadcrumb, FOCUS's knobs, VOICE 2); the EDIT cycle tests follow the lens.
  ui_render: ed_filter, ed_filter_bp, ed_voice2, ed_focus, ed_focus_mod, ed_operator.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 04:53:50 +00:00
Claude 36277dc431 0.8.5: HOME as a lens, as the mock-up: ECO (the six beings / MACROS), BEING (the track's being, its knobs as organs / ROUTES), GEN; critters round the beings
LENTE across the system (lente_sistema.html, approved), HOME first; ui_lens.c holds the lens model the other domains
take next (levels, sets as PAGES' pages, each domain's memory: ui.pdlv / ui.pdset; drawn domains PD_LIVE, none yet).
- HOME: SELECT zooms ECO <-> BEING <-> GEN (no wrap); a HOME tap on HOME switches the level's two sets (ECO: HOME /
  MACROS, BEING: HOME / ROUTES), from elsewhere HOME comes back at the level and set left; MACROS / ROUTES' KNOB 1..4
  are M1..M4 (the macros, as LFO held). GEN is the generator's screen (CF_DICE_ALL) as the last level, laid out as a
  lens (its settings on the cards; the five parts as rows with a seeded preview of their density and heat, the FORM's
  sections as chips, LAST and OCT+ MAKE): a HOME tap its next page (was SELECT), PRESETS the GENRE, SELECT left back to
  BEING, OCT- closes it (to ECO); HOME held + SELECT still opens it from anywhere; OCT+ and PLAY as before.
- ECO: the beings on the mock-up's 3 x 2 grid, each swimming in its cell (graph_ecosys's maths: the same speed, the
  hit's kick, the walls), with its name under it (T1 ANALOG, MUTE, OFF), the selected one larger in a THEME ring, the
  MUTATE dots; MACROS: the routes counted, LATCH / HOLD LFO. BEING: the track's being large (graph_being's size, its
  HOME knobs), the four HOME knobs as organs at the corners (an antialiased gauge each, its value, a vein to the body),
  the sound's name; ROUTES: M1..M4 with their routes drawn to "T2 CUT+62". The beings are ui_being.c's own: the same
  genomes, isotherms, nuclei, swelling and exciting with each track's sound.
- Critters (ui_lzhome.c): 36 tiny protozoa in a fixed pool, ciliates, spores, drifting cells, flagellates, diatoms (a
  5 x 5 sprite each, four phases: cilia beating, spines turning, a ring breathing, a tail waving, a rod turning); they
  wander, are drawn to the loudest being near them and circle it, are thrown off by a hit, swim faster and glow with
  the output, warm near a sounding track. Stepped once a drawn frame from what the UI reads already (the parts' peaks,
  the scope): nothing in the audio path.
- The breadcrumb "LENTE . ECO . HOME" with the set's place at the right ("1/2"). MENU > LARGE: the tall cards under the
  tabs (42..146), the scope a strip (150..212).
Memory: image 511564 -> 520084 B (+8520); .data+.bss 84996 -> 85392 B (+396: the beings' swim, the critters); pool
(spare 65248 B), LOWBUF (608 B free), RAM code 21696 B. Draw (host): HOME a frame 104.5 -> 113.5 us, its full redraw
427 -> 279 us.
ui_test: HOME's lens (sets by a HOME tap, M1..M4 on MACROS, SELECT both ways and no wrap, each level's set kept, GEN as
the last level: PRESETS the GENRE, a HOME tap its page, SELECT left, OCT-, HOME from elsewhere, the beings and
critters moving); the GEN, SELECT, STYLE and LARGE tests follow the new layout. ui_render: home_macros, home_being,
home_routes, gen_lead; lint and alignment clean in every palette, FLAT / LINE / LARGE. Manuals (EN, ES), README,
cheat sheet text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 04:34:50 +00:00
Claude d41027bdb1 0.8.5: small font: a crisp 5 x 7 mono pixel face for the labels, tabs, breadcrumb and chips, as the mock-up's
The approved LENTE mock-up sets its small words in ~8 px mono capitals; the firmware's smallest face (S, 12 px,
capitals 9 px) cut names. AF_X (tools/gen_px_font.py -> build/gen/ui_font_x.h): 94 glyphs (0x20..0x7A with lower case for
the units as the mock-up writes them, '|', the middle dot, the ellipsis; 1127 B) on a 6 px pitch, capitals 7 px, one bit a pixel, trimmed to each glyph's
ink box; the same aafont_t as the other faces (a new field, bits: gfx.c text_run draws it with cv_bits, the ink colour
alone), so text_w, cv_text_in, text_fit and the host lint and alignment work as they do. cv_clip_text: free text cut
without an ellipsis, as the mock-up cuts a chip's name.
Used on the lens pages for the cards' labels (capitals rows 5..11), the level tabs, the breadcrumb, the header's middle
words, and SEQ / SAVE / FX's captions and chips (STEP's chips, notes and title, the bars' numbers, PLAYHEADS, SAVE's
tiles, slots and rows, FX's tiles and captions); the values keep their face.
Memory: image 509868 -> 511564 B (+1696: the face 1127 B); .data+.bss, pool, LOWBUF, RAM code unchanged.
ui_render: lint and alignment clean in every palette, FLAT / LINE / LARGE (ellipsised free texts 778 -> 420);
ui_test passes; theme / text reference / spacing tests pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 04:14:58 +00:00
Claude b5ee660ffd 0.8.6: the dice starts in EXPLORE: no genre, every rule broken, still in the key its SCALE and CHORD pages show
GEN's GENRE reads EXPLORE, RANDOM, then the 43 genres; the screen opens on EXPLORE (power-on, NEW PROJECT, every
HOME + SELECT). EXPLORE throws its own genre field by field (gen.c gx_genre, table-driven): any tempo 56..200 BPM,
any drum map / kit (sounds pulled far from the kit's), bass archetypes, kick rule, chord play, voicing, arp, lead,
wider recipe pools, any space and FORM; a mode of seven from the SCALE page with the exotic ones likeliest (LOCRIAN
too), a pentatonic / hexatonic / gapped lead palette; a non-functional progression of 1..4 chords on any degrees
(colours where its thrown harmony takes them); chords 8..48 steps, loops 8..64; each track its own LEN and DIV
(polyrhythm), any engine on any role (ANIMAL, VOICE singing words; FM6 / ANIMAL / VOICE two tracks each at most),
DRUM-X octaves per sound, hits off the grid, scattered step components, PLAYHEADS, MUTATE, grain-delay pitch and
spray. It keeps two melodic parts, the genres' levels and the shared voice budget; every note in the key but the
coloured chords' and approaches. RANDOM and every genre are bit for bit as in 0.8.5 (gen_test metrics, a 792-piece
fingerprint identical); after an EXPLORE piece a genre's piece puts DIV back to 1/16 and PLAYHEADS off.
gp.genre keeps its values (0 RANDOM, 1 + genre) with EXPLORE appended (44), not persisted: no migration needed;
web_gen takes 44. Tests: defaults, knob order, 60 EXPLORE seeds heard and measured, determinism, forms, no residue.
Manuals, README v0.8.6, cheat sheets regenerated; FELUCCA_VERSION v0.8.6.
Image 555928 -> 561072 B of 581564 (20492 free); .data+.bss 88340 of 98304, pool spare 52096 B, RAM code 22084 B:
unchanged. No audio path changes; CPU baselines untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 03:14:34 +00:00
Claude c524e3c45f 0.8.5: merge DRUM-X octaves (ratchet / short / ghost / flam per sound)
Merge drumx-octaves-085 (a05a190, c3435e4) on top of the VOICE words in the new skin.
- editor INFO tags in order J, O (DRUM lane modes, 4F 01 07), Y (LYRIC, the last tag: the web editor reads it at
  the trailer's end); editor_test checks both, the web mock sends both (lanes inside the ratchet caps, Y last).
- README: the status line's DRUM-X note; one 0.8.5 section (VOICE words, DRUM-X octaves, then the skin and lenses)
  with one cost line measured on the merged build.
- app.ld: LOWBUF's comment (undo and the section stage there; the project scratch and the decode tables in the pool).
- tests/ui_render.c: DRUM grid HIT x4 / GHOST, the OCT messages (RATCHET x8, FLAM), COMP TOUCH and ECHO EVEN scenes,
  linted in every palette: the HIT values fit the square cards, the OCT message the header's middle.
- Cheat sheets regenerated.
Image 555928 B of 581564; .data+.bss 88340 of 98304; LOWBUF 18232 of 28672; pool spare 52096 B.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 02:19:38 +00:00
Claude c3435e48eb 0.8.5: DRUM-X octaves per sound: each lane's own x2 / x4 / x8 / SHORT / GHOST / FLAM on a step
The octave variations are now per drum sound, not per step (the owner's option b). step_t gets lm[3]: 3 bits for each
of the 8 lanes (core.h LM_*: none, x2, x4, x8, SHORT, GHOST, FLAM). No zero-RAM room existed: on a DRUM track note[] / n
hold the step's other GM drums (a low tom, a crash, any note recorded below / above the lanes), every other byte is
in use, and the few free bits (slide, LEN on a kit) are 4 or fewer.

Playback (seq.c): a lane's SHORT / GHOST / FLAM goes on that lane's note-ons only (t->dtch per note, the HUMAN TIME
queue too); a lane's x2 / x4 / x8 retriggers that lane's hit and its notes at every step / n (seq_lane_rat, the grid
the held keys' live ratchets already use), nothing else on the step. The step's own RATCH / ECHO (EVEN) / TOUCH
work on the whole step exactly as before (synth tracks, old projects, a kit). Live REC (rec_drum, the held ratchets'
steps, the count-in) writes the lane's mode, the rest of the step untouched; a centre-octave hit sets its lane back
to none. Tested: kick plain + closed hat x4 + snare GHOST on one step (1 + 4 + 1 a pass, the kick never damped);
recorded live (kick OCT 0, hat OCT +2, snare OCT -2 into one step) and played back so; every earlier REC test now on
lane modes; the step's RATCH x2 unchanged.

Edit: the DRUM grid's KNOB 3 HIT of the selected lane is one list: --, ON, x2, x4, x8, SHORT, GHOST, FLAM (left back to
-- takes the hit and its mode away; the white keys' off clears it too). ui.c GRID_HIT / grid_hit_of / grid_hit_set,
one card string in ui_draw.c, one knob call in ui_input.c.

Format: FUNC unchanged for every step without modes (a 0.8.4 project loads and saves byte for byte); a step with them
sets bit 6 of its extension byte and adds 3 bytes (a 7 reads as none). Firmware before 0.8.5 refuses such a project
(it rejects that bit), so it fails as with any newer project. Older formats load with no modes (tested with FUNB).
User presets' patterns have no room for them.

Protocol: INFO 4F 01 07; STEP_SET 22 / TRACK_STEP 23 bytes carry the 8 lane modes after the ratchet (each 0..6, a 7
refused); STEP_GET with a flag byte 1 (TRACK_STEP get with 1) replies them; every older request replies byte for byte
as before (editor_test's INFO offsets moved by the new tag). web/editor.html reads them when the device has the tag
and writes a step back whole; the mock device does the same (web/test_web.mjs). EDITOR_PROTOCOL.md updated.

FELUCCA_VERSION is now "v0.8.5" (cheat sheets' version too), so the installer notice shows. The notice now shows for
0.8.5 in both installers (preview and the official one once web/STABLE is bumped; web/STABLE untouched), never on the
landing page (tested); its text says each sound keeps its own variation.

RAM (on a05a190): step_t 17 -> 20 B. .data+.bss 85600 -> 87456 B (+1856: the tracks' 384 steps and 24 working copies
+1224, the dice / shape / GEN copies dk, shp_base, gen_keep +576, dxo_bak +18, lr_on); the project scratch (project_t,
384 steps) moved LOWBUF -> pool (main loop only, as before 0.6.78): LOWBUF 28064 -> 19780 B (the section stage's +1152
stays there), pool 247584 -> 258364 B (spare 62144 B; tl_src +192); the stack +192 in one tool. Flash image
498260 -> 499320 B, RAM code 21768 -> 21964 B. With voice-words merged: about 88.2 KB of 96 KB .data+.bss.
CPU: callgrind song/cputest 3082 -> 3081, eng/DRUM 1581 -> 1582, every entry within 0.1 %; target loops unchanged.
All host tests pass; the 149 golden renders unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 02:01:15 +00:00
Claude c1af327649 0.8.5: merge VOICE words into the new skin
Merge voice-words-085 (VOICE sings words ES / EN / JA: EDIT > WORDS, GR_LYRIC, graph_sing, the NAME screen's
LYRIC entry, lyr_txt and the fonts' decode tables in the pool) into the mock's skin and the SEQ / SAVE / FX lenses.
- params.c: GR_BUSES and GR_LYRIC both in the graph enum.
- ui.c: large_kind keeps a lens page (lz_on) and the NAME screen (name_on) on LK_LABEL; both forward decls.
- ui_graph.c graph_sing in the skin: square phoneme chips and a square chart frame, the V / N rows apart; it fits
  the usual panel (WORDS is no lens page; card_y / graph_y / foot_y as any EDIT page).
- tests/ui_render.c: the FX / SAVE lens scenes and the WORDS / LYRIC scenes together.
- README: one 0.8.5 section, the words first, the skin and lenses after, one cost line for both.
- Cheat sheets regenerated (gen_cheatsheets.py, render_cheatsheets.mjs).
Baselines: only the voice branch's additions (golden VOICE presets 07..14, cpu_vg VOICE.ES / .EN, target_budget
formant_word_render / formant_block); nothing existing changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 02:00:43 +00:00
Claude a05a1909ba 0.8.5: DRUM-X octaves: ratchets x2 / x4 / x8 above the kit, SHORT / GHOST / FLAM below, recorded as played
On a DRUM track the keys keep the kit on the same keys at every OCT (drum_keys no longer adds the octave); OCT says how
they play and the screen names it on each press (RATCHET x2 / x4 / x8, SHORT, GHOST, FLAM, DRUM-X KIT). OCT 0 is the
kit exactly as before (bit for bit: every golden render unchanged).

Above (seq.c dxo_*): the hit, then again x2 / x4 / x8 a step while held: playing on the step's RATCH grid (each step's
start, then every step/n, swing included), stopped every step/n of the track's DIV from the press; the release ends it.
Below (eng_drum.c DXO_*, per-hit modulation of the DRUM-X voice, no new voice type): SHORT -14 DECAY (half the decay
time), GHOST -14 DECAY -24 TONE and ~45 % velocity, FLAM a grace hit at ~45 % then the hit itself DXO_FLAM blocks later
(~20 ms, tempo-independent, a retrigger of the same lane).

Live REC stores what was played, played back identically (tested to the block): the hit plus the step's RATCH x2 / x4;
x8 (past RATCH's x4) as ECHO x8 with the new EVEN flag (carg bit 7: every repeat at the step's level); below, the new
step component TOUCH (carg SHORT / GHOST / FLAM). A ratchet held over several steps writes each step before the
sequencer plays it (the held note is silent there); an early release in the last one puts that step back, as a held
synth note's TIE. The count-in keeps the octave too. They show and edit on SEQ > COMP like any step (TOUCH: HIT
SHORT / GHOST / FLAM; ECHO: x8 EVEN, KNOB 3 keeps EVEN). They are the step's: everything on that step plays with them; a
centre-octave hit leaves them alone.

MIDI: 35..81 the GM map exactly as before. The notes around it, which played their octave of 36..47 plain, are now the
octaves' bands by pitch class: 23..34 SHORT, 11..22 GHOST, 0..10 FLAM, 82..93 x2, 94..105 x4, 106..127 x8; the keys
send those notes to MIDI OUT. Compat flag: songs / MIDI setups sending drum notes below 35 or above 81 now hear these
variations (move them into 35..81 to keep the old sound); stored step notes play as before whatever their number;
keys with OCT moved no longer reach GM 56..81. No format change: TOUCH is a comp value (firmware before 0.8.5 refuses
a project holding one, as any unknown component), EVEN a bit older firmware reads as a fading ECHO.

Installer (web/index_pkg.html): before writing 0.8.5 the preview installer (its version ends -preview) shows a notice in
English / Japanese (its languages) and Spanish: the feature, that existing songs / MIDI setups may change, how to keep
the old sound, back up first (editor backup); install asks to confirm. The public installer (web/STABLE, 0.7.4) never
shows it; web/STABLE untouched. The notice keys on the package version v0.8.5: FELUCCA_VERSION is still "v0.8.4".

Cost (on 0.8.4): callgrind every entry within 0.3 % (song/cputest 3079 -> 3082, seq/heavy 2786 -> 2788, eng/DRUM
1579 -> 1581); target loops unchanged (drum_render 33, dx_run 419; perf_block 522 -> 528, layout); flash image
498108 -> 498260 B; .data+.bss 84848 -> 85600 B (held ratchets 4 a part, their recording backup, 3 bytes a lane);
RAM code 21676 -> 21768 B; LOWBUF 28064 B and the pool 247584 B unchanged.

Tests: new tests/drumx_oct_test.c (centre bit for bit and recorded plain; x2 / x4 / x8 stopped and playing on the
grid; SHORT / GHOST / FLAM length, level, brightness and the grace hit measured; live REC both ways played back as
heard, early release, late press; MIDI bands, MIDI REC, a FUNC round trip; the OCT message, COMP TOUCH and ECHO EVEN);
web/test_web.mjs: the installer notice (preview only, 0.8.5 only, EN / JA / ES). Manuals EN / ES, cheat sheets
regenerated, README v0.8.5.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 01:17:17 +00:00
Claude 777fe889ca 0.8.5: FX as a lens, as the mock-up: TRACK (SENDS / DIST / AUTO PAN), BUSES (six modules as tiles), EFFECT (the module large, its pages)
FX's proposal "LENTE" of the approved mock-up. SELECT zooms TRACK <-> BUSES <-> EFFECT (no wrap); an FX tap the
level's next: TRACK goes round SENDS (the FX page) -> DIST -> AUTO PAN, BUSES opens the module picked, EFFECT its next
page round (DLY -> DLY 2 -> DLY 3; REVERB -> REVERB 2; SLICER -> SL BUS -> SL BUS 2 -> SL PITCH); PRESETS on BUSES
and EFFECT the module (DELAY REVERB CHORUS SLICER MASTER PUNCH, no wrap; LOAD ECO: CHORUS and SLICER skipped, their
tiles dark "ECO"). FX from another page: the FX page last shown. A new page, BUSES (DLY MIX, REV SIZE, CHORUS
DEPTH, SLICER DEPTH); every other FX page and parameter where it was. The two quick taps (next section) went with the
sections. Pictures as the mock-up's (ui_lzfx.c, any size): echoes, the reverb's decay, three chorus waves, the
SLICER's steps (the one playing framed), the output and the duck's curve, the punch lane, SL PITCH, the sends,
DIST's curve, AUTO PAN's swing; redrawn when their values change (the slicer's step where it is drawn, MASTER's
level in 16 steps): the old FX graphs redrew every other frame.
Memory: image 503908 -> 509868 B (+5960; app slot 0x8DFBC: 71696 B free); .data+.bss 84996 B, pool (spare 65248 B)
and LOWBUF (608 B free) unchanged; RAM code 21640 B. Draw (host): FX lens screens 118..224 us full, BUSES' panel
~90 us, an unchanged frame 0.4 us.
ui_test: the lens's navigation (TRACK's taps, BUSES' knobs and modules, EFFECT's pages and modules, SELECT both ways,
FX from elsewhere, the breadcrumb, LOAD ECO), every FX page reached, PRESETS on BUSES / EFFECT; ui_render: nine FX
screens, lint and alignment clean in every palette, FLAT / LINE / LARGE; draw cost. Manuals (EN, ES), README, cheat
sheets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 01:06:31 +00:00
Claude 0cce3678ce 0.8.5: SAVE as a lens, as the mock-up: LIBRARY (the projects as tiles / TOOLS), PROJECT (the sections, the arrangement / ARRANGE), SOUND (the track's being, the user slots / PRESETS)
SAVE's proposal "LENTE" of the approved mock-up. SELECT zooms LIBRARY <-> PROJECT <-> SOUND (no wrap), a SAVE tap
switches the level's two sets, each level comes back at its set; SAVE from another page still opens USER with SAVE
armed (SAVE, OCT+, OCT+). Every page, knob, dialog and the NAME screen as before, with these mapped:
- LIBRARY: PROJECT (PROJECT SECT LOAD SAVE; PRESETS the project) / TOOLS (the list, rows TINT).
- PROJECT: SECTIONS = the PROJECT page with KNOB 1 the section, KNOB 2 its name shown / ARRANGE (ROW "2/6" SECT BARS
  SCENE). OCT+ on ARRANGE adds a row after the last (its section and bars, no scene); PLAY plays the song (it did).
- SOUND: USER (SLOT LOAD ERASE SAVE) / PRESETS (No. ENG FAV LIST); the track's being (its engine's species, its HOME
  knobs, moving with its sound, as an engine page's) and the 32 slots with small beings.
The other projects' tiles: project.c lib_scan reads their sections' flash headers and section A's name bytes (no
payload, no CRC: a picture), one project a frame, cached until a project is written, loaded or renamed.
The lens's layout off under a layer's map and the NAME screen. JIANT's section colours the mock-up's (cyan violet
orange yellow). Version 0.8.5.
Memory: image 498800 -> 503908 B (+5108, app slot 0x8DFBC = 581564 B: 77656 B free); .data+.bss 84848 -> 84996 B
(+148: the library cache); pool and LOWBUF unchanged (spare 65248 B; LOWBUF 608 B free); RAM code 21676 -> 21640 B.
Draw (host): SAVE screens 210..340 us full, SOUND's panel ~140 us a frame while its being moves (HOME's frame ~115..180).
ui_test: the lens's navigation, every SAVE page reached, the tabs, LIBRARY's KNOB 1 / PRESETS, PROJECT's knobs,
ARRANGE's OCT+ adding a row and PLAY starting the song, the layer / NAME layout; persistence_test: the library scan
from the flash (another project's sections and name, an empty one). ui_render: six SAVE screens, lint and alignment
clean in every palette, FLAT / LINE / LARGE; draw cost. Manuals (EN, ES), README, cheat sheets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 00:39:51 +00:00
Claude 1a124b8c48 0.8.5: VOICE sings words: ES / EN / JA lyrics, typed, sent or diced, automatable
EDIT > WORDS > LANG (OFF ES EN JA) turns a VOICE track into a singer (src/sing.c): each note sings the next
syllable of its lyric (held note holds the vowel, TIE holds it on, the release sings the coda at the note's
level; legato glides, a chord sings together). LANG OFF is VOICE as before, bit for bit (goldens unchanged).

Articulation per track, block rate: 46 phonemes as formant targets with voicing, aspiration (into the
cascade) and frication (high-passed noise into F4 tuned to the consonant); plosives closure / burst /
aspiration, affricates, nasals, liquids, tap and trill, glides. Spanish by rules, Japanese romaji to morae,
English through a 2095-word CMU-derived dictionary (tools/gen_lyrics.py, BSD-2-Clause notice in
LICENSES/). LYRIC: TEXT (63 chars, NAME screen via OCT+ on WORDS with a KNOB 3 dice, or editor cmd 39
LYRIC), W1-W16 generated phrases from themed banks (306 ES, 272 EN, 169 JA words) as long as the pattern's
notes, S1-S8 scat. Word-mode EDIT values: POS THEME ARTIC SHIFT | BUZZ BREATH Q LOOP (POS lockable /
automatable). Lyrics saved in FUNC's optional 'L' 'Y' block (older projects load without). The VOICE pages
show word, phonemes and a moving vowel chart (sing_view for the CT head). 8 new presets appended.

Cost (on 0.8.4): flash image 498108 -> 540824 B (+41.7 KB; app slot 581564 B, 40740 B free), .data+.bss
84848 -> 85584 B (+736), RAM code +8 B, no per-voice state. The lyric text (6 x 64 B) lives in the pool
(LOWBUF had 608 B free); the project scratch's copy (+384 B) stays in LOWBUF, so the fonts' decode tables
(hc_tab, 1.5 KB, main loop only) move LOWBUF -> pool: LOWBUF 28064 -> 26900 B of 28672 (1772 B free), pool
247584 -> 249568 B (spare 72928 -> 70944 B). CPU: callgrind 4 voices VOICE vowels 1611 -> 1605, words 1743
(ES) / 1726 (EN) vs ANALOG 2314 at 8 voices; worst case song/cputest 3079 and every other section unchanged;
target loop formant_render 312 -> 315, formant_word_render 326 (analog_render 603). New tests/voice_test.c;
project, editor, web, ui_render, cpu_vg and target budget extended (existing entries untouched); ui_test's
LARGE HOME probe reads the old panel row over 16 px (a mote of HOME's moving dust landed on its one pixel
with the new presets' frame count); manuals EN/ES, protocol notes, cheat sheets regenerated, README v0.8.5.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 00:00:58 +00:00
Claude 719e06057e 0.8.4: the long delay: the line at half / a quarter rate past 0.74 / 1.49 s (to 2.97 s), the read kept inside it, 64 KB back
- Fixed: at the longest TIME with MOD on, the modulated read (wow + the Hermite's older taps) wrapped onto the
  newest samples and the input leaked into the wet. Every read now stays DLY_EDGE (8 line samples) inside the line.
  tests/delay_test.c measures it (fails on the parent commit in 7 cases).
- Adaptive-rate line (fx.c dly_lo): R = 1 / 2 / 4 chosen from the farthest read (TIME, PING-PONG x2, WIDE). A 55-tap
  half-band (Q14, DC exact) decimates the input and interpolates the output once each way. The loop (MOD, GRAIN,
  FEEDBK, TONE at the line's rate) runs at fs/R. A rate change fades out over 2.9 ms, clears the line, and restarts
  with the input faded in: no click. Hysteresis keeps a wavering clock from restarting it.
- DLY_LEN one constant (params.c): 32768 (option b). Half rate: flat to 9.5 kHz, aliases/images under -75 dB; all
  149 golden renders bit-identical. Free times appended to 2.95 s; every division real up to 2.97 s.
- The FX gate holds for an echo still due when TIME > 1.5 s.
- Pool 311236 -> 247584 B; flash +4216 B; CPU at full rate unchanged, half +158 / quarter +202 instr/sample (callgrind).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-16 21:54:48 +00:00
Claude 2d255ce6c5 0.8.4: RAM freed: the reverb models' lines shared, main-loop buffers out of .data+.bss
The five reverb models never run at once (a TYPE change fades the old model's block out, the new one starts from
silence; no crossfade), so CLOUD's line (32 KB), SHIMMER's (4 KB) and the ROOM / SPRING pre-delay (4 KB) are one
32 KB union (fx.c rev_x): 8 KB of the pool back. A change silences what the next model reads (rev_line_dirty: all
of it into CLOUD, SHIMMER's part into SHIMMER, the pre-delay's part leaving SHIMMER or CLOUD); the pre-delay skips
the change block from SHIMMER / CLOUD. CLOUD now starts empty when it comes back (its line and its tone state were
kept). FM6 user patches (upf) and proj_wire moved to the pool, the font decode tables to LOWBUF (main loop only,
checked on the IR call graph from both ISRs and core 1).

.data+.bss 93952 -> 84832 B; pool spare 8640 -> 9248 B; LOWBUF 26514 -> 28062 B; RAM code 21580 -> 21640 B; flash
+124 B. Goldens unchanged, target budget identical, callgrind +0.05 %. reverb_test: every model change pair and
three chains, PRE on: no click, silent after. Found, not changed: the delay read wraps at its clamp with MOD on.
Version 0.8.4 (felucca.c, cheat sheets, video captures), README, manuals (EN, ES).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-16 20:40:10 +00:00
Claude d1803888af 0.8.3: LENTE, the sequencer as a lens: SELECT zooms PATTERN <-> BAR <-> STEP, SEQ taps the level's sets
A tester: reaching a sequencer function took many SEQ taps (eleven pages in a chain) and the next bar sixteen
KNOB 1 detents. LENTE groups the existing SEQ pages (PAGES unchanged, cards and knobs as they were) in three
levels:
- PATTERN: the pattern's bars side by side (ui_graph.c graph_bars); sets PATTERN, STRETCH, PLAYHEADS, TRACK,
  MUTATE; PRESETS picks the bar (KNOB 1 stays LEN).
- BAR: the piano roll / DRUM grid as before; sets STEP, NOTE, AUTOMATION, AUTO LIST; PRESETS the step.
- STEP: the cursor step drawn large with chips ACC SLIDE MICRO COMP COMP 2 CHANCE (graph_bigstep); sets NOTE,
  COMP, COMP 2; PRESETS the step. COMP's own picture (graph_comp) is retired.
SELECT on a SEQ page zooms (no wrap); a SEQ tap goes round the level's sets; SEQ from another family comes back
to the level and set last used on that track (ui.lens_mem, 12 B). The footer's first row on SEQ pages shows the
three levels and the bars (the page flash goes under it). SEQ TOOLS opens on every SEQ page; dice, clear all,
locks, step recording, the grid's keys and the hidden pages as before.

Audit: no audio-path change; .data+.bss 95092 -> 95104 B, pool spare 8640 B unchanged, RAM code 21580 B
unchanged, image 482712 -> 483800 B. ui_test: test_lente (zoom, sets, memory, PRESETS, footer, tools, dice,
DRUM); ui_render: eleven LENTE screens in every palette, lint and alignment clean, their draw cost. Manuals (EN,
ES), cheat sheets and the README changelog updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-16 18:58:39 +00:00
Claude c612539e61 0.8.3: ANIMAL, a new engine of animal calls (CMOS PULSE WHSTL WING GLOTT), engine 14
From the bioacoustic synthesis report: a source that oscillates or strikes exciting a resonator, with a call's
rhythm on top. MODE picks the source and relabels the knobs (desc): CMOS, the owner's 40106 / 4093 circuit
(Schmitt-RC relaxation oscillators, exponential charge, fractional-edge polyBLEP; a slow one gates and sweeps the
fast one, a third groups phrases; C5 chirps at ~1.05 kHz with rising hooks, 2.4-4.5 a second, or a trill of 8-10);
PULSE, an escapement into a tuned SVF (crickets, katydid, cicada, frogs); WHSTL, a Hopf oscillator in polar form
(born by bifurcation, Podos-limited sweeps); WING, a polyBLEP flight tone with drift and Doppler fly-bys; GLOTT, a
glottal pulse into two formants with period doubling and a logistic map. Pattern layer in amp(): RATE, GROUP
(HOLD TRILL n+m), TEMP in degrees C (Dolbear). 24 species presets. All integer, 32-bit products.

Cost: the voice state fits voice_t's ph[3] + s[8] (no RAM: .data+.bss 95092 B and the pool unchanged), +7616 B
flash, no RAM code. Callgrind per voice (instr/sample): CMOS 103, PULSE 92, WHSTL 86, WING 67, GLOTT 167, against
ANALOG's 193: eight voices on every mode. ANIMAL comes after DRUM in ENGINE_ORDER so every existing sound keeps its
PRESETS place and PROGRAM CHANGE number. New tests/animal_test.c; cpu_vg sections per mode; target budget, goldens
and the editor mock extended (existing entries untouched); protocol notes, manuals (EN, ES), cheat sheets, README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-16 17:17:47 +00:00
Claude c3faa87871 0.8.2: SEQ keeps the piano roll on the pages that edit it; only the cards change
A tester: too many submenus, the graph changing on every page loses you. STEP, PATTERN, NOTE, STRETCH, COMP, COMP 2
and PLAYHEADS now draw the roll (a kit: the grid) with a row of segments over it (the page shown lit); COMP marks the
steps' components under them, PLAYHEADS draws its heads where they play. TRACK moves after PLAYHEADS, with the
track's own pages. ui_test covers the order and which pages keep the roll; manuals, changelog, cheat sheets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-16 14:54:30 +00:00
Claude 15e179e4cf 0.8.1: a DX7 voice from the editor or a bank slot plays as its file has it (FM6 macros back to none); lab film COMING NEXT
FM6 macros left on the track by JIANT's presets (FB +2, MOD +25 ...) drove foreign DX7 voices' modulators into
aliasing: 25..40 dB more noise on most ROM/Synprez voices. An editor PUT or a B1..B32 slot now resets ALG..DETUNE.
editor_test and fm6bank_test cover it. Video tooling: the lab film's COMING NEXT chapter (FX buses, stems app, SMK port,
Ko-fi early access) and a resumable visuals render.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-16 13:38:15 +00:00
Claude 8fe616b233 0.8.1: a DRUM kit preset keeps another track's kit (KIT OF Tn KEPT); lab film tooling
Browsing PRESETS on one track passed the DRUM-X kits and overwrote the section's shared kit, changing the drums of
another track. A kit preset now loads only on the track that has DRUM-X to itself. ui_test covers it.
Also: news_script_en.py, visuals.html and visuals_film.mjs for the 'In the lab' film.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-16 12:31:40 +00:00
Claude 11c4ff4586 The tutorial film in English: the script, the voice, the page's words
tutorial_script_en.py: the chapters in English (the same ids, graphics and
cues), with how the voice says the names (JIANT as "giant"). tutorial_voice.py
takes the language (en: an American male voice); the timeline carries it and
the page draws its words in that language.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-16 10:21:05 +00:00
Claude 30a50ddac5 The tutorial film (Spanish): script, voice-over, footage, the page
tools/video/tutorial_script.py: 17 chapters, each line its words and the step
of the chapter's graphic. tutorial_voice.py speaks them (Kokoro, local ONNX
text-to-speech) and lays out the timeline; capture_tutorial.c plays a dark,
evolving piece on the real engines arranged by the chapters while the screen
goes to what each line explains; tutorial.html + tutorial_body.js draw each
frame (black, Chakra Petch, the heat palette, the beings from the design
studies, the FM-1's real screen, an animated graphic a chapter, subtitles).
film.mjs: the tutorial film, AUDIO= the mix, PREVIEW_PRE.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-16 09:49:14 +00:00
Claude 9207a861bb 0.8.0: USB STEMS+IN, the stems with a voice from the phone
MENU > SYSTEM > USB > STEMS+IN: the stems and IN+OUT's audio output together.
The host's audio (the phone app's mic) comes into the last live track as in
IN+OUT (LEVEL, PAN, MUTE, the sends, the FX) and 10 channels go back: T1-T6,
the FX return L R, the input as the track mixed it in a stem of its own (the
app moves it by the latency; the track's own stem without it) and the input
as it came (the latency reference). 920-byte packets; the ring keeps its
8 KiB (409 frames of five words, a modulo by a constant). Tests: uac_test,
audio_test, ui_test, editor_test. Manual EN/ES, README, cheat sheets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-16 05:28:31 +00:00