Commit Graph
12 Commits
Author SHA1 Message Date
Claude 94e416b894 add15-beta4: ARRANGE 2's VAR, a song row's variation of each track (and its mute)
KNOB 4 on SAVE > ARRANGE 2 picks a track's variation for that row only:
MUTE, THIN, FILL, HALF, REV, SHIFT, OCT+, OCT-, VAR 1..4 (seeded by song,
row and track: the same row always plays the same). Applied as the row is
staged (song_main.c row_vary); MUTE over the row's scene. The graph shows
the row's six tracks (their section's colour and letter, their VAR).

The song index goes to version 4 (+512 B, a uint32_t per row, 4 bits a
track); versions 1..3 in flash and version 2/3 backups load with no
variations. The variation scratch buffer lives in the pool.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-30 13:31:02 +00:00
Claude 59bca1a334 add15-beta3: SAVE > ARRANGE 2, each song row's tracks from any section (Skiff style)
A song row can take any track from another of its song's four sections:
KNOB 1 the row, KNOB 2 the track, KNOB 3 FROM (the row's own, A..D), KNOB 4
left resets the row; MIX shows where the six come from. A track brings its
sound, steps, FM6 patch and automation (DRUM its kit); the row's section
keeps the globals (punch-in lane, SLICER). Quick chains and live jumps play
whole sections as before.

The song index goes to version 3 (+512 B: a uint32_t per row, 3 bits a
track); version 1 and 2 indexes in flash and version 2 backups load with
every track on its row's section. Row add / delete / SONG REC / CLEAR SONG /
NEW PROJECT keep the map in step. Tests: persistence (the mixed staging,
v2 migration), backup (v3 and v2 restores), startup (the map through boot),
ui (ARRANGE 2's knobs, the SAVE chain with the page).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-30 12:38:32 +00:00
Claude 6968b20ed1 0.9.9: DRUM-X, VOICE, ANIMAL first: power-on tracks and the engine order
- 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
2026-10-18 06:21:57 +00:00
Claude 0cce3678ce 0.8.5: SAVE as a lens, as the mock-up: LIBRARY (the projects as tiles / TOOLS), PROJECT (the sections, the arrangement / ARRANGE), SOUND (the track's being, the user slots / PRESETS)
SAVE's proposal "LENTE" of the approved mock-up. SELECT zooms LIBRARY <-> PROJECT <-> SOUND (no wrap), a SAVE tap
switches the level's two sets, each level comes back at its set; SAVE from another page still opens USER with SAVE
armed (SAVE, OCT+, OCT+). Every page, knob, dialog and the NAME screen as before, with these mapped:
- LIBRARY: PROJECT (PROJECT SECT LOAD SAVE; PRESETS the project) / TOOLS (the list, rows TINT).
- PROJECT: SECTIONS = the PROJECT page with KNOB 1 the section, KNOB 2 its name shown / ARRANGE (ROW "2/6" SECT BARS
  SCENE). OCT+ on ARRANGE adds a row after the last (its section and bars, no scene); PLAY plays the song (it did).
- SOUND: USER (SLOT LOAD ERASE SAVE) / PRESETS (No. ENG FAV LIST); the track's being (its engine's species, its HOME
  knobs, moving with its sound, as an engine page's) and the 32 slots with small beings.
The other projects' tiles: project.c lib_scan reads their sections' flash headers and section A's name bytes (no
payload, no CRC: a picture), one project a frame, cached until a project is written, loaded or renamed.
The lens's layout off under a layer's map and the NAME screen. JIANT's section colours the mock-up's (cyan violet
orange yellow). Version 0.8.5.
Memory: image 498800 -> 503908 B (+5108, app slot 0x8DFBC = 581564 B: 77656 B free); .data+.bss 84848 -> 84996 B
(+148: the library cache); pool and LOWBUF unchanged (spare 65248 B; LOWBUF 608 B free); RAM code 21676 -> 21640 B.
Draw (host): SAVE screens 210..340 us full, SOUND's panel ~140 us a frame while its being moves (HOME's frame ~115..180).
ui_test: the lens's navigation, every SAVE page reached, the tabs, LIBRARY's KNOB 1 / PRESETS, PROJECT's knobs,
ARRANGE's OCT+ adding a row and PLAY starting the song, the layer / NAME layout; persistence_test: the library scan
from the flash (another project's sections and name, an empty one). ui_render: six SAVE screens, lint and alignment
clean in every palette, FLAT / LINE / LARGE; draw cost. Manuals (EN, ES), README, cheat sheets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-17 00:39:51 +00:00
Claude fe7ddd37e4 JIANT 0.6.40: INIT SYSTEM; power-on at zero, RESTORE LAST OFF by default
- SAVE > TOOLS 5 INIT SYSTEM (dialog, UNDO): every track its engine's
  defaults and first sound, no steps / automation / locks, mix, effects,
  tempo and SLICER at their defaults, the song empty, macros at 0, the
  factory DRUM-X kit (X-MOD, TONE off, no mutes), FM6 patches init; the
  setup (CLOCK TUNE MIDI ROUTE, the slot) and what is saved stay
- Power-on as INIT SYSTEM (each engine's first sound, was TRK_DEF's presets)
- RESTORE LAST: the bit now means ON, so OFF is the default
- Tests, manual EN/ES, cheat sheets, README

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-12 07:03:12 +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 6ad8385f6f Song 4d (2/2): 8 songs in flash, song selector
- Song 1 is the four project slots (Felucca's projects stay there); songs
  2..8 are 28 A/B objects at 0xA0000..0xD7FFF; the song index (each song's
  rows, the current song) at 0xD8000 / 0xD9000.
- Rows belong to the song: loading a section no longer replaces them. A
  first boot takes song 1's rows from its section A.
- SAVE held + KNOB 1 picks the song, switched when SAVE lets go (stopped):
  the song left is flushed (sections and rows), the new one's sections and
  rows come in and its section A becomes the music.
- Rows written to the index once they rest for 2 s with the transport stopped.
- Tests: flash map, song switching, power-off, first-boot migration, UI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
2026-10-08 19:40: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
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 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
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