The MATH tab compiles a formula of one's own to the device's bytecode and sends it to a track, now that the firmware
plays them (JIANT FM V10.8.75, codex/v66-clean: firmware/src/math_user.c, JIANT BYTE's formula machine).
- FVM (in the MATH section): a port of JIANT BYTE's compiler (its firmware/src/fvm.c, GPL-3.0, the owner's): its
grammar (t w a n v; C's operators; sin cos tri saw sqr abs min max floor int fix rnd sat clip; a string as a table),
its INT / FIX types, its folding, its instructions, serialized as math_user.c reads them (EDITOR_PROTOCOL.md "1.5").
ph() lp() hp() eu() and FUNC's calls are BYTE's only: refused with that message. At most 64 bytes, a stack of 12.
FVM.run is math_user.c's machine in JavaScript; FVM.pack7 / unpack7 the backup's groups.
- The tab: a text that is one of the firmware's 48 BYTE formulas is sent as its ALGO, as before; any other is MATH
USER (the message says its size and INT -> BYTE or FIX -> FLOAT). Heard through the emulator's own machine (the
wasm's FORMULA, track 1 at ALGO USER), the model when the wasm is older. Sent with FORMULA (100) to a device whose
INFO has 'E' (45 02 64 12), read back and compared, then the eight values with ALGO -4 (USER) and WAVE 5 (INT) or 6
(FIX). Read: a track at ALGO USER gives its bytes; their text comes back if it was sent from this browser (kept in
localStorage by its bytes). An older device: not sendable, as before. The generator's formulas are MATH USER ones.
- The mock device answers FORMULA and says 'E' and 'C' 1.5 (before its 'D' / 'H').
- EDITOR_PROTOCOL.md: the proposal becomes "1.5: MATH USER, a formula of one's own (100; V10.8.75)": the command, the
bytes (BYTE's FO_* numbers, the operand modes), the checks, what is not in JIANT FM, the project block, the presets;
the version table and the frozen command numbers.
Tests:
- math_test.mjs: web/math_fvm_gold.json (142 texts compiled by BYTE's own fvm_compile from BYTE origin/main 1495526,
serialized, run by its fvm_run): FVM gives BYTE's bytes for all 135 that fit (93 of BYTE's 96 factory formulas: B16 and F32 are over 64 bytes, F05 and F22 use ph(); and every operator),
FVM.run BYTE's values for each (3 x 4160); the 7 refused refused; errors with their place; pack7; the generator's
formulas fit. With EMU_WASM: B01's bytecode at ALGO USER plays B01's samples bit for bit; FORMULA reads back; a FIX
formula on FLOAT sounds. Passes against a wasm built from the firmware's V10.8.75 commit (emsdk 6.0.11).
- editor_browser_test.mjs: on the firmware wasm, a formula of one's own compiled, sent to track 4 (FORMULA 4 0 gives
the editor's bytes, ALGO -4), read back into the editor with its text; without a device, one's own heard through the
emulator (the model without one), a FIX floatbeat recognised. Passes (with that wasm); test_web, test_backup,
test_manual pass.
The public emulator (web/EMULATOR's pin) gets the VM when the pin moves to the firmware's V10.8.75 commit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- A VM for MATH's BYTE grammar (eng_lofi.c lofi_byte: a C expression of t and a, unsigned 32-bit): errors said with
their place, the operators a tap away, the grammar's help; bit for bit the firmware's 48 BYTE formulas (768000
samples against the C compiled natively), VARIANT's mutation (lofi_mut) and MOTION's speed (lofi_motion) too. A
formula that is one of the device's (however spaced) is recognised as its ALGO
- Its picture: 128 rows of what it plays (VAR, BEND, LOOP, the start), each sample its heat
- Its sound: the device's formulas (BYTE and FLOAT's 48) through the emulator's own wasm (/emu/felucca.wasm, loaded on
the first Play: track 1 made MATH as the send does, the note on MIDI channel 1); a formula of one's own through a model
of the BYTE voice (the firmware's integer time, hold, bits, smoothing); against the emulator, dry, C4: waveform
correlation median 0.97 (MOTION 0), 0.90 (MOTION 64)
- A seeded generator: formulas built from the families of the firmware's own (nibble-table melodies, Sierpinski,
multiplied-and-shifted, modulo textures), each kept only if it moves and is not noise; and sounds the device plays
(a formula of its own, VARIANT, MOTION, BEND, LOOP, CHIP)
- Send to a track (TRACK, SET of G_ENGSEL, the eight values by TRACK_PARAM, read back) and read a MATH track back
- EDITOR_PROTOCOL.md: the proposal for a user formula (100 FORMULA, the bytecode the editor builds and tests: at most 90
bytes and a stack of 8 for the firmware's 48); no firmware change
- Built when the tab first opens; its sound stops with the tab. English, Spanish, Japanese
- The roll's operations run one after another (a reload never between a batch's writes)
- math_test.mjs (the VM, the bytecode, the generator, the model against the emulator); editor_browser_test.mjs: the MATH
tab on desktop and phone, and a send to the firmware itself read back
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- One canvas in the firmware's own picture (ui_graph.c graph_roll / graph_grid / bar_cell): the JIANT palette from
ui_palettes.h (lane / grid derived as gfx.c), each note its pitch class's heat (note_col, lz_note), accents toward
white, RATCH parts split, TIE bars carried, slides joined, the scale's rows tinted, the keys at the left with the
root's tooth, LENTE's four bar cells on top, past LEN dark, locks ACCENT and automation THEME at the columns' foot;
Chakra Petch / Inter Tight as the device's faces
- A DRUM track as the grid (BD..CB): hits, their accents, the lane modes (x2 x4 x8 SHORT GHOST FLAM)
- Edits through the protocol only: TRACK_STEP (notes, TIE / REST, accent, slide, velocity, hits, chance, ratchet, lane
modes), TRACK_PARAM (LEN DIV SWING GATE OFS PIT as HUD cards; the modulation sequence's 16 levels), MOTION ops 3..7
(automation and parameter locks with their kinds; INFO 4C 01 read), SET scope 1 (the SLICER's pitch steps)
- EUCLID with the device's formula (eu_hit, eu_kit ported): previewed, then written as steps
- Touch: tap to add / select / remove, drag a note for pitch or length, pan, pinch zoom; >= 40 px cells and buttons on a
phone; wheel, Ctrl+wheel, keys and undo on a desktop
- Nothing runs while the tab is closed (no timer; one frame drawn per change)
- English and Spanish (a Spanish locale; missing texts fall back to English) and Japanese
- EDITOR_PROTOCOL.md: what the protocol cannot carry (MICRO, step components, EUCLID's settings, the playhead) and a
proposal for it (98 STEP_EXT, 99 EUCLID, TRANSPORT's step bytes); no firmware change
- The mock answers MOTION ops 5..7 and advertises the locks; editor_browser_test.mjs tests the roll on the mock (desktop
and phone) and on the firmware itself (felucca.wasm behind a page MIDI port, EMU_WASM)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
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
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
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
- 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
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
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
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
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
- 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
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
- 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
- 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
- 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
- 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
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
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
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
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
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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
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
- 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
- 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
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
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
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
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
- 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
- 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
- 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