- User tables: BYTE's userGrid per block (lo..hi of the voices' POS, na 8 / 6 with B heard,
gs, g0 on the knob's POS), frames drawn by wv_draw from flash over XIP as wt_user_frame,
read with rq = 4096*65536/gs; redrawn only when the key changes (gen: wt_redo). No main-loop
build, no silence on a knob or LFO. lo..hi foreseen from the last block (+ margin).
- Factory tables keep the fixed grid (bit-identical).
- editor_wt: slot state the audio reads (wvs) changed atomically (wt_take); gen +1 on
write/delete/rename/move (u14), listed for empty slots too; used 0/1.
- INFO: 'C' 43 02 01 07, then 'T' 54 02 06 20, then 'Y' (BYTE's order); docs and tests.
- A stored 22/23 shown SINE (param_format, moved late in the layout).
- Tests: wt_store_test grid reference, LFO / knob play (no click, never silent), cost.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Comment-only change (the built image is byte-identical: felucca.bin 583936 B, felucca.fwsc 684736 B, same SHA-256).
- 37 files written new for JIANT FM after the fork (no Felucca text in them: checked against ac6bfcbd by literal
code lines, runs of consecutive lines, same-named functions and moves in their creating commit) carried Leo
Kuroshita's copyright line copied from a template: it is now Juan Jiant's (SPDX GPL-3.0-only kept). Among them
sing.c, eng_animal.c, eng_input.c, eng_string.c, pfx.c, seq_live.c, ui_engvis.c, ui_lens.c, ui_lz*.c, ui_being.c,
ui_organic.c, ui_tech.c, ui_dx.c, ui_live.c, tools/lyrics/*.txt, gen_drum_maps.py, gen_px_font.py and 14 tests.
- 140 files that hold Felucca's code (Felucca 1.1.5.1 files changed since, imports of Felucca 1.5.x, the SLOOP-based
song_main/song_play, and new files that carry copied Felucca helpers: drumx_voice.c dv_exp2/dv_kb, gen_lyrics.py's
Huffman, test harness helpers) keep Leo's notice and add "Portions Copyright (C) 2026 Juan Ignacio Antonucci
(Juan Jiant)". Files unchanged since the fork are left as they were.
- LICENSING.md and README.md name both copyright holders.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- TRACKS (hostsim): V10.6z4 records lengths in LEN; a note released early in a
step keeps that TIE with its LEN (3/16) instead of putting the older take back.
- MICRO / RATCH HUMAN: track 1's power-on sound glides (V10.6d); POLY + GLIDE
slides each step into the next on the same voice (seq.c chord_auto), so the
playback checks saw one note-on. GLIDE 0 there; MICRO also reads a start kept
in pn_* (voice.c voice_begin, ctl64).
- MICRO / DJ FILTER golden hashes: renders and project bytes changed with the
sounds and defaults since V10.55 (GATE 100 %, levelled presets, V10.7's mix);
the checks that matter (MICRO places x 4 on load, djf_block never ran) pass.
- LIVE: GLO's chain has 11 pages since e3c9e26 (KEY SPLIT, KEY SPLIT 2).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
BIRD FLUTE no longer a copy of WHISTLE; WING HUM / HUM VOX with attack and release;
new instruments, experiments and bare INITs. Stored numbers and PROGRAM CHANGE kept.
Editor tables generated from the firmware's (tools/preset_mods_js.py).
upreset_test builds again (clamp) and expects V10.6h's kept FILTER.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Previously these components forced legacy 100%, even on a step configured at 0%. Keep the destination probability before overwriting the rendered copy, including aliased C.LEN input. Test the production sequencer on ANALOG and DRUM at 0/25/50/100 percent. Leave punch-in FX unchanged per the user's verified emulator report.
Copy sections A-D, unsaved live edits, current globals, arrangement scenes, per-track sources and variations into a selected project. Confirm complete-song replacement, preserve the source, and keep the naming dialog on save failure. Validate NOR persistence and UI flows; build a candidate without deploying installers.
Out (MIDI OUT CLOCK / ALL): each of the 24 pulses at its own sample in the render
(the accumulator in 24ths of a sample: no rounding in the pulse length) and sent at
its own TIMER4 tick: usb.c ep1_tx holds a packet until its due tick (midi_out_due),
bt_seg.c stamps it with it. A follower read 105.1 and wandering for 104: the pulses
left as one burst each 2.9 ms render.
In (CLK USB / TRS, Bluetooth): the tempo measured over up to 48 pulses, smoothed, a
whole BPM held within 0.6 (it was six pulses, raw, a new BPM each quarter beat), the
interpolation at the steady tempo. Tests: 104 with +-3 ms jitter and in 15 ms
bursts reads 104 and holds (the old code fails both), 104 -> 128 followed within
three beats, the out pulses within 25 us of their place.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Every factory preset carries its sound type (core.h PT_BASS .. PT_FX, TAG) in preset_t.mono bits 1..4, MONO kept in
bit 0 (PR_MONO; no format change, nothing stored changes): main's tags by preset name, seq-v2's STRING (NYLON ..
METAL STR) and ADD (ADD ORGAN .. SUB ADD) and DRUM-X's kit tagged here. PRESETS' LIST (KNOB 4) ALL FAV BASS LEAD
PAD KEYS PLUCK BELL VOX DRUM FX, no wrap: a type lists every engine's presets of it; kept with the settings in
favorites.factory[15][18] (0 in older ones: ALL / FAV as they were). GEN's EXPLORE keeps a bass's sound off the
other roles by its type (seq-v2's generator picks the other sounds by its recipes).
Tests: ui_test (every preset typed, every type listed, LIST through its values, the BASS list, the settings round
trip); hostsim / string_add_test / descdump read MONO as bit 0. Goldens unchanged. Flash +280 B. No repin (the
helpers out of line: list_turn, settings_fix15).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
core.h CTL 32 -> 64 (tools/gen_tables.py; the half buffer 128 frames: two mix_block passes a half, not
four), so the fixed cost of a block (events_block, mc_split, the core-1 handshake, buffers cleared and
summed, sends, buses, master) is paid half as often. Everything that counted blocks of 32 counts in CTL:
envelope / LFO tables, glides, fades, the steal fade, the leveler's (its peak still read over 32) and
DUCK's followers, DRUM-X FLAM / PUNCH / pan slew / group fade, the FX gate, DJF crossfade, SPRING / RESO
glides, WORDS' phoneme timing, the FX layer's LPF / HPF sweep (perform.c PF_CSTEP), the mod matrix's
NOISE and STEP eases.
The sequencer did not get coarser: a note inside the block carries its sample (core.h ev_off; voice.c
voice_begin / voice_off_at / track_render render the sounding voice up to it and the new one from it;
every engine but FM6, which renders whole blocks and keeps the nearer edge). tests/ctl64_timing_test.c:
on a MICRO-shifted pattern every rendered onset is within 2 samples of the sample-at-a-time sequencer
(ANALOG POLY worst 2, ANALOG MONO cuts worst 2, DRUM kit hits worst 1); the 32-sample build placed them
-22 .. +5 samples off.
Host CPU (tests/cpu_vg.py, exact instructions / sample, 32 -> 64): mix/idle 516 -> 426 (-17.5 %),
seq/mono4 1514 -> 1188 (-21.5 %), eng/DRUM 1477 -> 1156 (-21.7 %), eng/FM6 1710 -> 1507 (-11.9 %),
eng/VOICE 1500 -> 1337 (-10.9 %), VOICE.EN 1783 -> 1619 (-9.2 %), ANALOG / PHASE / LOFI / NOISE / WHEEL
-6 .. -9 %, reverbs and delays -7 .. -8 %, mix/full 2671 -> 2505 (-6.2 %), seq/plain 2381 -> 2158
(-9.4 %), seq/heavy 2783 -> 2485 (-10.7 %), song/cputest 3016 -> 2742 (-9.1 %), peak/VOICE.EN6
3304 -> 2937 (-11.1 %). Firmware: image 567896 B, .data+.bss 88276 of 98304 (+9 KB: the CTL-long
buffers), RAM code 21848 of 24576; the render loops' target cost as before (tests/target_budget.txt).
docs/CPU3_PERFORMANCE.md, README (the dual-core section), CPU5_PERFORMANCE.md.
Goldens: tests/golden.txt, cpu_baseline_vg.txt, target_budget.txt regenerated (GOLDEN_UPDATE /
BUDGET_UPDATE: the sound changes through the buses' one-block lag, now 1.45 ms, and the leveler's
reading); djf_test / micro_test reference hashes of the 0.9.0 renders redone at CTL 64. Host tests that
counted blocks count in CTL (reverb DUCK 3 / 20 ms, voice glide 163 blocks of 32 and 1/8 st a block,
click_test, drumx_oct_test); drumx_test's HANDS and PUNCH checks reset the kit's noise generator before
each compared strike (they compared different noise realizations: up to x5 strike to strike on the
32-sample build too, measured). Full host suite: every section passes but gen_nav_map's stale
docs/navigation-map.svg, which the base reports as well.
Co-Authored-By: Claude Fable 5.1 <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
The Huffman-coded dictionary (ab60368) made a lookup ~3x the old one's instructions, and the audio ISR looked words
up: at every word start (sy_word_next) and again at every syllable (sy_take reads the word again). Now:
- sing_init (felucca_init, at boot): every word the generator can sing in English (the bank's 268, SCAT_EN, the
vocable) resolved once into the pool (lyb_at / lyb_ph, 1773 of 1856 B), published last (lyb_ok). sy_gen_word
returns where its word sits in it.
- lyr_set (the main loop: NAME, the editor, a project load): each track's TEXT lyric's words resolved with the text
(lyc[]: per word its end, n, ns, the phonemes; 192 B a track), under a seqlock (odd while written: core 1 sings
too); the token scan shared (sy_tok).
- sy_word_next takes the word's phonemes from there; sy_take from the word's, kept per track (sing_w, the pool: sing[]
and the RAM region keep their layout, so no other audio code changes). A word not there (a cache not built yet, a
lyric past 192 B, its text changing that moment) is looked up as before: the same result.
Cost, tests/cpu_vg.c's new peak/VOICE.EN6 (TRACKS 6: six VOICE EN tracks, three TEXT of one-syllable words, W1 W9
S3, each starting a word in the same block, 24 rounds; the instructions of that whole block, callgrind, x86-64; the
same test built on each tree):
worst mean
0.8.9 (front-coded bytes) 162664 155512
ab60368 (Huffman, in the ISR) 199747 184869 (+23 %)
now 146604 141990 (-10 % against 0.8.9)
added to tests/cpu_baseline_vg.txt (cpu_vg.py: peak/* the worst block of a section's rounds, not per sample).
tests/target_budget.txt: formant_block (sing_block inlined) 296 -> 297 loop instructions (sy_tok and sy_take_entry
kept calls); every other render loop, the RAM code (22408 B) and the RAM region (79024 B) as before.
Same sound: tests/voice_test.c checks every cached word against sy_word (the 283 generator words, 79 words of nine
TEXT lyrics: apostrophes, joins, melismas, capitals, long words, non-words), and renders a VOICE EN track (TEXT, W1, W7,
W16, S1, S5; 54 notes each) with the caches and without, sample for sample identical (with the generator's entries
corrupted it fails); hostsim / ui_test build the generator's words as the firmware does, so every golden render, demo and test
runs through them: all bit for bit as before.
image 540840 -> 541640 B (+800); pool 295812 -> 300016 B (spare 24672 -> 20480 B); RAM region, LOWBUF, RAM code
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
- env_tick stage 4: six blocks of a half cosine (voice_t.kfade); FM6 (own envelopes),
DRUM and LOFI STEP (own amplitude) follow the fade instead of holding full.
- Fading voices stay out of the budget; tests count the sounding ones and check no fade
lasts past 6 blocks; new regress check: a 55 Hz bass given up (24 x -> 3.5 x).
- Golden: the two renders with steals updated on purpose. README.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- TRACKS 4 LOW (default): T5 and T6 sleep (sound, steps and mix kept, no notes, no cost); 6 HIGH: all six play.
Kept in ui_rec_prefs bit 7; editor MENU item 18; selecting T5/T6 in 4 says how to wake them.
- The load budget no longer takes a loud release tail for every new note: only a tail under -30 dB; otherwise the
note is added (the 80 % guard stays).
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.
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.
MENU, now a scrolling list: STYLE (FLAT / LINE, #57), ANIM (#46), KNOB ACCEL
(#52), FX LATCH (#40), BPM LOCK (#58), USB LEVEL (MASTER / FIXED), LEDS
OFF / DIM LO / DIM HI / INV; SPEAKER is SPEAKER EQ (FLAT / LOWCUT /
BASS+, #42). Palettes: GREY (the former MONO), a black-and-white MONO
and NIGHT (#50, #57). Tracks numbered 1-4 on cushions (#50); the motion icon
on the cards MOTION drives (#63). Divisions listed by length (#48).
Fixed: knob turns as a layer is let go no longer edit the page under it
(#39); FX DEPTH turns the right way (#40); BASS+ no longer cancels the
mids (#42); live sync keeps pending pushes on WATCH and no longer echoes
the editor's own loads as RELOAD (#64, #65). SAMPLE's PERC kit is
retired: its sounds load as the DRUM engine's kit.
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>
Firmware, update loader, build tools, assets, web installer and editor,
host tests. Four tracks (three synth parts and a drum track), user presets
with live editor sync (protocol v2), editor protocol v3 (tracks), the
command-line installer tools/fm1_install.py.