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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRpEnNJfjWWrH3C4opq
2026-11-21 17:15:04 +00:00
Claude 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 c5f9b17255 0.9.1: REC off the grid 4 x finer: a step's MICRO in 64ths (-32 .. +31), recorded, played and saved
- core.h ST_MICRO / ST_MICRO_SET (inline now): the sixteenth below stays in cwhen's bits 4-7 as always, the 64ths above
  it (0..3) in two free bits of the flags (SF_MFINE, bits 5-6): step_t is still 20 bytes, no struct or static moved
  (its 6 x 64 in trk[], cvs / cva / cvp / rh_bak, the project scratch, the section stage, tl_src, gen_keep, dxo_bak,
  the stack copies: 0 B; a byte more would have been ~478 B of main RAM and shifted track_t after step[]).
- seq.c: live recording with REC Q under 100 % writes 64ths (rounded; REC Q 0 % where you played, 50 % half way);
  playback in 64ths (a late step's queue, the early end of the step before). Flags written whole keep the 64ths
  (rec_hold, load_pat16, GEN, the dice, the editor's STEP_SET); gen.c's sixteenths x 4 (its pieces as before).
- SEQ > NOTE's KNOB 4 a 64th a detent (accelerated), the card "+5/64", the big step's chip, the piano roll.
- FUNC: the 64ths in a block after the others ('M' 'F': the tracks, 2 bits a step), only when a step has some; a
  project of before plays and saves exactly as with 0.9.0 (its sixteenths x 4); firmware before 0.9.1 loads a newer one
  and plays each step at the sixteenth at or below (up to 3/64 sooner).
- Tests: micro_test.c (every value; an old project sample for sample and byte for byte as 0.9.0; recording within
  1/64 of a step at 72 / 120 / 174 BPM on 1/8 1/16 1/32 16T and swung, worst 0.0088 of a step; playback within a
  sample of MICRO's place; REC Q 50 % / 100 %; save / load and the block missing); ratchet_test's TIMING in 64ths;
  editor_test (STEP_SET keeps MICRO); ui_render sweeps every MICRO. Manuals, README, protocol, cheat sheets.
- CPU / audio: goldens, cpu_vg and target budgets as before. Image 548444 B (+564), RAM unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 16:10:55 +00:00
Claude 700d893a84 0.9.1: a master DJ FILTER on GLO > MIXER KNOB 4 (was the track's MUTE): LP / HP, out of the chain in the middle
- fx.c djf_block: one bipolar knob on the whole mix just before CLIP and the leveler. 0: not run at all (the mix bit
  for bit 0.9.0's, the CPU too: one test a block). Below 0 a low-pass sweeping down (~15 kHz .. ~70 Hz), above 0 a
  high-pass sweeping up (~30 Hz .. ~6 kHz), on CUTOFF_HZ's log scale, Q 0.72 near the middle to 1.1 at the ends. A
  trapezoidal SVF in 64-bit products, Q28 coefficients, the mix 16 x finer in its states (tsvf's Q13 left a -31 dB
  floor of highs through the closed low-pass); the cutoff glides (~6 ms), coefficients ramp every sample; ~5.8 ms
  crossfades into / out of the chain and between sides: no click crossing the middle; the knob stops there once.
  Its state in its own .bss section, so the merged statics the ISR reads keep their places (no codegen change in
  any hot function: only mix_block's call and motion_step's branch).
- G_DJF in G_NAME's slot (17: "--", 0..0, never set): saved in the header, every older project loads it OFF;
  autosave and saves keep the knob's value, not its automation's.
- Automation: MOT_DJF (motion id 127) records on the selected track while recording, plays at its step, a stop or
  the loop's restart brings the knob's value back; no lock. FUNC keeps those records in a block after the lyrics
  ('M' 'G'), so firmware before 0.9.1 loads the project without them. AUTO LIST and the web editor name them.
- The card: "2.0k LP" / "400 HP" / "OFF" and a small response curve where the bar was (BOTTOM / HUD: 5 rows).
- Mutes stay on the GLO layer's black keys (all six tracks, latched); the MIXER keeps the MUTE badge.
- No MIDI CC: no GLO parameter has one. The editor's SET of global 17 records like the knob; its web page.
- CPU: centred nothing (goldens, cpu_vg, target budgets as 0.9.0); on: target djf_block 200, song/cputest.djf
  +1.7 % on the host. RAM +52 B (79124 of 98304), image 547880 B (+2876).
- Tests: djf_test.c (centred bit for bit 0.9.0's render, LP / HP responses, clicks, automation round trip, old
  projects); ui_test MIXER K4; ui_render sweeps every value; ui_test's HUD beings check no longer depends on how
  the tests before moved them. FELUCCA_VERSION v0.9.1; README, manuals, protocol, cheat sheets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 15:56:41 +00:00
Claude c524e3c45f 0.8.5: merge DRUM-X octaves (ratchet / short / ghost / flam per sound)
Merge drumx-octaves-085 (a05a190, c3435e4) on top of the VOICE words in the new skin.
- editor INFO tags in order J, O (DRUM lane modes, 4F 01 07), Y (LYRIC, the last tag: the web editor reads it at
  the trailer's end); editor_test checks both, the web mock sends both (lanes inside the ratchet caps, Y last).
- README: the status line's DRUM-X note; one 0.8.5 section (VOICE words, DRUM-X octaves, then the skin and lenses)
  with one cost line measured on the merged build.
- app.ld: LOWBUF's comment (undo and the section stage there; the project scratch and the decode tables in the pool).
- tests/ui_render.c: DRUM grid HIT x4 / GHOST, the OCT messages (RATCHET x8, FLAM), COMP TOUCH and ECHO EVEN scenes,
  linted in every palette: the HIT values fit the square cards, the OCT message the header's middle.
- Cheat sheets regenerated.
Image 555928 B of 581564; .data+.bss 88340 of 98304; LOWBUF 18232 of 28672; pool spare 52096 B.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 02:19:38 +00:00
Claude c3435e48eb 0.8.5: DRUM-X octaves per sound: each lane's own x2 / x4 / x8 / SHORT / GHOST / FLAM on a step
The octave variations are now per drum sound, not per step (the owner's option b). step_t gets lm[3]: 3 bits for each
of the 8 lanes (core.h LM_*: none, x2, x4, x8, SHORT, GHOST, FLAM). No zero-RAM room existed: on a DRUM track note[] / n
hold the step's other GM drums (a low tom, a crash, any note recorded below / above the lanes), every other byte is
in use, and the few free bits (slide, LEN on a kit) are 4 or fewer.

Playback (seq.c): a lane's SHORT / GHOST / FLAM goes on that lane's note-ons only (t->dtch per note, the HUMAN TIME
queue too); a lane's x2 / x4 / x8 retriggers that lane's hit and its notes at every step / n (seq_lane_rat, the grid
the held keys' live ratchets already use), nothing else on the step. The step's own RATCH / ECHO (EVEN) / TOUCH
work on the whole step exactly as before (synth tracks, old projects, a kit). Live REC (rec_drum, the held ratchets'
steps, the count-in) writes the lane's mode, the rest of the step untouched; a centre-octave hit sets its lane back
to none. Tested: kick plain + closed hat x4 + snare GHOST on one step (1 + 4 + 1 a pass, the kick never damped);
recorded live (kick OCT 0, hat OCT +2, snare OCT -2 into one step) and played back so; every earlier REC test now on
lane modes; the step's RATCH x2 unchanged.

Edit: the DRUM grid's KNOB 3 HIT of the selected lane is one list: --, ON, x2, x4, x8, SHORT, GHOST, FLAM (left back to
-- takes the hit and its mode away; the white keys' off clears it too). ui.c GRID_HIT / grid_hit_of / grid_hit_set,
one card string in ui_draw.c, one knob call in ui_input.c.

Format: FUNC unchanged for every step without modes (a 0.8.4 project loads and saves byte for byte); a step with them
sets bit 6 of its extension byte and adds 3 bytes (a 7 reads as none). Firmware before 0.8.5 refuses such a project
(it rejects that bit), so it fails as with any newer project. Older formats load with no modes (tested with FUNB).
User presets' patterns have no room for them.

Protocol: INFO 4F 01 07; STEP_SET 22 / TRACK_STEP 23 bytes carry the 8 lane modes after the ratchet (each 0..6, a 7
refused); STEP_GET with a flag byte 1 (TRACK_STEP get with 1) replies them; every older request replies byte for byte
as before (editor_test's INFO offsets moved by the new tag). web/editor.html reads them when the device has the tag
and writes a step back whole; the mock device does the same (web/test_web.mjs). EDITOR_PROTOCOL.md updated.

FELUCCA_VERSION is now "v0.8.5" (cheat sheets' version too), so the installer notice shows. The notice now shows for
0.8.5 in both installers (preview and the official one once web/STABLE is bumped; web/STABLE untouched), never on the
landing page (tested); its text says each sound keeps its own variation.

RAM (on a05a190): step_t 17 -> 20 B. .data+.bss 85600 -> 87456 B (+1856: the tracks' 384 steps and 24 working copies
+1224, the dice / shape / GEN copies dk, shp_base, gen_keep +576, dxo_bak +18, lr_on); the project scratch (project_t,
384 steps) moved LOWBUF -> pool (main loop only, as before 0.6.78): LOWBUF 28064 -> 19780 B (the section stage's +1152
stays there), pool 247584 -> 258364 B (spare 62144 B; tl_src +192); the stack +192 in one tool. Flash image
498260 -> 499320 B, RAM code 21768 -> 21964 B. With voice-words merged: about 88.2 KB of 96 KB .data+.bss.
CPU: callgrind song/cputest 3082 -> 3081, eng/DRUM 1581 -> 1582, every entry within 0.1 %; target loops unchanged.
All host tests pass; the 149 golden renders unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 02:01:15 +00:00
Claude 1a124b8c48 0.8.5: VOICE sings words: ES / EN / JA lyrics, typed, sent or diced, automatable
EDIT > WORDS > LANG (OFF ES EN JA) turns a VOICE track into a singer (src/sing.c): each note sings the next
syllable of its lyric (held note holds the vowel, TIE holds it on, the release sings the coda at the note's
level; legato glides, a chord sings together). LANG OFF is VOICE as before, bit for bit (goldens unchanged).

Articulation per track, block rate: 46 phonemes as formant targets with voicing, aspiration (into the
cascade) and frication (high-passed noise into F4 tuned to the consonant); plosives closure / burst /
aspiration, affricates, nasals, liquids, tap and trill, glides. Spanish by rules, Japanese romaji to morae,
English through a 2095-word CMU-derived dictionary (tools/gen_lyrics.py, BSD-2-Clause notice in
LICENSES/). LYRIC: TEXT (63 chars, NAME screen via OCT+ on WORDS with a KNOB 3 dice, or editor cmd 39
LYRIC), W1-W16 generated phrases from themed banks (306 ES, 272 EN, 169 JA words) as long as the pattern's
notes, S1-S8 scat. Word-mode EDIT values: POS THEME ARTIC SHIFT | BUZZ BREATH Q LOOP (POS lockable /
automatable). Lyrics saved in FUNC's optional 'L' 'Y' block (older projects load without). The VOICE pages
show word, phonemes and a moving vowel chart (sing_view for the CT head). 8 new presets appended.

Cost (on 0.8.4): flash image 498108 -> 540824 B (+41.7 KB; app slot 581564 B, 40740 B free), .data+.bss
84848 -> 85584 B (+736), RAM code +8 B, no per-voice state. The lyric text (6 x 64 B) lives in the pool
(LOWBUF had 608 B free); the project scratch's copy (+384 B) stays in LOWBUF, so the fonts' decode tables
(hc_tab, 1.5 KB, main loop only) move LOWBUF -> pool: LOWBUF 28064 -> 26900 B of 28672 (1772 B free), pool
247584 -> 249568 B (spare 72928 -> 70944 B). CPU: callgrind 4 voices VOICE vowels 1611 -> 1605, words 1743
(ES) / 1726 (EN) vs ANALOG 2314 at 8 voices; worst case song/cputest 3079 and every other section unchanged;
target loop formant_render 312 -> 315, formant_word_render 326 (analog_render 603). New tests/voice_test.c;
project, editor, web, ui_render, cpu_vg and target budget extended (existing entries untouched); ui_test's
LARGE HOME probe reads the old panel row over 16 px (a mote of HOME's moving dust landed on its one pixel
with the new presets' frame count); manuals EN/ES, protocol notes, cheat sheets regenerated, README v0.8.5.

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

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-15 16:19:51 +00:00
Claude 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 62377c4e67 0.6.63: the installer checks the FM-1's firmware before writing
Official V15 (FM-1_015) or JIANT (the editor INFO's new 0x4A tag, or an older
JIANT's six tracks and v0.x) only; anything else: nothing written, Return to
official V15 first. The tick box is gone.

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

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

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

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

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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-08 17:36:19 +00:00
Claude 28561e3a63 TONIC: sacar el undo (SAVE sostenido) y el "OCT- devuelve" de las capas
El undo de un paso y el put back de las capas GLO, SCL, EDIT, SEQ TOOLS y REC
se van: en TONIC lo reemplaza el RECALL de la capa de canción (plan 4c). SAVE
sostenido queda reservado para esa capa; en las capas SET, OCT+- no hacen nada
(con FX LATCH, OCT- sigue apagando todo) y sus LEDs quedan apagados. SEQ TOOLS
usa una copia de pasos propia (tl_src) en lugar de la del undo.
.bss: 91140 -> 89780 B; pool: 279652 -> 279392 B; app: 436216 -> 433664 B.
Tests de host, web y emulador pasan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-08 16:43:07 +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
kurogedelicandThiago Gonçalves 3dd2b0852b Felucca 1.0.5
Sequencer: RATCH, a step's ratchet x1..x4 on SEQ > CHANCE (KNOB 3): a
NOTE step plays its notes and drum hits 2..4 times in equal parts of
the step, one chance roll for all of them, no slide or tie out; drawn
in its parts on the piano roll and the drum grid. Kept in projects
(FUN8 layout unchanged, bit 7 of the velocity and chance bytes), backups
and user preset patterns; editor protocol INFO 52 01 04, a ratchet byte
after the chance (#47, Discussion #77, PR #100 by zednaked, ported).
LEDs: what can be pressed breathes, dark to ~60 % of lit and back (DIM
LO ~30 %), instead of blinking; what is in effect stays lit (#119).
DRUM: KIT HAND, CYM and H+CYM retired; their values stay as aliases and
play 66, 10 and 77. MENU in tabs (DISPLAY CONTROL AUDIO SYSTEM):
ALGORITHM = tab, PRESETS = row, any KNOB or OCT- / OCT+ = value, HOME
closes; MENU_DESC ends with the item's tab (index, name).

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