Commit Graph
27 Commits
Author SHA1 Message Date
Claude 95721756c7 SMK-37: board flag and identity (BOARD_SMK37, build.py --board smk37 --model pro|elite)
fm1_cc.h: BOARD_SMK37 (default 0) and SMK_MODEL. build.py: --board / --model (or
$BOARD / $MODEL); the SMK build adds -DBOARD_SMK37=1 -DSMK_MODEL=..., goes to
build/smk37-MODEL/felucca-smk37-MODEL.fwsc and carries the identity 'SMK-37 Pro_900' /
'SMK-37 Elite_900' (release: _9XY). felucca.c: FELUCCA_UART 0 on the SMK (PH8 is a
matrix row), #error otherwise. loader.c: 'ota-' SMK_MODEL '_900'. ota.c: the parm
identity 'ota-' SMK_MODEL '_016'. usb.c: product 'JIANT SMK-37' / 'JIANT SMK Update'.
The FM-1 build gets no new flag and is byte-identical (felucca.bin, ota.bin, .fwsc).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
2026-11-20 20:55:01 +00:00
Claude 9f86bf6b09 v0.9.15: the FX layer rework on top of 0.9.14; flash made for it (220 B free)
- 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
2026-10-19 16:09:27 +00:00
Claude 64ee3b0fa4 Flash: the app slot grows to 0x8EA90 (+2772 B), the region ending at 0x92FFE, no loader change
The encrypted app region (app_area_head block + cfg_tool.bin + the cfg directory) now ends 2 B short of 0x93000,
inside flash.bin [0, 0x93000) that every Felucca/JIANT loader already writes whole (it was 0xFF padding). The loader
binary is byte-identical to 0.9.12's; the package is the same size. fm1pkg_make asserts the region stays inside
flash.bin and that no 4K-256 slot of the image reads as an update record; build.py checks app.ld's XIP LENGTH against
APP_SLOT. ldr_test decrypts the installed app area (app.bin slot, CRCs, region end, 0xFF after it) and checks
[0x93000, 1 MiB) byte-identical but the two record sectors; run_tests installs an app that fills the whole slot with
today's loader, and checks the packager refuses one byte more.

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

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

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

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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 04:14:58 +00:00
Claude 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 aa47907e5f 0.7.5: USB audio in (test version): MENU > SYSTEM > USB > IN+OUT
The FM-1 is the host's USB audio output as well as its input (UAC1, stereo
16 bit 44.1 kHz on EP4 OUT, isochronous adaptive; re-enumerates with
bcdDevice + 0x80, no console). What the host plays comes into the last live
track: into the dry mix with its LEVEL and PAN (balance), its CHORUS /
DELAY / REVERB sends from the sum, DUCK, MUTE and the mute layer, on top of
the track's engine. TIMER5 takes each packet into a 2 KiB ring (pool); the
audio ISR reads it at the I2S clock with a linear interpolation whose step
follows the ring's fill (~3.6 ms behind, steady within 0.01 %); a host that
stops fades out and is primed again; only the reader moves the read index.

Tests: uac_test (duplex descriptors; fast and slow I2S clocks: no glitch,
1 kHz sine at 65 dB, steady step; a gap; a new stream drops the old ring),
audio_test (LEVEL, PAN, MUTE, LEVEL 0, REVERB send), ui_test (IN+OUT row).
tools/build.py: the RAM-code reach check measures the calls RAM code makes
(farthest callee master_out, ~400 KB to spare) instead of the image's end.
Manual EN / ES, README changelog, version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-15 22:11:31 +00:00
Claude 3788f0d7a8 0.7.1: stems over USB (8 channels) and stems from a backup in the browser (WAV + ZIP)
- MENU > SYSTEM > USB: CONSOLE / STEREO / STEMS (was USB SERIAL ON / OFF).
  STEMS re-enumerates the device as an 8-channel USB audio input at
  44.1 kHz: the six tracks mono (LEVEL, DIST, SLICER routing and mutes in,
  PAN out) and the FX return in stereo (DELAY, REVERB, CHORUS, the SLICER's
  bus when on), all before the master. fx.c taps each part as it is mixed
  (one core or the other) and the return after the buses; usb.c gets an
  8-channel configuration (720-byte packets, bcdDevice + 0x40), four words
  a frame in the ring, the priming, packets and underruns in frames. The
  ring moved into the pool (8 KiB). uac_test checks the descriptors and
  the framing; ui_test the row; editor and web tests the names.
