Commit Graph
54 Commits
Author SHA1 Message Date
Claude 1069008042 Screen mirror: frames of 256 token bytes (was 480), so V10.8.20's pool keeps its 8 KiB to spare
Measured on V10.8.20 (710bbc4), the firmware branch's tip: the mirror with 480-byte frames took the pool's spare to
8032 B, under build.py's 8192 B headroom. With 256-byte frames (a 0.3 KiB SysEx, ~7 % more header): flash +928 B
(2208 B left), .data/.bss +0, pool +432 B (8256 B spare); every check passes. The editor's and Studio's encoders (the
simulated device, the tests) follow; the decoders take any size. EDITOR_PROTOCOL.md says so.

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

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

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

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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
2026-11-21 17:15:04 +00:00
Claude c006816226 [private-preview] Docs and site texts for V10.6z9 (manuals, README, landing, installer notices, interactive manual)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-08 14:58:39 +00:00
Claude b6b5bfdd44 0.9.18 MENU: CPU CORES beside CPU CLOCK, BPM LOCK on AUDIO, a LEDS page; the footer says a page once
The open items of the MENU's review, decided:
- SYSTEM > SYSTEM: RESTORE LAST, CPU CORES, CPU CLOCK (what a power-on does, all from the next start), ABOUT;
  CALIBRATION to SYSTEM > CONTROLS (the controls it teaches; KNOB 4). The crash message: MENU > SYSTEM > CORES.
- BPM LOCK leaves CLICK for AUDIO (SPEAKER EQ, TRACKS, LOAD, BPM LOCK); CLICK keeps the metronome's three.
- With that, eight pages cannot hold the 29 rows (CLICK was the only home left for a fourth card), so SCREEN gets a
  third page, LEDS: LED GLOW and SCALE LEDS together; SCREEN 2 is SCOPE, ANIMATION, SCREEN SLEEP. Nine pages, every
  one of up to four knobs and opening on a value (never on an action).
- The footer does not repeat a page named as its tab: MENU . SCREEN, MENU . SCREEN 2, MENU . AUDIO, MENU . SYSTEM;
  MENU . AUDIO . CLICK, MENU . SCREEN . LEDS, MENU . SYSTEM . CONTROLS as before. n/9.
- Card labels: CALIB, CPU MHZ, USB AUD; no two alike on a page (tests/ui_test.c checks it); no card mark in the MENU
  (the two LEVEL cards had the level icon, no other setting a mark).
- Nothing stored changes (ids, values, defaults); the editor's tabs: SCALE LEDS SCREEN, CPU CORES SYSTEM.
- tests: ui_test (pages, crumbs, labels, knobs), editor_test, cpu_safe_test; ui_render MENU > SCREEN 2 scene
  (menu_screen2). README, MANUAL EN / ES, EDITOR_PROTOCOL, the web manual and its shots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 04:26:09 +00:00
Claude f5a0afb323 0.9.18: the MENU's new pages in the README, the EN / ES manuals, the editor protocol, the nav map and the web manual
README: v0.9.18 changelog (the page table, the renames, INIT SYSTEM gone), Getting around,
current MENU paths (SCREEN > SKIN, USB > AUDIO, SYSTEM > ABOUT ...). MANUAL / MANUAL.es:
the MENU section rewritten as pages (tab, page, knob, setting, values), rule 6's MENU line,
every MENU path. EDITOR_PROTOCOL: the 0.9.18 tabs and names (ids unchanged). Navigation
map regenerated (the HOME layer's MENU line). Web manual: the MENU entries, what's new
0.9.18, nav.js and its screens regenerated. FELUCCA_VERSION v0.9.18.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-20 03:15:16 +00:00
Claude 74ce7c7c9f Merge branch 'usb-name' into rel-0912
# Conflicts:
#	README.md
#	docs/MANUAL.es.md
#	docs/MANUAL.md
2026-10-18 20:45:04 +00:00
Claude ebcefb24d2 Merge branch 'skiff-bits' into rel-0912
# Conflicts:
#	README.md
#	docs/MANUAL.es.md
#	docs/MANUAL.md
#	docs/navigation-map.es.png
#	docs/navigation-map.es.svg
#	docs/navigation-map.png
#	docs/navigation-map.svg
#	firmware/src/menu_items.c
#	firmware/src/ui_menu.c
#	tests/editor_test.c
#	tests/ui_test.c
2026-10-18 20:44:36 +00:00
Claude 7180629b0b 0.9.12 (draft): safe by default on FM-1s that crash; the sound's flash layout pinned (0.9.10 crackle candidate)
Stability (users' random "FELUCCA/JIANT CRASH" screens since the dual-core 0.6.x builds):
- MENU > SYSTEM > CPU 2 CORES / 1 CORE and CPU CLOCK 360 / 320 MHZ (settings byte favorites.factory[15][17],
  editor ids 23, 24), from the next start. A crash or a watchdog hang while both cores ran, or the second core
  given up (misread / no answer / fault), turns 2 CORES off for good (was: until power-off) and says
  "2 CORES OFF AFTER A CRASH - MENU > SYSTEM > CPU" / "CORE 2 FAILED: 1 CORE"; ABOUT: CORES 1 (AFTER A CRASH).
- 320 MHz: curist's fm1-clk320-probe switch (MIT, hal/fm1_clk320.h, unchanged; LICENSES/MIT-fm1-clk320.txt), at
  boot before the scan, core 1, audio and USB; a reset during it: no failed boot, no retry until power-off.
- Crash screen: version, the faulting core and how many ran, a short code (cpu_safe.c crash_code) and the five
  numbers labelled (VEC PC EMU DBG RETS, same order as every older screen). The last crash (or watchdog hang) is
  logged as 32 characters in the settings record (SLICE's retired favourites row 13): MENU > ABOUT > LAST CRASH,
  the editor's settings backup, console `crash`. tools/crash_decode.py maps a photo's numbers to functions (ELF).
- Fixed race: every flash erase/write/read turns XIP off with IRQs off; the 48 kHz USB resampler job (0.8.9)
  runs on core 1 past the audio ISR, so a core-1 fault then would fetch the vectors from a disabled flash.
  irq_save now parks core 1 first (fm1_mc_park, FL_PARK hook).
- One core: the load governor's budget at 55 % (was 65 %) so peaks have room without core 1.
- MENU > AUDIO > LOAD (was SYSTEM's; a bottom tile holds 7 rows), RAMTEXT 1 KiB larger (from the pool's spare).

Crackle since 0.9.10 (owner's unit: 0.9.9 clean, 0.9.10/0.9.11 up to 94 % load on every output, host counts equal):
- 0.9.9 -> 0.9.10 changed no sound code and left the RAM code byte for byte, but the +6 KB of new drawings came
  before the engines in the image: every engine render (flash/XIP, shared cache) moved +6178 B (analog +9414)
  while the effects, master and ISR stayed put. Now everything an interrupt reaches (347 functions, 244 tables)
  is placed first in name order (build.py audio_sections, app.ld .text.a.* / .rodata.a.*): UI changes can no
  longer move it (verified: this commit's +2.3 KB of UI moved the renders by 48 B, sound-side edits). Same size.
- TIMER5's USB refill (0.9.10, every 10 kHz tick, also nested in the render): no SIE poll for 0.6 ms after a
  packet is queued (it cannot have left yet): ~4 polls a ms instead of ~10. tests/target_budget.py watches
  ep4_tx / ep4_fill.

Image 578540 B (+2348 over 0.9.11). ./build.sh && tests/run_tests.sh: ALL HOST TESTS PASSED (new
tests/cpu_safe_test.c; settings, ui, editor tests extended).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-18 20:40:33 +00:00
Claude eb9ee2d2af USB name "JIANT", on a new iProduct index so Windows/Live stop showing "Felucca"
Windows' USB audio driver caches a MIDI port's name under MediaCategories\{GUID},
the GUID built from VID, PID and the iProduct string *index* only (ksmedia.h
INIT_USBAUDIO_PRODUCT_NAME), written once. Felucca and JIANT shared 1209:0001 and
index 2, so Live kept showing "Felucca". The product string moves to index 4
(USB_STR_PRODUCT) and reads "JIANT" (was "JIANT FM"); the loader keeps
"JIANT Update" on the same new index. Manufacturer "Juan Jiant", VID/PID and
bcdDevice unchanged. Image 576192 -> 576176 B.

Consumers already matched /felucca|jiant/ and identify the firmware by its
identity / INFO reply; tests now cover "JIANT", "JIANT FM", "Felucca", Windows'
numbered names, and a "JIANT"-named port answering FM-1_015 (web/test_web.mjs,
tests/install_test.py), plus the string descriptors (tests/usb_desc_test.c).
Editor mock renamed. README v0.9.12 (draft), MANUAL EN/ES, EDITOR_PROTOCOL.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-18 19:54:48 +00:00
Claude 329aff53fa 0.9.12 draft: 12 voices with the second core, sound types + PRESETS by type, MIDI LEARN (MENU > MIDI), FM6 bank sector guard, copyright lines
- voice.c voice_cap: VOICES_2CORE 12 while the second core takes parts (fx.c mc_two: CORES 2, not REC at
  power-on, not given up); one core 8, LOAD ECO 6; a track still NVOICE 8 (no RAM). After Skiff by illuminus5.
  cpu_vg: mix/v12 (both cores 3924 instr/sample), mix/v12.c0 (core 0 1949), mix/v12.one (one core, 8 voices 3241);
  regress.c chk_budget_2core; the dual-core equivalence test at one budget (mc_host_v12).
- Sound types (PT_BASS..PT_FX) on all factory presets in preset_t.mono bits 1..4 (no format change); PRESETS LIST
  ALL / FAV / BASS LEAD PAD KEYS PLUCK BELL VOX DRUM FX across engines, saved in favorites.factory[15][18];
  gen.c keeps PT_BASS sounds off the other roles (was a name match). After Skiff by illuminus5.
- MIDI LEARN ported from Felucca 1.5 (midi_learn.c): 10 CCs, 3 bytes each in DIGITAL's favourites row, reserved
  CCs and the standard map refused, any channel, USB and TRS; MENU > MIDI tab (MIDI OUT, LEARN, LEARN CLEAR);
  state in the pool.
- fm6_vbank.c: 0xE7000 holding foreign data (Skiff's pattern bank) reads as no bank and is never erased at
  power-on; only a bank the user sends replaces it. fm6bank_test foreign_test.
- Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant) in JIANT's files ("Portions" in mostly-Felucca ones),
  README / LICENSING.md / MENU > ABOUT credits (Felucca, Skiff).
- Docs: MANUAL.md / MANUAL.es.md, README v0.9.12 draft, EDITOR_PROTOCOL.md (tabs), cheat sheets, nav map.

Flash 576192 -> 577712 B (+1520), .data+.bss unchanged, pool +8 B (spare 10528 B).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-18 18:50:07 +00:00
Claude 0912abb2f0 0.9.9: PROGRAM CHANGE follows the new engine order (DRUM-X first), as PRESETS shows it
ENGINE_PC_ORDER and preset_all_at_in removed: program n loads the PRESETS list's n + 1-th sound. MIDI rigs set up
for 0.9.8 or older need their program numbers set again (manuals, README, protocol say so).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-18 11:27:00 +00:00
Claude 6968b20ed1 0.9.9: DRUM-X, VOICE, ANIMAL first: power-on tracks and the engine order
- Power-on, INIT SYSTEM and NEW PROJECT (engines.c TRK_DEF, ui.c power_sound_of / power_on_parts): T1 DRUM-X (the
  factory kit), T2 VOICE SINGER EN (sings words), T3 ANIMAL CMOS BIRD, T4 LOFI BYTEBEAT, T5 ANALOG FAT BASS,
  T6 FM6 TINE EP, each its preset's sound, dry (no DIST CHOR DLY REV send). INIT SOUND unchanged.
- The display order (ENGINE_ORDER, a table over the append-only ENGINES[] indices): DRUM-X VOICE ANIMAL LOFI ANALOG
  FM6 PHASE WHEEL NOISE (DIGITAL last in FELUCCA_FM4 builds) on PRESETS, KNOB 2 ENG, the web editor's lists and the
  cheat sheet. Engine numbers never renumbered; PROGRAM CHANGE keeps 0.9.8's numbering (ENGINE_PC_ORDER).
- Old projects: the tracks an old format lacks still load as 0.9.8's power-on sounds (TRK_OLD); everything saved
  loads unchanged. GEN genre recipes unchanged; drums found by drum_track() wherever they are.
- Tests: new ui_test checks (power-on engines/presets in order, dry, each sounding, DRUM on T1 alone, HOME key and
  MIDI note on T1, NEW PROJECT identical; selector place <-> engine round trips; ENGINES[] indices; PROGRAM CHANGE
  order; a 0.9.8-track project unchanged after the new power-on). Updated old-order / old-power-on assertions (KNOB 2
  steps, ENGINE_ORDER names, NEW PROJECT sounds, PROGRAM CHANGE expected sound, web editor lists and mock, project
  tests on old formats -> TRK_OLD). UI tests, renders and CPU sections keep 0.9.8's tracks as fixture (TRK_OLD).
  Goldens, cpu_vg and target budgets unchanged.
- FELUCCA_VERSION v0.9.9; README v0.9.9 section, manuals (EN / ES), EDITOR_PROTOCOL; navigation map, cheat sheets
  and README hero (HOME render now on the power-on tracks) regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-18 06:21:57 +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 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 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 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 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 275211a051 FX destinations: an offset over the live stored value; DESC enum names up to 32
The buses read the stored value plus the matrix offset (no slot: the
stored value, live for the UI and the host tests). The editor protocol
sends up to 32 enum names (the matrix DST has 30 now; was 24).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-15 16:19:51 +00:00
Claude 0f0352b090 v0.6.11: FM6 voice bank B1..B32 (from Felucca 1.5.1)
- fm6_vbank.c from Felucca 1.5.1: 32 voices in flash at 0xE7000 (free in JIANT), staged in the
  autosave's older copy, committed last: a power cut leaves the old bank or the new one. Its
  record type is 64 here (Felucca's 32 is a song object in JIANT's store)
- eng_fm6.c / params.c: SLOT F1..F8, OWN, B1..B32 (9..40); the knob skips empty bank slots,
  elsewhere a B slot without a voice is refused; never stored as a bank slot (param_fit: OWN,
  the patch comes with the project / preset); the bank voice's name on the chart
- storage.c st_crc32_add, fm1_flash.h FL_VBANK, up_fm6.c's 7/8-bit packing shared (Felucca's)
- editor: cmds 74..77 (FM6B_BEGIN / WRITE / END / LIST) as Felucca's, INFO 56 01 32
- web editor: the bank sender (fm6Bank: a 32-voice .syx sent whole with its CRC, the device's
  bank shown) in the 6-OP FM tab; the mock device's bank; EDITOR_PROTOCOL.md
- tests: Felucca's fm6bank_test (power cuts at every byte, CRC, SLOT, stored values; also
  under ASan/UBSan), its web bank test, FM6 SLOT range, the INFO tag; README, cheat sheets

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-11 00:32:26 +00:00
Claude 97207c5b3d JIANT 0.6.3: the SLICER as one bus (T1..T6 + FX switches) with a pitch sequence
- One stereo SLICER on a bus: the routed tracks (SL BUS: T1..T6 ON/OFF) enter
  after their DIST, filter, level and pan; FX ON sends the delay, reverb and
  chorus returns through it (everything on: the whole mix stuttered post-FX)
- Settings are globals (G_SLMODE..), stored per section (FUNC 'SL' block,
  staged with the section in songs); older projects migrate from the tracks
- SL PITCH: 16-step pitch sequence for the STUT repeats (+-24 st, tape style,
  QNT SCL snaps to the scale), MSEQ-style page
- Same 32 KB (stereo 371 ms), one slicer instead of one per track
- Web editor: the 29 globals, the new pages; tests rewritten for the bus,
  routing / FX / pitch tests, FUNC round trip and migration; README

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-10 18:41:13 +00:00
Claude ee130ccac0 JIANT 0.6.0: six tracks, compressed sections, fill warning
- NPART 6: T5 PHASE, T6 WHEEL by default; ALGORITHM scrolls T1..T6
- FUNC section format: six tracks in the same 3840-byte slot (8 songs x 4
  sections kept); only non-default parameters and non-empty steps stored,
  variable-length steps; FUNB / older formats import (T5/T6 at power-on)
- Section store packs aside first: SECTION FULL keeps the stored section
- Fill warning (SECTION 90% FULL / TOO FULL TO SAVE), checked once after edits
- Motion: track bit 2 in the value's bit 12 (old records read unchanged)
- Scenes: T5/T6 mutes in the scene's spare bits
- GLO / FX layers: six mutes and solos, DRUM groups on black keys 7..10,
  levels follow the selected track; MIXER shows four around the selection;
  HOME six beings
- MIDI IN ROUT CH1-6; FX mute gains start open on every track
- comb_buf and proj_scratch moved to the pool (RAM 74.6 of 96 KB)
- Web editor: six tracks in the mock, motion on T5/T6, texts
- Tests adapted (legacy builders on PROJ_LT, FUNB writer for byte checks),
  new FUNC round trip, fuzz and fill tests; README changelog and manual

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-10 17:59:53 +00:00
Claude 37b5d413a4 JIANT 0.5: master leveler, CLIP level-matched, FILTER on every engine, GLOBAL in thermal bars, README rewritten
- master: CLIP made up at a mix's usual level (saturation, not loudness); an always-on leveler (2:1, -9..+6 dB,
  smoothed, gated back to unity) after the DC block, before the limiter
- FILTER on every engine: P_FCUT P_FRES (P_COUNT 123): LP HP BP COMB on the part's sum (voice.c track_filter),
  DRV the part's DIST; ANALOG keeps its per-voice filter
- GLOBAL: 16 thermal columns (tempo, swing, the step now), CLK sources, TUNE bar
- README: the whole system and the mod's philosophy; Chakra Petch license

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-09 22:46:13 +00:00
Claude 0909c36a51 JIANT 0.5: engine fixes, SELECT sound dice, macro dice on sounding tracks, ANALOG filter types, BYTE RES/LOOP, DRUM-X FOLD, HOME ecosystem, signature splash
- ANALOG: INT moves osc 2 in SYNC and RING; FILTER page (TYPE LP HP BP COMB, CUT, RES, DRV): HP/BP from the SVF,
  COMB a per-part feedback comb tuned to the newest note (P_FTYPE before P_E0: P_COUNT 121, mapped by count)
- DLY: the grain pitch shifter keeps room to sweep at long times (1/1 and up)
- LOFI BYTE: RES (VIB's slot) and LOOP (MASK's slot: a short repeating window, a pitched tone); BYTE TONE preset
- DRUM-X: WARP replaced by FOLD, a wavefolder after the envelope
- SELECT: tempo on HOME and GLOBAL only; elsewhere it dices the track's sound (synth: a factory preset varied;
  DRUM-X: kit A and B around the factory kit)
- macro dice reroll: only tracks sounding now
- HOME: an ecosystem, one being per track reacting to its own audio
- splash: the maker's signature (tools/gen_signature.py) written stroke by stroke in thermal colours

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-09 22:36:52 +00:00
Claude 7ecefc1e93 JIANT 0.4 (6): LOFI filter and deformations, BYTE first; ANALOG osc 2 interval; no VOICE 2
- LOFI: SWP ARP TONE out; CUT (a resonant low-pass the ENV / LFO move), BEND (BYTE:
  the time folded; other waves: the phase bent), MASK (low bits flipped); VIB kept;
  BYTE first in the WAVE knob and the presets (BYTEBEAT, BYTE VAR, BYTE BENT)
- ANALOG: E8 INT, osc 2 +-24 semitones (was KTR; the key tracking fixed at half);
  SAW LEAD an octave, RAVE a fifth, FAT BASS an octave down
- Older sounds convert on load (core.h sound_v04): projects by the kit marker 3,
  user presets by UP_V04_MARK (up_put marks too)
- EDIT: VOICE 2 (ALLOC DETUNE PAN MUTE) gone from every engine
- Tests: LOFI CUT BEND MASK, ANALOG INT, conversions; goldens, budgets

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-09 18:21:57 +00:00
Claude 1e5763b362 JIANT 0.4 (5): free delay times, one delay TONE, DRUM-X pitch modes and DRIVE
- Delay TIME: past the last division, 48 free times 5 ms .. 1.48 s (the knob steps
  on past 1/32); the editor lists them so
- Delay TONE (G_DCOLOR): one filter for the repeats, low-pass .. open (64) .. low
  cut; G_DHPF stored, no longer read; DLY 2: WIDE, PITCH, SPRY
- DRUM-X per sound (the mode's free bits): the pitch modulation DECAY / LONG (808
  boom) / NOISE / SINE, and DRIVE; EDIT > SOUND 3 (LANE, PMOD, DRV, WAVE)
- Tests: free times, the modes and DRIVE; goldens (the delay's TONE open by default)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-09 17:59:09 +00:00
Claude e47f6bf976 JIANT 0.4 (3): TRIO folded into ANALOG, LOFI BYTE (bytebeat), PHASE FB
- ANALOG: SYNC, RING and SAW3 waves (their own render: the other waves' loop as it
  was); TRIO (engine 6) retired, its sounds load as ANALOG's nearest
  (core.h analog_from_trio: projects, user presets); its presets SYNC LEAD, RING
  BELL, FAT BASS in ANALOG
- LOFI: WAVE BYTE, 32 bytebeat formulas (DUTY: ALGO, CRSH: VAR), t following the
  note; presets BYTEBEAT, BYTE VAR
- PHASE: E8 FB, phase feedback (two-sample mean); presets GROWL, FB BASS
- Pages CI: the package named by the version only; FELUCCA_VERSION v0.4
- Tests: BYTE, the ANALOG waves, PHASE FB, TRIO conversion; goldens (no existing
  render changed; TRIO's gone, 7 new), target budgets

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-09 17:12:17 +00:00
Claude ea8dc34014 JIANT 0.4 (2): ENV LOOP, HOME's latched macros, the session's macro dice
- ENV DEST > LOOP (track parameter 8, once the unused ENV DEST FX): a held note's
  envelope starts its attack again at the sustain
- HOME tapped twice: M1..M4 latched on HOME's knobs and screen until HOME is tapped
  again there
- MACRO DICE: each power-on gives every track with no macro route two random routes
  to what its sound has (seeded per session; the emulator from the page); with LFO
  held F3 rolls new ones, G3 clears them
- Tests: ENV LOOP, the latch, the dice

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-09 16:46:49 +00:00
Claude ac86614e43 JIANT 0.4 (1): transport-grid FX, knob acceleration on, one scale with STRN
- The transport's 1/16 grid (clk_pos / clk_step, now with clk_n) drives the SLICER
  (resynced at every step: RATE or tempo changed mid-song lands on the bar at once),
  the punch-in quantization, the REPEAT start and the modulation sequences
- KNOB ACCEL on by default (MENU > KNOB ACCEL OFF): x2..x16 by speed, capped by range,
  slow turns one step per detent
- ROOT / SCALE set on one melodic track become every melodic track's; G_STRN moves
  every sequence along the scale (G_COUNT 37, GX marker 3)
- Tests: SLICER RATE/tempo change in sync, accel curve, scale link, STRN, formats

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-09 16:25:58 +00:00
Claude 49b8bb767d JIANT 0.3: DRUM-X FM, quantized punch-in, stronger drum bus, reverb and grain delay
- DRUM-X: ACC replaced by FM (harmonic FM, eight ratio bands); older projects and
  user presets load DRUM's E5 as FM 0 (project DX marker 2, user preset mark byte)
- DIST CRUSH levelled with the other types
- Punch-in FX start on the transport's next 1/16, REPEAT follows the transport grid;
  RANDOM moves steps too; the third MIDI stutter is ATK+ (every synth's attack up)
- MSEQ: SLEW on KNOB 4
- PUNCH: up to +11 dB into the voice's knee, tail down to -14 dB (Drum Buss strong)
- DUCK: down to -30 dB, a 25 ms hold, a sidechain-pump release curve
- Reverb: MOD up to ~5.7 ms (ramped per sample), FILT (tone) and WIDE (width)
- GRAIN delay in the delay line (no new RAM): PITCH -12..12, SPRY
- G_COUNT 36: the four new globals stored behind GX marker 2 (marker 1 projects
  keep their five, the new four at their defaults)
- Tests: FM, PUNCH, GRAIN, FILT, WIDE, MOD, DUCK, format migrations; goldens and
  target budgets updated for the DRUM changes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-09 14:13:47 +00:00
Claude 3aff2d438e Retire SAMPLE, GRAIN and SLICE: 140 KB of flash and 32 KB of RAM freed
The sample engines go with their factory samples (and the build's sample
generator). Their engine numbers stay reserved (ENG_GONE, named "-", as
PHYS): a sound of theirs that arrives -- a project, a user preset, the
editor, a backup -- plays as ANALOG's first preset (core.h eng_gone; its
engine motion dropped), a SAMPLE PERC sound still as DRUM-X (converted
first). Image 433 -> 293 KB; RAM -4.5 KB, pool -28 KB, left for DRUM-X,
the effects and the punch-in FX. Goldens: 0 renders changed, the 10 of
the retired engines gone. Web editor and emulator follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-09 13:26:31 +00:00
Claude f54217f75f Backup of every song; leaner RAM (MIDI notes packed, half-rate pre-delay)
- The editor's backup carries the song index (id 10: every song's rows
  and scenes) and every song's sections (ids 40..71), read from flash as
  they are asked for into the storage driver's own buffer: no new RAM.
  Restores write each song's objects (older formats converted); older
  firmware refuses them and the web editor skips them.
- MIDI note ownership packed into nibbles: 1 KB less RAM.
- The reverb's pre-delay line at half rate (averaged in, interpolated
  out): 4 KB less pool, still 92 ms.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-09 12:50:33 +00:00
Claude b0a07d47d0 MSEQ modulation sequencer, DIST types, delay HPF, WIDTH, reverb MOD and PRE (FUNB)
- LFO > MSEQ: per track a CV-style sequence of 16 levels with LEN, DIV and
  SLEW, running with the transport; the MOD matrix reads it as STEP.
- DIST TYPE (SOFT as before, HARD, FOLD, CRUSH, RECT) and TONE (FX > DIST).
- Delay: HPF in the feedback (COLR stays its high cut). WIDTH: the delay's
  right echo up to 1/32 later, the chorus's second tap opposite; 0 is mono
  as before.
- Reverb: PRE (pre-delay up to 100 ms); MOD and RATE modulate the ROOM's
  comb lengths (interpolated reads) and deepen the SPRING's wobble.
- Projects are FUNB (3840 bytes): 21 track parameters before P_E0
  (P_COUNT 120, P_E0 112) and 5 globals after the header's 27. FUNA and
  older load mapped by count, the new values at their defaults; the
  goldens are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-09 12:30:31 +00:00
Claude 3081ded59e Macros M1-M4: LFO-held MACRO layer, MOD sources, master targets; README
M1..M4 (0..127, saved with the project in FUNA's spare bytes) are new
MOD matrix sources, so a macro reaches every slot that names it, on any
track. The matrix gains the master's CLIP and PNCH as destinations
(macro_master sums every track's slots once a block; the stored values
stay). LFO held opens the MACRO layer: KNOB 1..4 turn M1..M4 and the map
lists where each one goes. README rewritten to present the project.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-09 11:00:35 +00:00
Claude aca4f4c3ad Remove CHORD keys; SEQ > SHIFT: automatable sequence offsets
The chord keys (chord.c, the CHORD page and graph, kb/MIDI chord
bookkeeping) are gone (-2 KB flash, -320 B RAM). Their two track
parameters become OFS (-32..32 steps: the sequence plays later,
wrapping inside LEN; live recording writes where it is heard) and PIT
(+-24 semitones, not on kits), both automatable, on SEQ > SHIFT and the
SCL layer's KNOB 3/4. Playheads mark the step that sounds. Projects
written before carry no SHIFT mark and load both at 0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-09 10:27:38 +00:00
Claude 6d9d987c56 DRUM es DRUM-X: se retiran los kits de Felucca
Fuera drum_voice.c (STD y los kits 80 10 66 55 77): DRUM toca solo DRUM-X.
Las perillas quedan en el mismo lugar del proyecto: MRPH (donde estaba KIT,
ahora KNOB 1), TUNE, TONE, DECY, NOIS (donde estaba SNAP: mueve el ruido de
todos los sonidos), ACC (acento hasta +3,5 dB), DRV; el lugar de KICK queda
libre. El mapa GM toca cada nota en su lane (congas en TOM, claves en RIM,
platillos en BELL). Las páginas SOUND / SOUND 2 aparecen en todo track DRUM.

Libera 12,3 KB de flash (426 KB) y 7 KB del pool.
Tests, goldens de batería, editor web y protocolo actualizados.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-09 01:52:12 +00:00
Claude 19fb2250e3 DRUM-X: mutes por grupo KICK / SNARE / HAT / PERC
GLO + teclas negras 5-8 mutean los grupos de DRUM (cualquier kit): los
golpes nuevos de un grupo muteado no suenan y lo que suena se apaga en
~6 ms sin click. LED apagado = muteado, C4 desmutea todo. Se guardan con
la sección (byte 3208 del proyecto FUNA) y la canción los aplica al
cambiar de fila. Tests: drumx (silencio, fade sin salto, vuelve a sonar),
project (round trip), ui (teclas y LEDs).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-09 01:06:44 +00:00
Claude d679c8f304 DRUM-X kit in the section: project format FUNA
- dx_kit is the music's DRUM-X kit (KIT X plays it); FUNA (3744 bytes) is
  FUN9 with the kit (88 bytes + 8 reserved) at 3120, before the FM6
  patches. FUN9 and older load with the factory kit; a kit value out of
  range is neither packed nor loaded.
- project_capture / restore carry the kit; the song stages it with the
  section and the ISR swaps it in on the bar.
- Tests: layout, kit round trip, refusal, a FUN9 of Felucca 1.1 loading.
  EDITOR_PROTOCOL.md: FUNA.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-08 22:40:33 +00:00
Claude 6ad8385f6f Song 4d (2/2): 8 songs in flash, song selector
- Song 1 is the four project slots (Felucca's projects stay there); songs
  2..8 are 28 A/B objects at 0xA0000..0xD7FFF; the song index (each song's
  rows, the current song) at 0xD8000 / 0xD9000.
- Rows belong to the song: loading a section no longer replaces them. A
  first boot takes song 1's rows from its section A.
- SAVE held + KNOB 1 picks the song, switched when SAVE lets go (stopped):
  the song left is flushed (sections and rows), the new one's sections and
  rows come in and its section A becomes the music.
- Rows written to the index once they rest for 2 s with the transport stopped.
- Tests: flash map, song switching, power-off, first-boot migration, UI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-08 19:40:55 +00:00
Claude 5535e1c642 Song 4d (1/2): remove user samples
- SAMPLE / GRAIN lose USR1..3 (stored 5..7 clamp to the PIANO alias);
  SLICE SRC 1..3 become aliases of BREAK, DIV MAN is gone (a stored MAN
  plays AUTO). Factory sets, BREAK and PIANO stay; the missing-sample sine
  stays for builds without the CC0 samples.
- Gone: slice_store.c, ui_slice.c and the EDIT > SLICES page, the AUTO
  scan of user slots, the editor's SMP_* commands (11..15 reserved),
  backup ids 32..34, tools/fm1_sample_upload.py, the web Samples tab.
- Older backups with sample entries still restore (those entries skipped).
- Flash 0xA0000..0xDBFFF is free for the songs; app image -9 KB, RAM -6.5 KB.
- Tests rewritten for BREAK / PIANO only; README and plan updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-08 19:18:55 +00:00
Claude 2ddd9bb1b3 TONIC song 4a+4b: filas por compases y sección = proyecto completo (estilo SLOOP)
La canción pasa a ser filas {sección A-D, 1-64 compases}. Cada sección es el
proyecto guardado completo: sonidos (engine, parámetros, patch FM6), pasos y
automatización. El main loop prepara la sección siguiente (sec_stage) con al
menos un compás de anticipación y el ISR la aplica en el compás, todos los
tracks desde el paso 0 con el resto del bloque arrastrado. La música de antes
de PLAY se guarda (song_keep) y vuelve al terminar o parar.

Se divide en song_chain.c (estado), song_play.c (ISR, al final de seq.c) y
song_main.c (main loop, en project.c). Se va chain.source: .bss 89744 -> 77280 B;
pool 279392 -> 287540 B. Página SONG, editor web y protocolo con compases.
Tests de host, web y emulador pasan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-08 17:36:19 +00:00
Claude c829374160 TONIC: retirar el engine PHYS (libera 50 KB de RAM del pool)
El número de engine 9 queda reservado, como DIGITAL: ENG_PHYS_GONE no tiene
presets y no se ofrece (eng_ok). Un sonido PHYS que llegue (proyecto, user
preset, PRESET / G_ENGSEL del editor, backup) suena como el primer preset de
ANALOG (eng_live, proj_phys_gone, set_engine_of, la red de ui_input). Un PHYS
DRUM de antes de 1.0 sigue cargando como DRUM.

Se borran eng_phys.c, phys_dsp.c, phys_symp.c, sus tests y las licencias MIT
de DaisySP y Rings. Pool: 331204 -> 279652 B; app: 447596 -> 438360 B.
Tests de host, web y emulador pasan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-08 15:45:44 +00:00
kurogedelic 213df5a094 Felucca 1.1.5.1
SCREEN OFF no longer leaves the FM-1 unresponsive: the screen goes dark
but the backlight stays on (its line also enables the buttons and keys,
so on 1.1.5 nothing woke the screen until the FM-1 was switched off).
SCREEN OFF is NEVER by default; 1.1.5's stored default (30 MIN) reads
as NEVER.
The SCREEN OFF row in the MENU shows the new value at once (#157, #160).
2026-10-08 16:02:51 +09:00
kurogedelic 276f72a4e6 Felucca 1.1.5
Parameter locks: hold a step on SEQ > STEP and turn a knob; SEQ > AUTO
LIST lists and edits the locks and automation; lock edits undo.
SEQ TOOLS (SEQ held on the SEQ pages): CLEAR, REVERSE, SHIFT, RANDOM,
COOK, BEAT and the DRUM lane tools.
REC layer (REC held): CLEAR, CLICK, COUNT-IN, CLICK LEVEL.
Metronome and count-in (MENU > AUDIO), never in USB audio.
MIDI CC map (5, 7, 10, 71..75, 91, 93, 94); DRUM lane levels (EDIT >
LANES, LANES 2; projects FUN9).
USB audio input at 44.1 or 48 kHz.
Step recording at the cursor (SEQ > STEP, REC while stopped); restore
the last session at power-on (MENU > SYSTEM > RESTORE LAST).
Eight more ARP modes; MENU > CONTROL > SCALE LEDS; MENU > DISPLAY >
SCREEN OFF.
The header in three parts with a metronome; the new splash; the
power-on LED sweep; DRUM grid beats on the key LEDs.
Fast knob turns keep every click; KNOB ACCEL up to x8, on the FX and
GLO layers too (#126).
MASTER read from the pot before the audio starts, keys silent under
the splash (#137).
The update loader checks the whole package before erasing anything;
robustness against damaged packages and stored data; sanitizer and
fuzz runs in tests/run_tests.sh.
Smaller icons in flash.
2026-10-08 11:11:01 +09:00
kurogedelicandThiago Gonçalves 3dd2b0852b Felucca 1.0.5
Sequencer: RATCH, a step's ratchet x1..x4 on SEQ > CHANCE (KNOB 3): a
NOTE step plays its notes and drum hits 2..4 times in equal parts of
the step, one chance roll for all of them, no slide or tie out; drawn
in its parts on the piano roll and the drum grid. Kept in projects
(FUN8 layout unchanged, bit 7 of the velocity and chance bytes), backups
and user preset patterns; editor protocol INFO 52 01 04, a ratchet byte
after the chance (#47, Discussion #77, PR #100 by zednaked, ported).
LEDs: what can be pressed breathes, dark to ~60 % of lit and back (DIM
LO ~30 %), instead of blinking; what is in effect stays lit (#119).
DRUM: KIT HAND, CYM and H+CYM retired; their values stay as aliases and
play 66, 10 and 77. MENU in tabs (DISPLAY CONTROL AUDIO SYSTEM):
ALGORITHM = tab, PRESETS = row, any KNOB or OCT- / OCT+ = value, HOME
closes; MENU_DESC ends with the item's tab (index, name).

Co-authored-by: Thiago Gonçalves <zednaked@gmail.com>
2026-10-07 16:23:46 +09:00
kurogedelic 2da8a71cf8 Felucca 1.0.4
DRUM: five more kits on KIT (80, 10, 66, 55, 77) in the manner of
classic analog drum machines, every lane its own synthesized voice; a
key-off before the first audio block no longer loses the hit. SLICE
gets PIANO as a source next to BREAK (SRC 4, the SAMPLE PIANO middle C).
An empty or invalid sample slot, or a missing built-in set, plays a sine
at the note's pitch on SAMPLE, GRAIN and SLICE, with a NO SAMPLE alert
(SAMPLE NOT FOUND on the SLICES page). The PRESETS knob
changes the sound on every page that is not a list and moves the step
cursor on the SEQ pages (Discussions #92, #94); REC held on the SEQ
pages clears the sequence after asking (#91, #108); on STEP the keys
light the cursor step's notes while stopped (#89); MOTION is now called
AUTOMATION (#93). The web editor reads and changes the MENU settings
(MENU_DESC 72, MENU_SET 73). OCT- pressed quickly with GLO, SCL, EDIT
or, with FX LATCH, FX (all off) now acts. The firmware runs in the
browser: web/emu, after charlesvestal's X0X (#101). EDIT layer: the
engine cells are 20 px tall, 8 px clear of the sound row.
2026-10-07 12:51:18 +09:00
kurogedelic b22a24b64b Felucca 1.0.3
MENU > LARGE: tall knob cards marked K1-K4, larger labels and values,
the graph a strip (#15, Discussion #80). Double-tap FX, GLO, SCL or EDIT
to keep the layer open (Discussion #83). MENU > USB SERIAL: OFF leaves
out the serial console, so the FM-1 is a plain audio + MIDI device and
macOS 13-15 can see its USB audio input (#67). The keys light for MIDI
IN notes (Discussion #81). ROUT CH1-4 ignores channels 5-16 (Discussion
#68). FM6: the patch bank is retired; SLOT is F1-F8 or OWN, user presets
keep their FM6 patch (B-slot presets get theirs on the first start), and
the editor's .syx import reads more files. The new web editor is
developed in Felucca-WebApp; the site still serves web/editor.html.
2026-10-07 00:29:46 +09:00