GLITCH gets DENS / PITCH / SIZE / VARI while its key is down (repeats rising or
falling by PITCH, SKIP and CRUSH slices); TAPE STOP gets TIME / CURVE and, stopped,
KNOB 1 scratches the kept loop; SHUFFLE (C#5) plays the last bar's 1/16s in
another order from a 4-bit ADPCM ring in the same 32 KB; FREEZE (G#4) holds the
eighth after the press as grains. The FILTER sweep is gone (the FILTER macro is the
layer's one filter); SHUFFLE takes its key and lane code. Tests: perform_test
section 11, cpu_vg fx/* sections.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- Version v0.9.15; README's 0.9.15 entry (the FX layer, the flash), the manuals' FX layer marked 0.9.15, what's new,
screens, navigation map regenerated.
- Flash, with the sound and its per-sample / per-block code unchanged (target budget and cpu_vg pass): more event
code built for size (tools/size_fns.py: a note's voice found / started / ended, keys, a section or song row in,
the FX layer's buffer effect started, the PUNCH lane, the engines' note-ons and descriptions, the power-on LED
sweep, faults; their files listed), an event function of some size that the interrupts' -Os code calls kept a
call (noinline: inlined it was built -Os in its caller; ep0_service left TIMER5's scan: 5836 -> 2700 B, its target
cost 33439 -> 1746), ep1_tx (every poll) kept -Os, and -fmerge-functions on the optimised pass (identical bodies
merged). 0.9.14 + the rework was 1140 B over; now 584116 B of 584336, 220 B free.
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
- 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
A new first group in GLO (LIVE · MIX · GLOBAL · SYSTEM; at power-on GLO still opens MIXER), from the approved mock-up
secuencias.html (V3 MANO, V1 RIELES):
- MANO: the keys are a performance board on that page only (seq.c keyboard_block, song.grid 3): black 1-6 pick tracks
while held (several; none / A#4 = all), white keys momentary modifiers (/2 x2 3/2 2/3, LOOP 8 4 2 1, REV, PING,
RATCH x2 x3, THIN 50 %, OCT+-, G5 RETURN), G#4 LATCH, C#5/D#5 GIRO, F#5 RND; K1-K3 RATE LOOP THIN, K4 the DJ FILTER.
- RIELES: six rails (loop, playhead, ghost, window); K1 PISTAS ALL, T1..T6, SYN, DRM; K2 RATE /4..x4 (on the beat);
K3 CORTE; K4 DENS (THIN <- -> RATCH x2-x4).
- seq_live.c: per-track non-destructive modifiers with a ghost playhead, quantized in the ISR (live_q: RATE on the beat,
the rest on the 1/16, RETURN on the beat, BYPASS at once); the next step as a JUMP (no new hot-path branch); THIN a
deterministic roll; RATCH capped (no part < 64 samples); recording at the ghost's step.
- ui_live.c: both pages drive one latched layer per track with MANO's keys on top; OCT- tap RETURN, held BYPASS; OCT+
twice COMMIT into DIV / STRETCH, LEN, ROTATE, CHANCE with UNDO (GLO + G4). Never saved.
- Flash +7108 B (568940 -> 576048), .data+.bss unchanged, pool spare 10784 -> 10528, RAM code 22460 -> 22512.
cpu_vg song/cputest 3079 -> 3082; seqtick/plain 119 -> 121, seqtick/live 135 (new sections).
- tests/live_test.c, ui_render scenes live_*, nav map and cheat sheets regenerated, MANUAL (EN/ES) § 11, README draft.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The main-loop code's repeated address and table work made calls (ui.c): TSEL (&trk[song.sel], a multiply and an add in
place at ~230 sites) a call from ui.c on (core.h's stays for the sound files before it; -5.0 KB), VAL and RATIO (-2.7 KB),
a track's engine (t->eng_req % NENGINES, 74 sites) and its table (-0.7 KB). The graphs no page reaches since the lenses
gone, each checked against the lenses' code and the coverage of ui_test and ui_render: SEQ > SONG's list (hidden, SAVE >
ARRANGE draws its own), PATTERN's 64 bars and LARGE's step strip (SEQ's cards are never tall), SCL's twelve keys, and
the draw_graph cases LFO MSEQ (MOD's lens), the tech graphs of LFO DEST, VOICE and MSEQ 2 (-3.3 KB). GEN's drum maps,
the throws' pools and DICE's bars, kept as text in gen_tables.c / song_dice.c, packed by a new generator
(tools/gen_drum_maps.py: each lane once, 16 levels a nibble or 2 bits a step) and the bass archetypes a byte a step
(-2.9 KB). The sound files' main-loop functions built for size too (size_fns.py: FM6's patch store, the kit's names,
MASTER's boot; what an interrupt reaches stays -Os).
Checked: every non-minsize function's disassembly as before (addresses aside: the audio ISR, the render loops, the hot
RAM code identical, target_budget's counts unchanged); 225,549 ui_render screens hashed pixel for pixel identical; GEN's
pieces for every genre and seed and SEQ's dice identical (a hash of every step and parameter); the packed tables decode
back to the text; cpu_vg's counts equal HEAD's; goldens unchanged. RAM .data+.bss 79172 B, pool spare 10880 B, RAM code
22472 B, all as before. ALL HOST TESTS PASSED.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- VOICE (ui_engvis.c vx_voice): a sagittal CT of a head whose tongue, jaw, lips, velum and vocal folds follow the
phoneme sung (sing_view; VOWEL -> VOWEL2 over TALK without WORDS), on EDIT > SOUND and HOME > BEING.
- ANIMAL (vx_animal): one set of points mixed between a bird, an insect and a mammal, gliding to MODE's animal,
leaned by SIZE, stirred by CHAOS; the call opens the beak, swells the throat, buzzes the wings.
- DRUM-X (vx_kit, "BICHOS" from the mock-up): each drum a small being with eyes and a mouth arranged as a kit (kick
large in the middle, snare on its stand, toms on little legs, hi-hat two shells, crash on a stem, cowbell, two
clappers, the rim a spark); a hit squashes its being, shuts its eyes and opens its mouth, as hard as the lane's
envelope and springing back with its decay; GHOST small, FLAM twice (a shadow for the hit to come), ratchets
repeated. On EDIT > KIT (EDIT 1: the sound last struck named), SOUND 1..4 (the sound edited lit and named) and
HOME > BEING; KIT 2, KIT 3 and X-MOD keep the colony. JIANT palette: the mock-up's thermal ramp (blue / violet
outlines, orange core, cyan floor); the other palettes as the beings, GREY / MONO grey, muted sounds dim.
- State vxs in .pool (160 B, spare 12512 B), image 559884 B of 581564; nothing in the audio path (goldens, cpu_vg,
target budgets unchanged). ui_render scenes (each lane, ghost, flam, ratchet, silent, SOUND 1..4, HOME), ui_test:
moving with the sound, still in silence, KIT / SOUND vs the colony pages, a ratchet's squashes.
- Docs: README, MANUAL (EN / ES), cheat sheets, navigation map at v0.9.4.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
tools/size_fns.py marks the main-loop functions minsize (about -Oz) by the file that defines them, but its
SIZE_FILES listed only the top-level files: what they include was left at -Os. GEN (gen.c, gen_tables.c, 40 KB),
DICE ALL (song_dice.c), the lenses and their panels (ui_lens.c, ui_lz*.c), the line art (ui_organic.c), the beings
(ui_being.c), the tech graphs (ui_tech.c), OPERATOR (ui_fm6op.c), DRUM-X's EDIT pages (ui_dx.c), SEQ TOOLS
(ui_tools.c), the FM6 voice bank (fm6_vbank.c) and VOICE's words (sing.c) now join the list.
- isr_reach follows globals: a global an interrupt's code names counts as its initialiser, so a function in a table
the ISR reads is reached too. sing.c's sound side (formant_block -> sing_block -> sy_next .. sy_word, sy_en_find)
is called through ENG[]'s hooks, which the old walk did not see: without this, adding sing.c would have built
VOICE's per-block articulation for size. With it those stay -Os; only the main loop's (lyr_set, lyr_dice ..) shrink.
- definitions() also sees a function whose __attribute__ comes before its name (lz_set, foot_crumbs, draw_crumbs).
image 569528 -> 552792 B (-16736); RAM, the pool and RAM code unchanged. No ISR-reached function changed: the
reached set grew 149 -> 216 (the new files' and the ones the wider walk finds), every audio, render and ISR function
is the same size as before; the only non-minsize functions that changed are small helpers (softclip, pfx_lane_at,
drum_kit_of ..) that the shrunk main-loop callers no longer inline and so now exist out of line once. Host tests
unchanged (the host build does not use these attributes); target budgets identical.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
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
- 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
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.
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.
Big New Features. Engines: FM6 (6-operator FM, replaces DIGITAL; old sounds
convert), SLICE in the standard build with manual slices, DRUM, NOISE; PHYS
membranes and sympathetic strings. 13 engines in one display order.
Sequencer: piano roll, drum grid, songs (patterns A-D), motion recording,
per-step chance, divisions to 4 bars, ARP REPEAT and beat LED; chord keys.
Effects: FX hold layer with a harmonizer, spring reverb, modulation matrix.
Quick layers, undo, on-device naming, new UI (Inter Tight, Fukiai icons,
8 palettes). USB audio input; TRS MIDI in, clock, bend, sustain. Web: full
backup and restore, sample recording and trim, return to the official
firmware. Build: font, icon, keycap, palette and FM6 patch generators;
release folder with the licence texts. Licences: LICENSES/ (Inter Tight
OFL, Fukiai MIT, DaisySP MIT, Rings MIT, msfa Apache-2.0, JieLi SDK
Apache-2.0). Removed: the bitmap font and icon atlas, their generators.
Co-authored-by: ChanceTheMaker <471816+ChanceTheMaker@users.noreply.github.com>