- The emulator page renders a backup's song or live section as separate
  WAV tracks (each part alone with its own share of the buses, fx.c
  mix_skip) plus the MIX, in a ZIP (web/emu/stems.js: a module Worker,
  WAV and stored-ZIP writers; felucca_web.c: the backup's objects into a
  fresh device, the song's rows, bars and end, the part mask). A node
  test (stems_test.mjs) renders the generator's piece both ways; the
  suite runs it with the emulator.
- The RAM-code reach margin 12 KiB (was 16): the image grew and RAMTEXT
  has moved up twice already. Docs: README, MANUAL EN/ES, cheat sheets.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-15 17:34:14 +00:00
Claude 5d61faa144 0.7.0: 46 factory presets, GEN melodies and sounds, HOME closes GEN, CHORD kept over a preset, JIANT everywhere
- 46 new factory presets across ANALOG, PHASE, LOFI, VOICE, WHEEL, NOISE
  and FM6 (appended: stored preset numbers stay; the LOFI browsing order
  and the editor's mirror extended). Every preset played on the host:
  none quiet, none hot.
- GEN: the recipes point at the new presets first (pads, stabs, leads,
  textures, basses); melodies stay in their octave (a leap past a sixth
  takes the nearer octave), the motif follows the chord the nearer way
  and less often, every phrase ends on a chord tone.
- GEN: HOME closes the screen (OCT- still does).
- Fix (community report): browsing presets switched SCL > CHORD off. A
  sound load keeps CHORD, VOICING, STRUM, C.LEN, CHANCE and MUTATE.
- The device is JIANT wherever it speaks: USB MIDI and audio "JIANT FM"
  (manufacturer "Juan Jiant", updater "JIANT Update"), the editor's
  version string "JIANT v..", the splash, ABOUT, CREDITS, the console,
  the crash screen. The web editor, installer and the Python installer
  match both names so older firmware still connects.
- PRESETS card: past 99 the number alone (the total is 3 digits now).
- Memory map: RAMTEXT up 4 KiB (the image grew); user stack 15.75 KiB.
- Docs: README changelog and status, MANUAL EN/ES, cheat sheets.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-15 15:28:24 +00:00
Claude 31b6ce5bd3 0.6.97: GEN: drums less alike, the kit's space, effects by genre, finer sounds, melodies from cells, POST PUNK after Joy Division / New Order, PLAY on the screen
- Drums: a throw takes its closed hats, open hats, rim, cowbell and toms from pools of
  patterns now and then (HAT_POOL, OH_POOL, RS_POOL, CB_POOL, TM_POOL), swaps the snare and
  the clap now and then, adds a kick on a weak step more often; FORM PARTS / SONG: each
  section its own fill (roll, toms, hat roll, drop, linear, kick sixteenths).
- The kit's space: the snare and the clap into the reverb (dx_snd, by the genre's wetness),
  the rim into the delay and the open hat a touch of reverb where the genre is wet; MORPH
  automated over the loop on the drum track now and then.
- Effects by genre: the wet genres' long delay tails with the tape's wobble (FEEDBK 58..80,
  MOD 20..50); the SONG form's punch-in lane: a stutter into the drop (1/8 then 1/16 on the
  build's last beat), the synths an octave up on the break's last bar (pfx_lane_put).
- Sounds: leads not at full sustain (SUS 30..90, DEC 50..85), a late vibrato on half of them,
  a slow tremolo or pan on pads, arps panning on the beat; step components from COMPLEX 30
  up, one to three a track (echoes, octaves, bends, pulses, ratchets), some every other loop.
- Lead melodies: the motif's rhythm from a library of twelve cells that hold together,
  thinned by COMPLEX, instead of onsets drawn one by one.
- POST PUNK after Joy Division and New Order: BA_HOOK2 (Transmission's eighths over root,
  fifth, octave, seventh), BA_BLUEMON (sequenced sixteenth octaves), BA_CEREMONY; DM_JOYDIV
  (the kick syncopated against flat sixteenth hats) and DM_NEWORDER (four on the floor, a
  clap, open hats, toms into the one); pulsed chords, an octave arp, strings, a choir,
  118..148 BPM.
- PLAY on the GEN screen runs and stops the transport (the piece heard without leaving).
- app.ld: RAMTEXT up 4 KiB (the image grew past a call's reach from the RAM code; the user
  stack 19.75 KiB), POOL 4 KiB longer; build.py's bounds with it.
- gen_test: hat rows over eight seeds, the kit's sends, Hook's register and tempo, the
  leads' sustain, PLAY on the screen. Manual EN / ES, README changelog, cheat sheets.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-15 13:30:24 +00:00
Claude 824d4953db 0.6.78 (experimental): core 0's hottest audio code runs from RAM
mix_block, the FX layer (perf_begin / perf_pre / perf_block /
perf_master), slicer_bus and core 0's own copies of a part's mix and the
buses (mix_part_m0, fx_run0) are copied to RAM at boot (.hot_text, 18 KB):
no flash fetches through the cache the UI and core 1 share. Core 1 keeps
the flash copies (mix_part_m, fx_run; it misreads RAM on some units).

The pi32v2 call reaches +-4 MiB and this clang has no long calls, so the
RAM code moved from 0x01C00000 (out of reach of the whole image) to the
pool's top (RAMTEXT 0x01C6E000); three main-loop buffers (undo, project
scratch, section stage) moved down to LOWBUF. This clang inlines nothing
across a section attribute, so build.py optimises the IR first and only
then puts HOT_FNS in .hot_text: the code is the one it was (sizes and
target budgets unchanged, goldens unchanged). build.py checks the call
reach and the RAM code headroom. FELUCCA_HOTRAM=0 builds it as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-13 18:41:28 +00:00
Claude 6c451aef42 0.6.71 (test build): the second core renders some synth tracks
- hal/fm1_multicore.h: core 1 started at boot (entry crt0.S, stacks app.ld, loop in
  .c1_text), one job at a time with a check word; a bad read, a fault (fm1_irq.h,
  fm1_vec.S resume) or no answer holds it for good and core 0 plays every track;
  one core until power-off after that or a crash beside it. After Melodee
  (keremimo) and fm1-x0x (Charles Vestal), GPL-3.0; credited in MENU > ABOUT.
- fx.c mix_block: the synth parts split between the cores by their voices and
  engines (DRUM on core 0); core 1 into its own buffers, summed after: the same
  sound bit for bit (ui_test checks it, and fails when a sum is broken).
- Per-core scratch: mod.c matrix, fm6_core.c buses, voice.c filter flags and
  fx.c's first-block flags a byte a track.
- REC held at power-on: one core. MENU > ABOUT: CORES 2 / CORES 1 and why.
- README, manuals, cheat sheets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-13 13:27:22 +00:00
Claude 214be8e873 0.6.56: the landing's typography and windows
Values in IBM Plex Mono (raised 1 px onto Chakra Petch's line), big titles in
Michroma 18 px, labels still Chakra Petch. The JIANT palette's boxes are square
with four HUD corners; the page banner is the landing's tag. Beings, DRUM-X and
colours unchanged. Fonts 37.8 KB (was 42.0), image 387.5 KB.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-12 18:03:31 +00:00
Claude f5eec401eb UI 0.5 (1): thermal heat everywhere, Chakra Petch face, pixel beings on the engine pages
JIANT palette: violet selection; values, gauges, curves, scope, steps, hits and notes
coloured by intensity on a thermal ramp (cyan blue violet red orange yellow white).
Chakra Petch (SIL OFL) replaces Inter Tight; text_spacing_test follows the active preset.
ui_being.c: a creature on a 4 px sensor grid, its engine's genome shaped by the page's four
knobs and warmed by the output level, in place of the scope on engine pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-09 21:11:08 +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 2c99a09a34 UI shapes from SVG: assets/ui-shapes -> build/gen/ui_shapes.h
The line art's shapes are SVG files now (one per screen), converted at
build time by tools/gen_ui_shapes.py: paths with ids, NAME_a / NAME_b for
the two ends of a morph (same segment count), data-mirror for symmetric
organs, M C S Q T L H V Z. og_shape draws one (mirrored when it says so),
og_tip finds its tip. DRUM-X's specimen reads its four organs from
assets/ui-shapes/drumx.svg. docs/TONIC-UI.md: how to replace the sketches.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-08 22:14:45 +00: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
kurogedelic 852bc724d2 Felucca 1.0.3.1
Updating from 0.9 with a DIGITAL ORGAN project saved no longer crashes
into UBOOT on every start: the DIGITAL -> FM6 conversion has no divide
that can be 0, and the divide-by-zero trap is off (#61, after #111 by
spinkham). In a quick layer, KNOB 1-4 move only the layer's control,
not the page under it too (#102).
2026-10-07 09:17:22 +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
kurogedelic 20c275e39f Felucca 1.0.1
LEDs: idle buttons and keys glow dim (a short pulse riding on the 595
shift, no flicker, no extra CPU; #35); MENU > LEDS DIM / INV (INV: the
official firmware's look); PLAY's green LED lit while playing. Key LEDs
show the notes the selected track's sequencer and ARP play (#38). QNT SEQ:
the scale applies to the sequenced notes as they play, non-destructive,
off by default (#37). A song playing shows a disc in the header.
Build: --release accepts X.Y.Z (identity FM-1_9XY).
2026-10-06 01:24:43 +09:00
kurogedelicandChanceTheMaker 727f272015 Felucca 1.0 source
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>
2026-10-05 23:16:53 +09:00
kurogedelic e5a908d038 Felucca 0.9-beta source 2026-10-03 21:27:34 +09:00
kurogedelic 5684e187b0 Felucca 0.8-beta source
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.
2026-10-03 16:06:39 +09:00