mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-06 21:04:32 +01:00
862c83747c8d89157dfdcfef6a1fb4bc3a8325dd
584
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
862c83747c |
android: link libm for the usbstream test (the mic resampler uses sin)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
414aac8cd4 |
0.9.8: clean USB stems (and JIANT Stems 1.1) + VOICE sings softer, merged with 0.9.7
- FELUCCA_VERSION v0.9.8; README: one v0.9.8 section (clean USB stems, JIANT Stems 1.1, VOICE singing) above v0.9.7, status line v0.9.8, memory: image 562700 B of 581564, .data + .bss 79556 B, pool spare 10816 B, RAM code 22460 B. - The stems fix ships in 0.9.8 (0.9.7 still had the 720-byte endpoint): the app's old-firmware message, the manuals, android/README and the fix's comments say 0.9.8 / "0.9.7 or older". - Navigation map and cheat sheets regenerated at v0.9.8. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
e6b020054e |
Merge branch 'voice-quality' into ccr-18c0aefe-zpqwro
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
007cdeb9a5 |
Merge branch 'stems-fix' into ccr-18c0aefe-zpqwro
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
3c78bd17ff |
Merge remote-tracking branch 'origin/main' into ccr-18c0aefe-zpqwro
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
b8a24db74b |
0.9.7: ui_test: SCOPE's per-engine check skips DIGITAL (the FELUCCA_FM4=1 build: its OP pages, no creature)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
21507360b9 |
0.9.7: docs: AIR, SCOPE and HOME's faces in the manuals (EN / ES), README v0.9.7, nav map, cheat sheets, README images
- MANUAL.md / MANUAL.es.md: the skins section (AIR first, the default of new settings, saved settings keeping theirs; LARGE on AIR), the tabs' dash on AIR, HOME's faces (ECO's being in three isotherms by its level, the face, asleep, the MUTATE cue instead of the critters and the ring of dots), the MENU (26 rows, DISPLAY 8, SKIN 2/26), the table's SKIN row (AIR COLORS BOTTOM HUD) and a SCOPE row (OFF by default), SCOPE in the creatures' section. - README: status v0.9.7, the skins, HOME's faces, the v0.9.7 changelog (memory, tests). - FELUCCA_VERSION "v0.9.7"; the navigation map (EN / ES) and the cheat sheets regenerated (the MENU's skins and SCOPE). - EDITOR_PROTOCOL.md: JIANT's MENU ids 18..22 (21 SKIN in the menu's new order, 22 SCOPE). - README images (tools/gen_readme_hero.py) from the default now: AIR on JIANT, SCOPE OFF (the creature on the whole panel), COLORS as the other skin shown. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
76d82f8cb9 |
0.9.7: HOME variant A "Hoy con carita": today's beings in three isotherms by their level, a face where the nuclei were
ECO's beings: each its species' spiky outline (as it sounds) in three isotherms (1, .7, .44; the inner two 40 vertices), coloured by its own level (quiet cyan / blue .. loud red, orange, yellow; JIANT the creatures' ramp, other palettes the beings'), and in place of the nuclei a small face: eyes that shut 0.1 s on a hit, a mouth that opens with the level; muted, asleep (a dim outline, eyes shut). MUTATE: when a mutation lands the being looks up, its number lights white and one ring in the accent opens. The 36 critters and the ring of twelve MUTATE dots are gone; the granules stay; the swim, swell and bounces as before. All skins (COLORS BOTTOM HUD AIR). The face's state (eco_fc: the three colours, the last hit, the face's flags) is worked out once a frame by eco_step and sized as the critters' arrays were, so GlobalMerge lays the RAM out as before: every non-minsize function's code identical (only cr.0 -> eco_fc.0 in four symbol names), target_budget identical, RAM code 22472 B as before. Memory: image 560440 -> 559976 B; RAM .data+.bss 79172 B (as before); pool spare 10880 B. Tests: ui_test HOME A (the face's mouth / eyes / looking up, a hit shuts only its eyes 0.1 s, a mutation only its look; no critters and no MUTATE ring in every skin); ui_render home_mutate, home_faces scenes (0 lint findings); HUD dirty-cell audit with AIR: 0 findings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
ec14f5eaca |
0.9.8: VOICE sings softer: band-passed, eased sibilants, joined syllables, a singer's vibrato and glide
- Sibilants (WORDS): frication band-passed (1 - z^-2 into F4: no fizz past ~12 kHz), s ~6 kHz, sh ~2.7 kHz; comes in over ~10 ms (s 10-90 % 9 ms, was 3), goes over ~5 ms, ~5 dB lower (s -19.6 dB of the vowel, was -14.6); the vowel's voicing fades under it (~6 ms). - Coarticulation: formants through two one-poles in a row (S-shaped, no corner); nasal / lateral F1 less widened (a murmur); singer presets ATK ~5 ms, REL ~190 ms: joins click-free (worst 1.2x the sound around, was 3.7), la-le-li gap -22 dB (was -48). - Voice: vibrato on held notes (~5.5 Hz, +-20 ct, after ~0.3 s, none while gliding, per choir voice phase), per-period jitter ~0.3 % / shimmer ~0.4 dB, softer source, less presence; BUZZ's top steadies it (ROBOT EN). New state: two padding fields of voice_t, 60 B of pool (sing_x). - Glide: VOICE's glide is an S-curve in pitch over GLIDE's time (eng_formant.c glide_sung / fmt_sung, sub-1/16 st fine), formants on the vowel, no re-attack; legato words glide ~60 ms at GLIDE 0. Other engines' glide and track_render untouched (RAM code identical). - Cost: cpu_vg VOICE.ES/EN +3.0 %, peak/VOICE.EN6 +4.2 %, other engines identical, cputest +0.005 %; target formant_word_render 338 (+3.7 %), sy_tick out of line (formant_block 122); flash +912 B. Goldens: the eight word presets and mode/VOICE/LEGATO only. web/editor.html mock presets synced. voice_test: soft s / sh, joins, glide S-curve + formants, vibrato. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
54d3d85840 |
0.9.7: MENU > DISPLAY > SCOPE ON / OFF (OFF by default): an engine's EDIT pages the creature on the whole panel
A row of DISPLAY under SKIN (ui.c ui_scope, a byte engine 15 never used: [15][19]). OFF, the default of new settings and of every older one (which never held it): a synth's EDIT 1 / EDIT 2 (ui_lzedit.c graph_sound_lz) draw the engine's creature on the whole panel, centred (vx_draw on the panel's rectangle: 232 x 136, BOTTOM / HUD / AIR's 144), no SCOPE card and no chips (the knobs' cards say the four), the page's name and the sound's small in its corners (outlined on BOTTOM, HUD and AIR). ON: as before, the creature on the left, the SCOPE card, the chips. Saved with the settings (unknown values read as OFF); the editor's MENU_DESC offers it as id 22 (OFF ON). The test-only VX_FULL_HOOK is gone: ui_render's *_full scenes are SCOPE OFF (VOICE and ANIMAL added), the others ON. DISPLAY has eight rows: the menu's TAB rows 15 apart, its tiles' 7 (it fits the lens's panel as before). Tests: ui_test (OFF by default, the row and its ends, saved and read back, older and unknown values OFF; every engine with a creature in every skin: ON the card, the chips and the gap left of them, OFF the creature across the middle and no card or chip; the menu's rows: 26, DISPLAY's eight), startup_test (an erased flash: SCOPE OFF; saved settings: OFF), editor_test (MENU_DESC lists SCOPE, 23 items), ui_render (0 lint findings, 0 off by 1 px). Every screen with SCOPE ON renders as before (but the menu's new row). Image 560104 -> 560440 B; RAM .data+.bss 79172 B, pool spare 10880 B, as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
8da34560f8 |
0.9.7: SKIN AIR (the approved option), the default of new settings: HUD's look everywhere with the knobs' row on top
MENU > DISPLAY > SKIN now steps AIR COLORS BOTTOM HUD. AIR is HUD everywhere (no boxes, the tabs plain words, the text floating, no rules) with the four knobs' row on top, right under the tabs (42..74), the middle free for the pictures and the creatures (77..224, BOTTOM's 148 rows), the breadcrumb at the foot; on HOME as HUD's (the beings over the whole screen, every word outlined over them, the row fading while the knobs rest) with the row at 41..73 and the panel 74..223. Every palette, FLAT and LINE (its rules over and under the row), every lens page, the layers, the dialogs, NAME and the menu; MENU > LARGE keeps COLORS' layout (its tall cards on top), as in every skin. Stored as 3 (gfx.c SKIN_AIR): settings saved before keep theirs (0 COLORS, BOTTOM, HUD); a power-on with no settings saved (project.c persist_boot -> settings_fresh) starts in AIR. The editor's MENU_DESC lists AIR COLORS BOTTOM HUD (values in that order). HUD's checks are skin_hud() (HUD or AIR); the geometry in ui.c card_y / graph_y, the tabs' strip down to the row on AIR's HOME. Tests: ui_test (the menu's order and its ends, AIR for new settings, saved and read back, older settings keep theirs, the geometry, every lens page, HOME's three levels and the menu, the row's fade, HOME's cells equal a full redraw), startup_test (an erased flash boots in AIR; saved settings keep COLORS), editor_test (MENU_DESC / MENU_SET of SKIN), ui_render (AIR in FLAT, LINE and LARGE, every palette: 0 lint findings, 0 off by 1 px). The HUD audit (dirty cells against full redraws, every scenario, HUD and AIR in every palette, LINE, LARGE): 0 stale pixels. COLORS, BOTTOM and HUD render pixel for pixel as before (but the menu's SKIN card, its gauge at its new place). Image 559864 -> 560104 B; RAM .data+.bss 79172 B, pool spare 10880 B, as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
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 |
||
|
|
fc6a33f811 |
0.9.7: clean USB stems: the 8-channel endpoint fits its 46-frame packets (736 B, was 720: babble, stalls, ~100 blocks a second lost in every stem), a ms more in hand and made-up frames spread over a packet, the SLICER's parts once in the stems; JIANT Stems 1.1: whole frames only, the mic's drift without slips, the trim and the take's length
- usb.c: UAC_MAXP8 46 x 16 (uac_packet sends 45 + 1 while holding the ring's fill: the host dropped those packets as babble and halted, the ring filled and uac_tap8 dropped whole blocks; TOMA_03: ~87 breaks/s in all channels at once, 99.9 % on the 32-frame render grid); a static assert that every packet fits; STEMS / STEMS+IN band +48 frames (UA_PAD_STEMS); an underrun's repeat made up by uac_squeeze (n + 1 frames into n), not a skip. - fx.c / slicer.c: a part through the SLICER is its own sound at the gain the SLICER gave (traced copy sl_seg_tr / slicer_bus_tr, only with the stems on), its repeats in the first such part's stem or, FX ON, in the FX return: the eight sum to the mix (it was in its stem dry and again sliced in FX). RAM code -12 B; goldens, target budget and cpu_vg unchanged; image 562,732 B. - tests: stems_usb_test (8/10 ch, minutes, an app-like host: every frame once in its lane, no babble; 0.9.5's 720 B shown losing 11 % in blocks; starvation corners only the holds'), stems_test (DICE songs: each stem bit for bit its solo render in FULL / LITE / ECO, CORES 1 / 2, ECO tail trimming; sum = mix; empty track zeros; SLICER GATE / STUT / FX ON), uac_test 736 B; run_tests runs the app's C and JVM tests while it lives here. - JIANT Stems 1.1: usbstream.c keeps whole frames (a cut frame no longer shifts every channel) and follows the mic's drift by fractional reading; tells a 0.9.5 FM-1 in STEMS; a take being recorded is never recovered from the list, Wav.repair keeps all the file holds; trim edges by their grip, relative, snapped to the ends; Spanish INICIO AQUÍ / FINAL AQUÍ / SIN RECORTE; EXPORT says when trimmed; TakeLengthTest. - manuals (EN / ES): what was wrong, what a stem is (DUCK, the shared voices, ECO), record again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
08c751e8e5 |
landing: the real FM-1 drawn instead of a generic synth
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
df72060934 |
0.9.6: merge the six engine creatures with 0.9.5's toasts, colours and no layer hints
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
9543d1319c |
0.9.5: no layer hints (HOLD [X] QUICK gone); the toast pill keeps clear of page text
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
56b0a3c77a |
0.9.6: README, manuals (EN / ES), cheat sheets and the navigation map at v0.9.6: every engine draws its own creature
- FELUCCA_VERSION "v0.9.6"; README status and v0.9.6 section (the six creatures, cost, tests), the engine pages and FM6's operator pages described with their pictures. - MANUAL / MANUAL.es: "Six more engines draw their own creature (0.9.6)", BEING and EDIT > SOUND, FM6's OPERATOR / OP ENV / OPERATOR 2 panel. - Cheat sheets (tools/gen_cheatsheets.py, rendered) with each engine's picture; navigation map regenerated (tools/gen_nav_map.py). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
00ea04cd67 |
0.9.6: ANALOG, FM6, WHEEL, NOISE, PHASE and LOFI draw their own creature: a cell, a colony of operators, tube worms, a swarm, a snail, a caterpillar
Ported from the approved mock-up (the family's) into ui_engvis.c, on EDIT > SOUND (the left panel, as 0.9.4's; scope and chips unchanged) and HOME > BEING for their tracks (HOME's ecosystem keeps its beings): - ANALOG "CÉLULA": the membrane (three isotherms) is two cycles of the oscillators (WAVE/MORPH, DETUNE, MIX, NOISE, INT) through the filter (CUT on the note, RES) and tanh DRIVE, in polar form; spikes where DRIVE clips, a ring at CUT glowing and spreading with RES, NOISE cilia, the two oscillators orbiting at DETUNE's beat. - FM6 "COLONIA": the operators as bichos wired as the 32 algorithms (FM6_CELL, fm6_routes: carriers on the floor, modulators above, pulses down the wires at the modulator's ratio), size / heat = LEVEL x the sounding notes' operator envelope, spikes = RATIO, FB a curled tail. Also OPERATOR / OPERATOR 2 (the picked operator lit, DETUNE a shimmer; "ALG 05 PAT" and "OP3 x1.50" kept) and OP ENV (the patch's envelope, the stage lit, the operator's bicho riding the curve where its envelope is; "OP3" and "ATK R 95 L 99" kept). The chart and envelope graphs it replaces are gone (graph_fm6, graph_fm6env); the panel animates as the beings' (graph_signature). - WHEEL "TUBÍCOLAS": nine tube worms, one a drawbar (drw_level), their digits under them, crowns by harmonic; the real rotor phase / DEPTH bends them, PERC's worm leaps, CLICK bubbles, DUST motes. - NOISE "ENJAMBRE": 56 protozoa (the mock-up's 84: cost) round a queen; COLOR the walk, FREQ the swirl and ring, PEAK how tight, DUST flares; LFSR / META the register (voice ph[1]) marching in columns. - PHASE "CARACOL": the shell's chambers at the bent phase (vx_pd, the mock-up's pdPhase), the sole the wave (WAVE / WAVE2, FB, the second line, SUB), FB frays the spiral, SUB's whorl, eyestalks pulled in on each note, the second line a little snail (RING a thread). - LOFI "ORGANISMO DE CIRCUITO": the two skins the last 256 samples of the scope's buffer (no new capture, nothing in the ISR), the 8 segments the byte's bits (BYTE: the voice's held sample, highest next to the head), legs and antennae lifted by their bits, a shouting head; FLOAT and PLS TRI SAW NOIS WRAM the same caterpillar lit by level. Shared with DRUM-X's beings: the face (vx_face / vx_bface) and the outline (vx_blob, now with lobes and sharpness). Every creature draws into a rectangle (vx_draw(t, x, y, w, h, en)) and scales to it; ui_lzedit.c's VX_FULL_HOOK (host tests only) puts it on the whole panel. Each moves only with its sound (the mock-up's time runs with the level, note-ons from voice_t.age), at rest in silence; MENU > ANIM OFF rests them. Flash +14320 B for the six (image 574204 of 581564): ANALOG 2416, FM6 4786 (2596 net of the chart / envelope it replaces), WHEEL 1741, NOISE 1672, PHASE 2332, LOFI 2168, shared 1130 (vx_bug -212). vxs in .pool 1536 B (spare 11136 B), .data/.bss unchanged. Draw cost (host, whole screen, sounding) at or under 0.9.4's ANALOG EDIT (~165 us): ANALOG ~157, FM6 ~160, OPERATOR ~147, OP ENV ~122, WHEEL ~149, NOISE ~143, PHASE ~143, LOFI ~155; HOME 151-169; whole panel 127-146. No audio change: goldens, cpu_vg, target budgets identical. Tests: ui_render scenes for each (param states, notes, silence, HOME, whole panel) in every palette / skin / LARGE, lint and alignment clean; the FM6 chart lint becomes a colony lint (VX_FM6_HOOK: no two bichos overlapping, inside the panel, every algorithm); FM6's operator pages checked to keep their numbers; ui_test: each moves with the sound and holds still in silence (EDIT, OPERATOR / OP ENV / OPERATOR 2, HOME). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
092d134143 |
0.9.5: per-parameter colours as in 0.6 on the JIANT palette: each card's value and gauge coloured by its amount as heat (violet low, cream high), a bipolar parameter by its distance from the centre, in every skin
- 0.6.36 (
|
||
|
|
da02cc5012 |
0.9.5: messages no longer blank the screen: a toast is a small pill over the live page, a NOTICE covers only its box, a teaching hint waits for you to stay on the page (never while SELECT walks past) and is given at most twice ever
- Toasts (ui_say / ui_message, every caller, and the second line msg2): on a lens page the panel was cleared and the message boxed alone in it (0.8.5 .. 0.9.4), a black panel for a second. Now ui_graph.c toast_pill draws a rounded pill near the panel's foot (BG behind the words, a faint accent edge, its ends blended onto what is there) over the page, which is drawn as ever: graph, roll, grid and beings keep moving behind it, in COLORS, BOTTOM and HUD, every palette, LARGE. The header still says it; HOME's beings and the layers' maps as before (header only). DRUM-X's octave names, MUTATE's KEEP / FREEZE, SAVED / LOADED ... all go through it. - NOTICE (the OCT- / OCT+ questions) no longer fills the screen round its card with BG: gfx.c scr_holes keeps three holes (its tabs, its card, its breadcrumb) that the page's blits and fills leave out (lcd_fill / lcd_blit / lcd_blit_stride through scr_fill / scr_blit), and ui_draw_page draws the page round them every frame, the dialog over it when it opens. DICE's BEFORE / NOW (the whole screen, its box) and dialogs over the menu / NAME / UPDATE MODE as before. No hole: straight to the panel as before. - Page hints (MUTATE's "OCT+ KEEP GLO+A4 FREEZE" + "SEQ+D5 REVERT GLO+B4 ALL", MOTION's and PUNCH's "REC + PLAY ...", a button's "HOLD [EDIT] QUICK") were said on entry, so walking SEQ's chain with SELECT carried MUTATE's onto BAR. Now page_entered / layer_tap only note them (ui.hint_k); ui_layer.c hint_tick says one once its page has been shown HINT_DWELL_MS (800 ms) with nothing else said or open, gone with the page (ui.hint_pg). - Each hint at most HINT_MAX (2) times in all: hint_given(k), a byte a hint in engine 15's spare favourite bytes 0..12 (kept with the settings, settings_save deferred while playing; older settings have 0 there: not given yet), so not again after a reboot; a button's "HOLD [X] QUICK" never again once its layer has been held (layer_seen, checked when it would be said too); SAVE > TOOLS > INIT SYSTEM starts them over (hints_reset: the counts and layer_seen). - HUD audit harness (scratchpad h/runall2.py, 37 skin / palette / style / LARGE combinations, 27 scenarios): 0 stale pixels, 0 sentinel pixels. Image 560256 B of 581564 (+372 B); nothing in the audio path (goldens, cpu_vg, target budgets unchanged). - Tests: ui_test's 0.8.5 check that the toast filled the panel replaced by test_toasts: the panel behind the pill as it was (every skin, JIANT GREY PAPER, LARGE), whole again after, the page moving behind it while it plays, NOTICE leaving the page round its box; no hint while SELECT walks TRACK > MUTATE > BAR, MUTATE's after the dwell (then its second line), at most twice in all; SCL's twice then never; the counts across a simulated reboot (settings exported, power-on, imported) and older settings at 0; EDIT's never again once its layer was held; INIT SYSTEM resetting them. The layer-hint checks wait out the dwell (they expected it on the tap). ui_render: GFX_HOOK_COVER (the pill hides what its canvas holds there) and the NOTICE's holes in the lint (texts and dividers under them never reach the screen): 0 findings. - Docs: MANUAL (EN / ES) messages, hints and the NOTICE, README v0.9.5, FELUCCA_VERSION v0.9.5, navigation map and cheat sheets regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
a143b3d79d |
0.9.4: VOICE, ANIMAL and DRUM-X draw their own creature: a CT head that sings, a bird / insect / mammal that metamorphoses, the kit as little beings that squash and shout
- VOICE (ui_engvis.c vx_voice): a sagittal CT of a head whose tongue, jaw, lips, velum and vocal folds follow the phoneme sung (sing_view; VOWEL -> VOWEL2 over TALK without WORDS), on EDIT > SOUND and HOME > BEING. - ANIMAL (vx_animal): one set of points mixed between a bird, an insect and a mammal, gliding to MODE's animal, leaned by SIZE, stirred by CHAOS; the call opens the beak, swells the throat, buzzes the wings. - DRUM-X (vx_kit, "BICHOS" from the mock-up): each drum a small being with eyes and a mouth arranged as a kit (kick large in the middle, snare on its stand, toms on little legs, hi-hat two shells, crash on a stem, cowbell, two clappers, the rim a spark); a hit squashes its being, shuts its eyes and opens its mouth, as hard as the lane's envelope and springing back with its decay; GHOST small, FLAM twice (a shadow for the hit to come), ratchets repeated. On EDIT > KIT (EDIT 1: the sound last struck named), SOUND 1..4 (the sound edited lit and named) and HOME > BEING; KIT 2, KIT 3 and X-MOD keep the colony. JIANT palette: the mock-up's thermal ramp (blue / violet outlines, orange core, cyan floor); the other palettes as the beings, GREY / MONO grey, muted sounds dim. - State vxs in .pool (160 B, spare 12512 B), image 559884 B of 581564; nothing in the audio path (goldens, cpu_vg, target budgets unchanged). ui_render scenes (each lane, ghost, flam, ratchet, silent, SOUND 1..4, HOME), ui_test: moving with the sound, still in silence, KIT / SOUND vs the colony pages, a ratchet's squashes. - Docs: README, MANUAL (EN / ES), cheat sheets, navigation map at v0.9.4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
8d3e75f12d |
0.9.3: merge the navigation map (EN/ES) into README, manuals and landing; the map shows SEQ+D5 REVERT and GLO+B4 REVERT ALL; tests check the map against the firmware's chains
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
35d8de56a0 |
0.9.3: MUTATE can go back: BACK TO BEFORE MUTATE? when a track's MUTATE is turned off, SEQ + D5 REVERT, GLO + B4 REVERT ALL
A YouTube comment asked whether the sound from before a mutation can come back once MUTATE is off. MUTATE already keeps an anchor, so a track can now return to it: - When a track's SOUND and PATTERN are both turned OFF after it mutated, and it differs from the anchor, the NOTICE asks BACK TO BEFORE MUTATE? OCT+ BACK restores the track's sound and steps from the anchor; OCT- KEEP leaves it. - SEQ + D5 REVERT (the selected track) and GLO + B4 REVERT ALL (next to FREEZE) work at any time. The MUTATE page's OCT+/OCT- stay KEEP/FREEZE. - Only what MUTATE changes is restored (mut_sound's values and the steps). LEVEL, PAN, MUTE, the pattern settings and other tracks are left alone. A revert goes through UNDO (GLO + G4). After a load or NEW PROJECT, REVERT shows NO ANCHOR. - Tests: ui_test (dialog, OCT+ byte-exact, OCT- keeps, UNDO/redo, D5, B4, no question when unchanged, NO ANCHOR); ui_render dialog scene in all skins. Goldens and cpu_vg are unchanged. RAM +16 B, image +1456 B. - FELUCCA_VERSION v0.9.3; README, manuals (MUTATE paragraphs), cheat sheet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
2aeb8fe5ae |
docs: navigation map (EN/ES) in README, manuals and landing; README and landing up to 0.9.2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
c22b5c3a13 |
0.9.2: FELUCCA_VERSION v0.9.2; README, manuals (navigation around the six rules), cheat sheets with a rules card
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
a8c265932a |
0.9.2: navigation as six rules, one chain of pages per section (the approved mock-up)
- ui_lens.c is now the navigation core: a table of chains (section, groups, pages, the 0.8.5 level each page is drawn as) drives SELECT, the section buttons, the tabs, the footer and the page titles. Each section remembers its page (ui.nmem; EDIT one per kind of track); a page put by code brings its entry. - 1 SELECT walks the section's pages (no levels, no zoom, stops at the ends); the MENU: every row, ALGORITHM the tabs. - 2 A section button: from elsewhere the page last shown, inside the first page of the next group (round). SCL and ARP are separate sections. GEN is HOME's last group (three ordinary pages, not modal; OCT- back to ECO). SAVE comes back to its last page, USER / SECTIONS armed when entered from outside (SAVE, OCT+, OCT+ kept). - 3 PRESETS always presets: sounds; SEQ patterns (the PHRASES loader); GEN the genre; nothing in the MENU or with a button held (held + PRESETS = pages dropped). - 4 KNOB 1 picks: new SEQ > BAR page (KNOB 1 the bar, KNOB 2 LEN); STEP's KNOB 1 walks all 64 steps. - 5 Held = the layer; combos kept (HOME GEN, EDIT/SEQ/LFO/FX dice, GLO tempo, ENV/SCL/ARP/SAVE their chain). EDIT is always EDIT: clear step -> SEQ layer G5 CLR STEP (AUTO LIST: DEL REC; TIME to REST clears too); rename -> SAVE layer C5 NAME. - 6 Tabs are the section's groups (current lit, a dot a page), footer SECTION . GROUP . page n/N, in COLORS, BOTTOM and HUD, every palette. FX: one flat chain TRK BUS DLY REV CHO SLC MST PCH (16 pages). - Tests: ui_test's navigation tests rewritten for the chains (the old ones checked zoom levels and sets that no longer exist); a reach test (every 0.9.1 page at its 0.9.1 picture, every parameter, each engine, LOFI BYTE, LOAD ECO); the mock-up's 14 tasks with their PROPOSED action counts (73); gen_test / motion_test follow the new gestures; ui_render adds SEQ BAR scenes. - No audio change (hot RAM code the same size); image 547676 B (-768 B), RAM 0 B. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
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
|
||
|
|
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
|
||
|
|
c056c54924 | Merge branch 'mem-opt-090' into ccr-18c0aefe-zpqwro | ||
|
|
4fe0cf4635 |
0.9.0: VOICE's English words resolved in the main loop: the ISR no longer searches the dictionary
The Huffman-coded dictionary ( |
||
|
|
4db32dc4b8 |
0.9.0: HUD fixed: FELUCCA_VERSION v0.9.0; README, manuals (HUD's fade and outline), cheat sheets
- README: the v0.9.0 section, the status line. - MANUAL.md / MANUAL.es.md: HUD's knob row fades on HOME only, comes back on a page / level / set change; 2 px outline. - Cheat sheets regenerated (tools/gen_cheatsheets.py, tools/render_cheatsheets.mjs): the version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
fb303dbf81 |
0.9.0: HUD fixed: HUD's HOME sends only what changed, no frozen header, fade on HOME only, 2 px outlines, NAME in the skin
Every finding of the HUD audit (0.8.9,
|
||
|
|
5691d75f25 |
0.9.0: RAM: the user presets' banks to the pool, the storage stage to LOWBUF (-10 KB of the RAM region)
Two main-loop buffers leave the 96 KiB RAM region (.data + .bss): up_bank (upreset.c, the user presets' RAM mirror, 6160 B) for the pool, st_buf (storage.c, a stored object's payload on its way to or from the flash, 3840 B, still word aligned) for LOWBUF, the main loop's buffers' region (the undo, the song section's stage). Both are zeroed at boot as .bss is (main.c: .bss, the pool and LOWBUF in turn, before anything runs) and stay RAM (the flash driver's sources and destinations). Nothing else changes: no code, no table. RAM .data+.bss 89024 -> 79024 B of 98304; pool 289652 -> 295812 B (spare 30848 -> 24672 B, >= 8 KiB kept); LOWBUF 18232 -> 22072 B of 28672; image unchanged. Every test as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
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 |
||
|
|
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
|
||
|
|
ab603684b0 |
0.9.0: flash: VOICE's English dictionary Huffman-coded, the word banks' offsets sparse (-5.4 KB)
The CMU dictionary (2095 words, front-coded bytes: 18928 B) is now Huffman-coded (tools/gen_lyrics.py en_dict_pack): each word its shared-letter count, its letters and its phonemes, each with its own canonical code (P, L, H), a block of 8 words from a byte (LY_EN_IDX; was 16), LY_EN_LET the blocks of each first letter. src/sing.c sy_en_find reads it with a 32-bit bit reader and a table for the codes up to 6 / 6 / 7 bits (99.6, 96, 94 % of the symbols; the rest from the canonical counts), into the caller's buffer (no pointer into the table any more: sy_word passes its own, SW_MAX as before). 14537 B with the tables and the index. The generator decodes it back and fails if any word differs. The word banks' offsets (LY_ES/EN/JA_OFF, a uint16 a word) keep each 16th word's: ly_word skips the 0s from there. image 551192 -> 545784 B (-5408): dictionary -4391 B, offsets -1390 B, code +373 B. Same words, same phonemes, same sound: tests/voice_test.c looks every word up against gen_lyrics.py's own list (LY_EN_REF_*, host only) - all 2095 found with exactly their phonemes - and 161312 near misses (each word one letter shorter, longer, its first or last letter changed) found exactly when they are themselves words; the banks' 743 words as before; every golden render, VOICE demo and test output bit for bit as before. The lookup's cost (it runs in the audio ISR when a VOICE EN word starts): host callgrind, every word once, ~3550 instructions a lookup against ~1160 as bytes (ly_sym kept a call: inlined, 670 B more for ~15 % less), once a word; tests/cpu_vg.c eng/VOICE.EN 1727 instructions a sample, as before (+0.0 %). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
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 |
||
|
|
c90653e894 |
0.9.0: flash: the main-loop files the size build missed get minsize (-16.7 KB)
tools/size_fns.py marks the main-loop functions minsize (about -Oz) by the file that defines them, but its SIZE_FILES listed only the top-level files: what they include was left at -Os. GEN (gen.c, gen_tables.c, 40 KB), DICE ALL (song_dice.c), the lenses and their panels (ui_lens.c, ui_lz*.c), the line art (ui_organic.c), the beings (ui_being.c), the tech graphs (ui_tech.c), OPERATOR (ui_fm6op.c), DRUM-X's EDIT pages (ui_dx.c), SEQ TOOLS (ui_tools.c), the FM6 voice bank (fm6_vbank.c) and VOICE's words (sing.c) now join the list. - isr_reach follows globals: a global an interrupt's code names counts as its initialiser, so a function in a table the ISR reads is reached too. sing.c's sound side (formant_block -> sing_block -> sy_next .. sy_word, sy_en_find) is called through ENG[]'s hooks, which the old walk did not see: without this, adding sing.c would have built VOICE's per-block articulation for size. With it those stay -Os; only the main loop's (lyr_set, lyr_dice ..) shrink. - definitions() also sees a function whose __attribute__ comes before its name (lz_set, foot_crumbs, draw_crumbs). image 569528 -> 552792 B (-16736); RAM, the pool and RAM code unchanged. No ISR-reached function changed: the reached set grew 149 -> 216 (the new files' and the ones the wider walk finds), every audio, render and ISR function is the same size as before; the only non-minsize functions that changed are small helpers (softclip, pfx_lane_at, drum_kit_of ..) that the shrunk main-loop callers no longer inline and so now exist out of line once. Host tests unchanged (the host build does not use these attributes); target budgets identical. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
cd49edcdac |
0.8.9: merge USB audio fixes (no lost halves, no dropped packets, resampler on core 1) with the skins
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
92be89d2ad |
0.8.9: USB audio never drops a packet; cheaper on the render core; a late half no longer loses the next one
The 0.8.7 field test (FM-1, CORES 2, LOAD FULL, a heavy 160 BPM song, USB CONSOLE captured at 48 kHz): USB audio on raised CPU 65.5 -> 77 %, late halves 15 -> 50 /s, ~230 underruns /s, captures 10-20 % short. - Root cause (audio.c): the ALNK0 ISR acknowledged a half after rendering it, so a render that ran past its half cleared the next half's pending flip and that half was never rendered (the DAC replayed 2.9 ms of old audio; USB got 128 frames fewer). Every "late" half lost the next: ~14 % of the audio with USB on, the ring always dry (adj_down saturated, ~230 underruns /s). Now the half is acked first: a late render is followed at once by the next, which catches up glitch-free (the DMA reads the half behind the render); a half is lost only past ~1.7 halves, counted in the console's new audio_lost. - usb.c, the packets: every packet still carries n +- 1 frames (an underrun repeats the last frame, never drops or shortens it); the repeated frames are now owed and made up (one ring frame skipped a packet while the ring is healthy, uac_repeats_made_up), so a capture keeps the music's length and timing. Bands 0.7 ms higher for renders that now start up to ~1 ms late (44.1: 112..160, 48: 128..176). - usb.c, the resampler: uac_rs_run, in RAM (.c1_text) calling nothing, its 160 phases in a RAM table (pool, 15 KiB) built from the flash's, four taps a pass: bit for bit 0.8.8's. With CORES 2 each half goes to core 1 at the render's end (uac_render_end) and enters the ring when the next half starts (uac_collect; mix_block's first job queues behind it, so its wait covers it); one core: per block in the ISR as before. Core 0's share at 48 kHz: ~21 instructions an input frame (the 16-bit store) against ~270 (resampling) before: ~11 CPU points -> ~1 (estimate, to confirm on the device); CORES 1 ~20 % fewer instructions and no flash table reads. - uac_fir.h (tools/gen_uac_fir.py): the 80 phases stored as each tap's third differences (int16), summed back exactly (UAC_FIR_CHK): 7680 -> 3984 B. - voice.c / console: voices_given_up counts each voice once (one already fading not again) and splits into voices_trimmed (load-budget tails under -50 dB: inaudible, most of the field test's 670 /s), voices_stolen and voices_shed. - Tests: tests/uac_sched_test.c (new; one core and CORES 2): 3 min against a simulated 48 kHz host at +-500 ppm, renders as the heavy song's (~17 late /s, up to 131 %): every IN token finds a packet, sizes 47..49, no underrun / overrun / jump, frames sent = frames resampled exactly, no latency drift; starvation bursts (renders 150..190 %, halves lost): underruns repeated and all made up; IRQs off 4 ms: ~3 empty frames each, recovered. LEGACY=1 shows the 0.8.8 order: ~245 underruns /s, 12.4 % of the music missing at ~43 late /s (the field test's figures). uac_test: the RAM table exactly the generator's, bit for bit 0.8.8's resampler (10 s at +-2x full scale), THD / aliasing spurs < -98.9 dB (1 k .. 22 kHz). audio_test: the ack before the render, audio_lost. - Image 568320 -> 565384 B (-2936 B); RAM code +328 B (22440 of 24576), pool +16 KiB (36 KiB spare). Goldens, CPU baselines unchanged; target budget: uac_tap48 -> uac_rs_run (static 558: the unrolled body). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
c91b909754 |
0.8.9: FELUCCA_VERSION v0.8.9; manuals (DISPLAY > SKIN, the layers' keyboard), README, cheat sheets
- MANUAL.md / MANUAL.es.md: "Skins: COLORS, BOTTOM, HUD" under the screen, the SKIN row of MENU > DISPLAY, ROWS 5-7, the held layers' MAP / KNOBS / STATE as drawn now, the 0.6 heat colours. - README: the v0.8.9 section, the skin in "Reading the screen", the status line. - Cheat sheets regenerated (tools/gen_cheatsheets.py, tools/render_cheatsheets.mjs): the version, MENU's skins. - Image 568320 -> 572288 B (+3968; 9276 B of the 581564 B slot free); .data + .bss 88976 B as 0.8.8; the pool +4852 B (the 240 x 150 canvas), 47232 B spare. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
aee21a0b44 |
0.8.9: the held layers as the LENTE mock-up's CAPAS, in the skins (no more Felucca's cells)
- MAP is the keyboard itself, F3 .. G5: 16 white keys and 11 black, each named upright by what it does in the layer
(gfx.c cv_text_up: the 5 x 7 face a quarter turned), none an empty key; a key that can be pressed light (white) or
THEME-tinted (black), the value now THEME, held the accent, a muted track KEY, unavailable its name DIM; each white
key's note under it. Every layer's names from one place (ui_layer.c ly_keyname: FX's effects, mutes and TRK
ALL / SYN / DRM; GLO's solos, UNMUTE TAP UNDO FREEZE, mutes and drum groups; SCL every note, the root lit, the scale's
plain, the rest dim; EDIT INIT / RECALL and the kit's sounds; SEQ's tools and lanes; REC CLEAR / CLICK; SAVE PLAY,
STORE, LOOP / SONG, SONG REC, ARRANGE; LFO DICE / CLEAR), the states as the old cells had them.
- KNOBS: the four as gauges in their knobs' colours (r 25), the layer's key words under them ("PLAY RESTART . GLO
DONE"). STATE: "GLO . HELD" and what is on as chips, two a row (COLORS rounded, BOTTOM / HUD bare; on: a THEME
stripe): FX the lock, tracks, latch, effects; GLO the tracks, drum groups, UNDO, MUTATE; LFO the latch and each
macro's routes; REC, SAVE theirs; SCL EDIT SEQ the knobs, the track's engine and sound, the kit's sounds.
- The panel COLORS rounded, BOTTOM / HUD none (the knob row at the foot as everywhere). The old map's cells and its
helpers (lcell, lc_box, the per-layer maps, ui_graph.c engine_sound_row) are gone: the image is 944 B smaller than
with them. Every key, knob, button and combo does what it did (layer_key etc. untouched).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
|
||
|
|
08eed2a6ac |
0.8.9: MENU > DISPLAY > SKIN: COLORS, BOTTOM, HUD (the approved mock-up's options 1, 3 and 4)
- SKIN in MENU > DISPLAY after COLOR (COLORS by default; ui_skin, engine 15 byte 20 of the settings: older settings and unknown values load as COLORS; the editor's MENU id 21; DISPLAY now seven rows, the menu's TAB rows 17 apart, its MENU tiles 72 / 64 tall, ROWS 5-7). ux.skin follows it (style_apply); BOTTOM and HUD make SURF the background. - Palettes (tools/gen_ui_palettes.py): four knob colours each (KNOBS: the mock-up's for JIANT PAPER GREEN AMBER ICE, the rest in its spirit; GREY grey, MONO white; 4.5:1 on BG and SURF, 4:1 on RAISE checked), gfx.c T_K(c); JIANT's SURF the mock-up's near-black (10, 9, 14) and its RAISE 4 % (the 0.6 cards, #131218); its boxes rounded like the others (the black-SURF square case gone). JIANT's heat ramp the 0.6's (indigo violet red orange amber cream white). - Values and the header's BPM in a rounded sans again, as 0.6 (the mock-up's "Sans 0.6"): face M is Inter Tight SemiBold 15 px (assets/fonts, already credited), was Chakra Petch; labels, tabs, breadcrumb keep the 5 x 7 face. - The header (every skin, the mock-up's): the selected track's number in an ACCENT box, a THEME triangle playing, the BPM in M; HUD: no rule. The breadcrumb: the lens DIM, the level THEME, the set TEXT, the count TEXT. - COLORS: rounded tabs (THEME / RAISE), rounded RAISE cards with a 7 x 7 mark before the label where the label has one (CUT RES ATK REL WAVE DETUNE MIX NOISE STEP NOTE TYPE ACCENT SIZE DEPTH and kin), the label TEXT, the value and a 3 px rounded gauge in the knob's colour, the knob turned framed in it; the panel rounded. - BOTTOM: the tabs three words (the level's THEME with a pill), the panel the screen's width with no box (42..189; HOME's beings 240 x 148), the knobs a slim row over the breadcrumb (191..223: mark and label MID, the value in its colour, a hairline gauge); LINE draws its rules over and under the panel. - HUD: as BOTTOM; on HOME (ECO) the beings' water is the whole screen: every strip (header, tabs, the middle, the four cards 60 px each, the breadcrumb) is drawn each frame on the beings under it (ui_lzhome.c eco_draw / eco_backdrop: a being off the strip skipped; the numbers only in the middle), its words with a 1 px BG outline (gfx.c cv_halo), the level's word underlined; the knob row fades to 22 % 3 s after the last knob turn (ui.knob_ms) and is whole again at a turn. LOAD LITE / ECO pace the whole HUD frame as the panel's. - MENU > LARGE: COLORS' layout (the tall cards on top) in every skin, with the skin's tabs and colours. - Panels after the mock-up: EDIT > SOUND (the being larger, the scope a tile, the page's four parameters as chips in their knobs' colours, "2/2 CUT RES DRIVE" under them); FX > BUSES's tiles (lz_tile: COLORS rounded cards, the module framed THEME; BOTTOM / HUD bare, the module underlined); SEQ's bar cells and roll (BOTTOM / HUD: bare cells over a line, the beats only; the cursor framed TEXT); PUNCH's empty steps ticks; the dialogs (NOTICE, DICE) in the skin's tabs, cards and buttons; header messages in plain 5 x 7 words (the keycap gone). - CV_MAX 240 x 150 (HUD's middle). The new statics in the pool section, so the audio's data and code are where they were (target budgets identical to 0.8.8's). - Tests: ui_test SKIN (default, menu steps, saved / older / unknown, geometry, HUD's beings over the screen, the fade, every lens page in each skin); the menu, header, roll, editor and theme tests updated for SKIN, the box and Inter Tight; ui_render: every screen in BOTTOM and HUD (FLAT, LINE, LARGE, every palette) linted, their PNGs (JIANT PAPER GREY MONO), the draw cost per skin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
01557dc75e |
0.8.8: HOME's beings roam free again, as before (no ring), DRUM-X's beings move again
- HOME > ECO is 0.8.4's HOME again (graph_ecosys's life, moved into ui_lzhome.c as eco_step / graph_eco): the six beings swim free over the whole lens panel by themselves (the same wander, speed, walls, the hit's kick up to ~7 x, the swelling up to ~2.2 x, the same start places), not locked in a 3 x 2 grid's cells at a third of the pace; the selected one larger (17 px vs 12) with its number in the theme's colour, as before 0.8.5: no THEME ring, no "T1 ANALOG" names, the numbers following their beings again; the MUTATE dots round them, the cytoplasm's granules behind them. The floor is the panel's (140 - 18: 0.8.4 kept 104 of 122). The critters stay, drawn to the free beings; the lens chrome (header, ECO / BEING / GEN tabs, cards, breadcrumb), MACROS, BEING, ROUTES and GEN as 0.8.7. - DRUM-X > KIT 3: the colony's panel is redrawn every frame as KIT's and KIT 2's (its signature had no frame since 0.6.58, so its beings stood still between value changes, also in 0.8.4 / 0.8.6). - Draw (host, callgrind, draw_graph while the song plays, a frame): HOME 1.08 M Ir (0.8.6) / 1.15 M (0.8.7) / 1.16 M now; KIT 3 1.27 M (= KIT's). Image 567968 -> 568320 B (+352; 13244 B of the slot free). Goldens, CPU baselines, ui_test unchanged; ui_render 0 lint findings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
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
|
||
|
|
99acde073e |
0.8.5: SELECT zooms every lens: the manuals' SELECT and ALGORITHM rows, the cheat sheets rendered; a test that every page is in a lens
- MANUAL (EN / ES): SELECT alone zooms the lens you are in, every part's levels named; ALGORITHM with a layer held its MAP . KNOBS . STATE; the navigation bullet (until 0.8.4 SELECT scrolled the section's pages). - Cheat sheets (tools/gen_cheatsheets.py, rendered with tools/render_cheatsheets.mjs): SELECT, ALGORITHM and every button's lens. - ui_test: test_lz_reach, every page an engine shows in EDIT, ENV, LFO . MOD, SCL . ARP and GLO is in one of its lens's levels (so SELECT and the buttons reach it), for every engine. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
ee903a06e5 |
0.8.5: FX live graphs: the echoes' pulse, the reverb tail's sweep, the chorus running, the slicer's step, MASTER's meter, PUNCH's playhead, DIST's level, AUTO PAN's swing
- ui_lzfx.c: while the song plays or the output is above silence (fxg_en: bg_energy), the pictures move with it: the delay's echoes swell with the level and a pulse runs along them (lighting the echo it passes), the reverb's tail swells and a line sweeps it, the chorus lines run at RATE, PUNCH's playhead (pfx_lane_pos) walks the lane, DIST's level is a dot on its transfer curve, AUTO PAN's dot swings at RATE; the slicer's step and MASTER's meter as before. Still when stopped and silent. - ui_graph.c graph_signature: an FX lens page redraws every other frame while it sounds (as the pages with a live picture do); nothing of the audio path. - ui_test: test_fx_live (DLY, REVERB, CHORUS, AUTO PAN move while playing; DLY holds still stopped and silent). ui_render: the draw-cost table times the lenses' panels too (DLY's: 48.8 us redrawn, 24.7 us a frame on average). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
cc939b4f32 |
0.8.5: no icons left (the mock-up has none): the header's marks drawn, LARGE's motion a dot; the icon font out of the image, 11.7 KB back
- The last cv_icon_* calls replaced: NO FILE's mark "!" in the accent, BPM LOCK's lock and the song disc drawn with a
few rects, MENU > LARGE's card icon (only MOTION's kept, as a dot), the calibration title, the stars ("*"), the
song list's loop and play marks (text). The tracks' cushions call cv_trk directly.
- icons.c: FELUCCA_ICONS 0 by default (the parameter icon table and names out; 1 brings them back, unused). With no
caller the Fukiai cells (AI12/16/24) and their decoder drop out of the link.
- panel_alert (unused since the mock skin) deleted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
|
||
|
|
d4add063de |
0.8.5: the dialogs as the mock-up: NOTICE (a card, OCT- NO / OCT+ YES), DICE (BEFORE / NOW over a KEEP DICED strip), the toast, NAME (its cards and keys)
- ui_draw.c draw_confirm: the dialogs' tabs NOTICE . DICE . NAME under the header, the breadcrumb at the foot. NOTICE: a RAISE card under a THEME rule, "?" in the accent, the question and its detail, two buttons (OCT - NO, OCT + YES in the accent, underlined); no warning icon, no keycaps. - DICE (KEEP DICED SOUND / KIT / SEQ / LFO / FX?): BEFORE and NOW side by side (ui_input.c dice_panel: the sound's being from its HOME knobs as it was at the first dice and as it is, the first 16 steps' notes, the LFO's or the effects' first four values) over a strip with the question, SELECT: DICE AGAIN, OCT- CANCEL, OCT+ OK. SELECT still re-rolls. - NOTICE . TOAST: a message on a lens page (not HOME, not a layer) is also a box in its panel, the panel holding it alone while it lasts. - ui_name.c NAME: the tabs (NAME lit), the cards CURSOR CHAR LEN OCT+ SAVE / WRITE, the panel (the 12 cells, the hint, the white keys' letters, the black keys' functions; "<" ">" for the arrows), the breadcrumb (OCT- CANCEL). - ui_test: test_lz_dialogs. ui_render: dlg_dice_sound, dlg_dice_seq, dlg_dice_fx. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
9b1c5fc15f |
0.8.5: the held layers as lenses, as the mock-up: MAP (the keys' cells, no icons), KNOBS (the cards as gauges), STATE (the hints, what is on)
- ui.c, ui_layer.c: a held layer is a lens (LZ_LAYER, ui.lylv): the level tabs under its header, its four cards, the panel 140 px under them, the breadcrumb "LENTE . MAP . FX" at the foot. ALGORITHM while the button is held goes MAP <-> KNOBS <-> STATE (no wrap, remembered; it was dropped there): SELECT stays the layers' combos (GLO + SELECT the tempo, the dice), as the brief asked. - MAP: the maps as before without the Fukiai icons (a cell its note and its name; the tracks' cushions stay). KNOBS: the four cards as gauges (lz_arc), their labels and values. STATE: the key hints that were the footer's, and what is on (FX: the effects held; the others: their four values). - ui_test: test_lz_layer; the SAVE-lens and LARGE tests know a layer is its own lens. ui_render: ly_fx_knobs, ly_fx_state, ly_glo_state. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |