Commit Graph
17 Commits
Author SHA1 Message Date
Claude 6a56c5b8ff V10.8.63: MENU > DISPLAY > PANEL AUTO / A / B (the late-2026 units' panel); OCT- + SAVE at power-on: A
(the owner: "dale implementalo"; a user's report, its details from an AI chat: a hypothesis: the units sold from late
2026, flash 0xB36014, carry another 1.3" 240 x 240 IPS panel, ST7789-compatible, its colours washed out)
- lcd.c: A as it was (LCD_SEQ and lcd_init's stream byte for byte: lcd_seq, the same loop out of line). B: after A's
  set-up, the ST7789V datasheet's registers (written from its register descriptions, not from other firmwares):
    B2 PORCTRL 0C 0C 00 33 33 | B7 GCTRL 35 | BB VCOMS 19 | C0 LCMCTRL 2C | C2 VDVVRHEN 01 FF | C3 VRHS 12 |
    C4 VDVS 20 | C6 FRCTRL2 0F | D0 PWCTRL1 A4 A1 |
    E0 PVGAMCTRL D0 04 0D 11 13 2B 3F 54 4C 18 0D 0B 1F 23 |
    E1 NVGAMCTRL D0 04 0C 11 13 2C 3F 44 51 2F 1F 1F 20 23 |
    20 INVOFF (A: 21 INVON); MADCTL (the colour order) as A's.
  UNTESTED on the new panel. Back from B to A: A's reset and sequence again (lcd_panel_apply).
- MENU > DISPLAY > PANEL: AUTO (every older record) A B, engine 15's byte 15 bits 0-1 (INPUT's favourites 120..127,
  never set), editor id 34; AUTO B only on flash 0xB36014 (project.c persist_boot keeps the JEDEC id); changed: the
  panel at once, no reboot, "PANEL A" / "PANEL B". At power-on B's registers after A's (the splash), unless OCT- + SAVE
  are held: A for that start (OCT- + OCT+ stays the calibration). The emulator: the setting, no visual change.
- tests: lcd_panel_test (A's bytes and stream as V10.8.62's, B once after A, back to A), in voice-user-check.yml;
  ui_test (PANEL's row in DISPLAY, kept in the settings, applied with its banner, AUTO by a mocked JEDEC id); the
  hosts' lcd stubs.
Layout recorded again (FELUCCA_REPIN=keep); the plain build passes. Image 580808 of 584336 (3528 B free), RAM code
40192 (the calls into the image shifted). audio.c as V23's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-27 15:59:04 +00:00
Claude c68f258a2a Legibility: the small face is Chakra Petch with 9 px capitals (the 5 x 7 pixel face retired)
AF_X (labels, tabs, the header's words, the breadcrumb, the panels' captions:
about 230 places) was a 1-bit 5 x 7 face with 7 px capitals. It is now the S face
itself (Chakra Petch, 9 px capitals, antialiased) drawn 2 rows higher (aafont_t
rise), so a place set for the pixel face keeps its top row and grows downward.
The pixel face and its blitter are no longer compiled (tools/gen_px_font.py stays
for the navigation map); cv_text_up turns the Huffman-coded glyphs (cv_turn).

So that the bigger letters fit, and to show fewer things, each larger:
- Tabs: at most five at a time, the five round the one lit, a mark at the side
  where more lie (SEQ and FX had eight tabs of 27 px); GLO's GLOBAL / SYSTEM tabs
  GLOB / SYS.
- MENU: a tab lists eight rows at a time from the knobs' set, 17 apart in S (its
  own name and the "ALGO: TAB . SELECT: ROW" line over them are gone: the tabs
  and the breadcrumb say both); the overview tiles show each tab's name and how
  many rows it has (they listed every row 7 px apart).
- Cards: the label a row or two higher (capitals rows 3..11; AIR 2..10); labels
  BPM LK, HARM, SYLL; COLOR's CONTRAST reads CONTR on its card (whole in the rows
  and chips).
- Removed, as their cards say them: SCL KEY's QUANT and ALL TR at the wheel's
  right; the value inside BEING's organ rings (cut to five letters).
- The footer's breadcrumb a row higher; DICE's dialog buttons two 9 px lines.
- GENE's panel no longer draws the song's length under its own words.

ui_render: 196 findings (248 before; 9 on JIANT, 13 before), ellipsised free
texts 628 (1224), alignment 0. ui_test and text_ref_test follow (tab window,
rise). Image: 3848 B free (1252 B freed).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-11 23:48:28 +00:00
Claude 65d0d64cdf COLOR: the family of seven palettes (JIANT SELVA CONTRAST BRASA ABISAL HUESO NEON)
MENU > DISPLAY > COLOR offers exactly seven, all the owner's: JIANT (unchanged, the
default) and six of its own. The ten inherited from Felucca (GREY GREEN AMBER ICE
VIOLET ROSE PAPER HI-CON NIGHT MONO) are gone.

- tools/gen_ui_palettes.py: a palette is twelve stored tokens (bg surf text theme
  accent mid dim line sel tint rec raise); JIANT's are its five colours and the
  blends it has had since 0.8.9 (bit for bit), the six new ones the owner's hex
  values at the nearest RGB565. INK is black in all. NEON's SEL a step lighter than
  set (#D43589) so black INK on it passes 4.5.
- gfx.c palette_set copies the twelve; KEY, LANE, GRID stay derived. The GREY
  (gray axis), MONO (black and white) and PAPER (light) paths are removed: ux.mono,
  ux.light, the light coverage curve, ux_gray / ux_luma, the knob table per palette.
- The thermal ramp (beings, notes, bars, card values) in every palette.
- Saved ids: UI_PAL_TAG + the place the nearest palette had up to V10.7.18, so old
  settings land on the nearest of the family (GREY MONO NIGHT -> HUESO, GREEN ->
  SELVA, AMBER ROSE -> BRASA, ICE -> ABISAL, VIOLET -> JIANT, PAPER HI-CON ->
  CONTRAST) and older firmware reads new settings as its nearest palette (NEON: a
  new id, its fallback). The record's format and version are unchanged.
- A card value too long for S (COLOR's CONTRAST) is set whole in the small face;
  COLOR's chips fit it. An arrange row of an empty section is a well (DIM on the
  section's colour could not be read).
- Tests: theme_test (the family, the stored tokens, the knobs' contrast; its probe
  glyph in the byte-packed format, which is what failed before), settings_test and
  backup_test (the migration), ui_test, ui_render (gray / neutral lints replaced by
  a contrast lint of every ink drawn), editor_test, the web mock.
- Manuals (EN, ES), README, cheat sheet text, EDITOR_PROTOCOL.

Image: 1992 B free (was 256).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-11-11 22:42:46 +00:00
Claude da1b1dd2c1 Copyright headers: name Juan Jiant on JIANT's own files, add him on the modified Felucca ones
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
2026-11-11 18:04:53 +00:00
JUAN JIANT e3695e7e8f Keep byte-packed glyph pointers free of word-alignment assumptions 2026-11-05 22:54:37 -03:00
JUAN JIANT 329dd557ae Validate complete ADD track generator, lossless UI packing and unchanged song/audio behavior 2026-11-05 22:43:03 -03:00
JUAN JIANT 63d3e5dbdd Measure lossless font packing and isolated track generation (layout probe) 2026-11-05 22:28:27 -03:00
JUAN JIANT e147a989f6 Preserve the complete FIT candidate source alongside the probability correction 2026-11-04 15:36:07 -03:00
JUAN JIANT 4d23857b9f Preserve per-step probability through SEQ and STUTTER replacements
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.
2026-11-04 15:34:37 -03:00
JUAN JIANT 635effe287 Restore complete V10.6c source tree around the song-save changes
Keep all unmodified public firmware, build tools, assets and web files in the candidate tree.
2026-11-04 07:30:19 -03:00
JUAN JIANT 243258059e Add SAVE SONG AS to copy complete songs between projects
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.
2026-11-04 07:28:45 -03:00
Claude 135b0ac069 0.9.0: flash: the keycaps Huffman-coded (-2.4 KB)
The 28 keycaps / badges were 4-bit maps, 2 px a byte (4792 B): long runs of one value (0 outside, 5 the fill). Now
tools/gen_aa_keycaps.py codes them as the faces M and L are (gen_aa_font.huff_pack, a run of up to 16 of any value
here: huff_pack / huff_symbols take the values that run, the faces' 0 and 15 by default) and checks each decodes
back; src/gfx.c cv_keycap draws them with cv_alpha_hc and KC_HC (its decoder already took a run of any value).
KC_DATA 4792 -> 2330 B + KC_HC 54 B. HC_FONTS 3 -> 4: the keycaps' code gets its own 256-entry table in the pool
(+516 B; with FELUCCA_ICONS=1 the icons' code keeps its slot too, so no table is rebuilt between draws).

image 543224 -> 540840 B (-2384); pool 289136 -> 289652 B (spare 31360 -> 30848 B).

Pixel for pixel as before: tests/text_ref_test.c draws every keycap in every palette, whole and cut by each edge of
the canvas, both ways (cv_keycap against cv_alpha of the nibbles, KC_REF_DATA: the generator writes them for the
host tests under #ifdef KC_REF), 0 pixels differ; tests/ui_render.c's keycap alignment reads those nibbles; every UI
render bit for bit as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 13:01:24 +00:00
Claude 224fe41a21 0.9.0: flash: the faces' glyph tables packed (-2.6 KB)
A face's glyph table was an aag_t {off, adv, bx, by, bw, bh} (8 B) for every glyph and phase: 420 entries in S and
M (105 glyphs x 4 phases), the advance repeated in every phase, the offsets 16 bits each. Now (tools/aa_raster.py
glyph_tables, for gen_aa_font.py and gen_px_font.py) AF_<N>_GH {off, adv} a glyph (its phases' lowest data offset,
the advance) and AF_<N>_GP 32 bits a glyph and phase: off - GH.off (10 bits), bx + 1 (3), by (6), bw (7), bh (6);
the generator asserts every face fits (and that a glyph's phases advance alike). src/gfx.c ag() unpacks an entry
into an aag_t; text_run (the phase test: phase 1's offset against phase 0's, as before), text_w, cv_text_up,
icons.c cv_trk and ui_menu.c's pen read it through ag() or GH.

S 3360 -> 2100 B, M 3360 -> 2100 B, L 656 -> 492 B, X 752 B as before: image 545784 -> 543224 B (-2560 with the
code). Every entry unpacks to exactly the old one (S M L X compared field by field); tests/text_ref_test.c's
reference unpacks the table on its own (0 pens, 0 pixels differ), tests/theme_test.c's probe face and
tests/text_spacing_test.py read the new layout; every UI render bit for bit as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 12:47:31 +00:00
Claude e7a30ff085 0.9.0: flash: kerning pairs by the first glyph (-1.6 KB)
The faces' kerning was a sorted table of a << 8 | b keys (uint16) and their deltas (int8): 3 B a pair, a binary
search over all of a face's pairs (S 1122, M 994). Now (tools/gen_aa_font.py) KI, where each first glyph's pairs
start (uint16, by the glyph's number), and KP, each pair's second character and delta (2 B): src/gfx.c kern() finds
a's glyph (glyph_at, as the drawing does) and searches its own pairs only (a handful instead of ~1000).

S 3366 -> 2454 B, M 2982 -> 2198 B, L 24 -> 100 B (8 pairs, its 41 glyphs indexed): image 552792 -> 551192 B
(-1600). The same deltas for every pair: tests/text_ref_test.c's reference restates the lookup as a scan and now
also compares kern() with it for every pair of codes 0..255 in S M L (2124 pairs, 0 differ), its pens and pixels as
before (0 differ); tests/text_spacing_test.py reads the new tables (its pairs identical to the old ones'). Every UI
render bit for bit as before (all PNGs and the report but its timings).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 12:13:15 +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 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