Juan: "Lo implementaría solo en math" (formulas of his own, not only the
factory ones).
MATH USER (firmware/src/math_user.c, new):
- The machine is JIANT BYTE's (its fvm.c, GPL-3.0, Juan's): the instructions
BYTE's compiler makes from a text, serialized, with BYTE's operator numbers
(FO_*) and meaning (FVM_OPS2 / FVM_OPS1, copied), run a sample at a time
(BYTE runs each instruction over a block). Every stateless instruction:
- INT (bytebeat): + - * / % & | ^ << >>, every comparison (unsigned and
signed), && ||, min max;
- FIX (floatbeat, Q16.16): MULF MULIF DIVF DIVFI MODF ITOF FTOI FLOOR;
- NEG NOT LNOT ABS, sin tri saw sqr rnd (both kinds), SAT (clip, cos
compile to these), ?: and the string tables;
- the variables t, w (FLOAT's phase), a (VAR's 1..16), n v (note,
velocity); BYTE's others read 0, as BYTE's own do where its host does
not make them.
Not here (refused when checked): ph() lp() hp() (a state per voice), eu(),
FUNC's calls and func{}. DIVF uses the divider and at most 16 steps (no
64-bit division linked); products through core.h's mul64.
- The bytes: [0] the type (bit 0 FIX) | 2 a table pool follows ([1] its
length 1..32, its bytes); then op | md << 6 each, md 0 the stack, 1 a
number (LEB128), 2 a variable (BYTE's FA_ / FU_ index), 3 t (no byte); TAB
its table as a number. At most 64 bytes (MU_MAX), a stack of 12 (BYTE's
FVM_DEPTH). B16 (65) and F43 (125) don't fit; every other of BYTE's 96
factory texts does (14 .. 63 B).
- Checked when it arrives (mu_check): every op known, its operand whole, the
stack never under 1 nor over 12, one left, a table inside its pool. The
machine itself stays inside its stack (16, indexed & 15) and its bytes
whatever they are (a set half-written while a block reads it); / and % by
0 give 0, shifts & 31.
- One a track (mu_c, 6 x 65 B). Played at ALGO USER: P_E2 stored -4 (-4 ..
-1), before B01 / F01. lofi_byte / lofi_float: case 63 (f = p >> 2,
unsigned) in their jump tables, so MATH's own formulas take no test a
sample (scene 0d's instructions below V10.8.74's).
- BYTE (WAVE 5, 7): the result's low byte, with VAR, MOTION, LOOP, BEND,
GRIT, CHIP, SYNC as MATH's own; a t already read is not read again (t
moves at ~8 kHz at C4).
- FLOAT (WAVE 6): BYTE's fvm_sample (FIX -1 .. 1; INT as bytebeat), w = x << 3,
BYTE's phase in Q16 turns.
- The knob: lofi_desc gives a track that holds a formula (or is at USER)
ALGO -4 .. 191, USER first (N_BYTEU / N_FLOATU: "USER\0" before B01 / F01
in PNE, 10 B); a track without one keeps 0 .. 191 exactly as before, so
DICE, the matrix and MIDI see the same ranges. params.c param_fit keeps
-4 .. 191 for MATH's ALGO when a project / preset / automation is read.
Limits (Juan: "cuidá la CPU"):
- read at most 11025 times a second, at every rate (VH_SH) and hold (GRIT,
4B/2): a bucket of two reads, so a t a little uneven under the cap is read
as it comes; past it the value read last. Below about F4 (t under 11 kHz)
BYTE wave is bit for bit BYTE's machine; above it, held.
- at most 4 voices of formulas of one's own sounding, every track's together
(voice.c mu_cap: a fifth fades the oldest out); the voice admission
(load_admit, measured) stays the backstop.
- one pass over at most 64 bytes a read, no loop but DIVF's 16 steps.
Storage:
- the project: FUNC's 'F' 'U' block after 'O' 'T' (the last: an older firmware
stops before it), each track's length and bytes, when one holds a formula;
checked again when read. proj_mu beside the project, not in it (the pool has
32 B to spare): proj_scratch, the firmware's one project_t, reads and writes it.
A project without the block loads none; CLEAR PROJECT clears them; UNDO and
backups carry them. An older firmware loads ALGO -4 as B01.
- a user preset keeps ALGO USER but not the formula (its 192-byte record has
~12 bytes spare): the track's formula plays.
- a song's sections share the formulas loaded (as VOICE's lyrics).
ALGO 128 .. 191 saved (a bug since p6): MATH's ALGO above 127 (B33 .. B48,
F33 .. F48) made every project save fail with SAVE FORMAT ERROR 4 (proj_pack
refused a value over 127) and a user preset load it as B01 (its byte read
-128 .. -65). proj_pack takes MATH's ALGO to 191; projects and user presets
read -128 .. -65 back as 128 .. 191 (math_user.c mu_algo_in), param_fit keeps
it. Not fixed (separate, older): FLOAT's ALGO B (P_E0) is clamped to CHIP's
0..3 when a project loads (F01 .. F01).
Editor protocol 1.5 (editor.c):
- FORMULA (100): track, op (0 query, 1 set + pack7 of the bytes, 2 clear) ->
track, rc (1: refused, the track's as it was), length, pack7. pack7 is
BACKUP_PUT's groups (ed_unpack7 / ed_bk_pack).
- INFO tag 45 02 64 12 ('E', before 'C'); 'C' 43 02 01 05.
- web/EDITOR_PROTOCOL.md "1.5" (also in the site's, wt-ed formula-work).
- The emulator (web/emu) needs nothing more: web_ed carries FORMULA, so the
editor's preview runs this machine.
The stop-side click (crash screen, UBOOT, update reset), commit 65691824 on
pop-fix, cherry-picked: fm1_audio_stop lowers PC6 first, keeps the DMA 5 ms
more, then stops (out of line); ota_commit stops the audio before its reset;
tests/audio_order_test.py (run_tests.sh). audio.c and the golden renders
unchanged.
Flash (V10.8.74: 96 B free; this work ~2.5 KB: the machine 1.7 KB, FORMULA
~0.35 KB, the project block ~0.3 KB, the ALGO fix and the descs ~0.15 KB, the
stop fix 54 B):
- MATH's 48 floatbeats (lofi_float) built for size: the sines a call each
instead of inlined, half its size, -1682 B.
- a block's control and once-an-event sound functions built for size, none in
HOT_FNS: the kit's sounds (dx_run_fx), the master's TAPE, a track's COMB,
the kit's bus, DRONE CLAY's composer, the punch-in lane's step; a quiet tail
looked for, a punch-in's SLICER let go, a fitted span, a punch-in slot, a
kit step's hit, a note's VEL and HUMAN, a key's MIDI out, MATH USER's cap.
- tools/size_fns.py: math_user.c in SIZE_FILES (its main-loop side).
Image 204 B free (584132 of 584336), BT 36 B free (73692 of 73728), RAM
.data+.bss 184 B free (98120 of 98304: the formulas 390 B, their project copy
390 B, the cores' voices 64 B), pool spare 8224 B, RAM code 40384 of 42496 B.
audio.c is V23's. REPIN=keep; a plain build passes; tools/audio_layout.txt
and audio_map.txt recorded.
CPU (tests/cpu_lines_test.py), each scene's worst block, core 0/core 1,
V10.8.74 -> V10.8.75 (both measured now):
101 78/44 -> 79/44 102 62/28 -> 62/28 103 85/14 -> 85/14
104 51/14 -> 51/14 105 66/42 -> 66/41 106 52/36 -> 52/36
107 63/11 -> 63/11 108 50/29 -> 51/29 0c 70/57 -> 69/58
0d 71/51 -> 71/52 0e -- -> 85/61
Instructions identical in 101 .. 108 and 0c; 0d's lower (135.5k / 160.4k ->
135.2k / 160.2k a block). The lines move by a few with the flash layout
(+-1 point, as before). New scenes: 0d the CPU TEST's song with its three
synths MATH (BYTEBEAT B02, MATH KEYS F28, MATH PAD F12: factory formulas,
what V10.8.74 runs too); 0e the same with the first two MATH USER (B03's
bytecode on BYTE, 37 B; F20's floatbeat in FIX on FLOAT, 63 B, the longest
of BYTE's factory ones that fit), their chords capped at four voices: +14 /
+9 points over 0d, opt-in.
Tests:
- tests/math_user_test.c (new, in the workflow and run_tests.sh):
- BYTE: the 135 formulas of tests/math_user_gold.h (BYTE's own
fvm_compile and fvm_run on BYTE's 96 factory texts and formulas of every
operator: tools/math_user_gold.c, built in a BYTE checkout, and
tools/math_user_gold.py) give BYTE's values, 3 x 4160 each; the two over
64 bytes refused;
- factory: MATH's own 47 bytebeats as bytecode give lofi_byte's values,
every a, 2^17 + random t;
- DIVF and MULF against 64-bit arithmetic, 2M random operands; BYTE's
operator numbers;
- check: lp ph eu, a push without a value, the stack under 1 / over 12 / two
left, a number cut short or of six bytes, a header bit, a table out of its
pool, 0 and 65 bytes refused; a refused set leaves the track's;
- fuzz: 400000 random and mutated inputs, checked and run, and 400000 run
unchecked (any length byte): no crash under ASan, 0.2 s;
- voice: B01's bytecode at ALGO USER renders B01 bit for bit at C4; the cap
holds at C7; FLOAT plays it; nine USER notes on three tracks: four sound;
- storage: a project with two formulas, ALGO USER and ALGO 150 packs,
loads, restores byte for byte; 'F' 'U' the last block; one without it
loads none; user presets keep ALGO 150 and USER; the knob: USER only
where a formula is.
- app_contract: INFO's 'E' 64 12 before 'C'; FORMULA's query, a set (pack7)
read back, a malformed one refused (rc 1, the track's kept), no reply for
track 9, a clear.
- project, descdump (identical to V10.8.74's), audio_order pass; editor_test
fails the same 6 checks as V10.8.74.
- The local workflow: steps 2 .. 29 pass, the emulator job included (emsdk
6.0.11: the wasm built, native-check, gen-web, resound-web, emu_test).
- The site's editor (wt-ed formula-work, not here): its FVM port of BYTE's
compiler gives BYTE's bytes for all 135, its math_test and
editor_browser_test pass against this commit's wasm (a formula sent to
track 4 with FORMULA, ALGO -4, read back).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Juan: "Habría que implementar el OTT en el generador para los géneros más
electrónicos".
GEN (gen.c gen_ott, after the mix and the FX; RESOUND too):
- GOTT, a genre each, the drums and the bass at DEPTH 40 .. 60:
- 40: HOUSE, DEEP HOUSE, MINIMAL (its sub alone, 1 dB up);
- 44: TECH HOUSE, TRIBAL (drums only), REGGAETON, IDM GLITCH (drums
only), TECHNO ROCK (its synth 80s);
- 48 .. 54: DRUM & BASS, ELECTRO, BREAKBEAT, DEMBOW, ELECTRO METAL,
HIP HOP's trap, drill and pluggnb, HARD TECHNO, EBM, BAILE FUNK;
- 60: HARD BASS, PHONK, DUBSTEP.
MOOD DANCE adds 4.
- In most of them, one seed in two, the lead goes hard at 60 .. 78. When
the lead is a riff already up front (GAIN 6), the texture takes it.
Pads never. Three tracks at most.
- Per role TIME, UP/DN and X-OVER: the drums TIME 44 and a little less
upward, the bass X-OVER 26 (its sub whole), the lead X-OVER 55.
- None on the acoustic and organic genres (cumbia, jazz, neo classic,
dream pop, shoegaze, kraut, metalcore, IDM ambient and weird), on
HIP HOP's boom bap and lofi, on TECHNO ROCK's rock, on EXPLORE, nor
at MOOD CALM.
- Each OTT track's LEVEL comes down by the depth squared (gen_peak:
every piece under -1 dBFS with the trims as they were). No draw from
the piece's random streams: every other choice is as it was, and the
seed is still deterministic.
- RESOUND sets the genre's OTT, or clears it, on the tracks it gives
sounds. A track RESOUND does not touch keeps its OTT.
- Not per section: the sections do not store OTT.
FX > OTT, a much more extreme law (Juan via the coordinator; this
replaces the alignment to BYTE d9feaf71; BYTE v1.1b5 has no commit yet):
- Up at 0.97 dB a dB toward -18 dBFS, at most +36 dB, faded out under
-66 dBFS (a -46 dBFS band gets +27 dB).
- 20:1 over -22 dBFS, at most -36 dB.
- Both bands driven together into dsp.c's soft clip, +9 dB at the full
weight: dense and saturated, never a hard clip, never past -0.3 dBFS.
- DEPTH squared to 70, then a cubic to 100 (weight 30: 0.09, 60: 0.36,
70: 0.49, 80: 0.85, 90: 0.98).
- TIME 48 by default (~32 ms back, 1 ms up), so it pumps with the kick.
- Each block's band peaks are read first, so a hit after quiet is not
boosted by the quiet's gain, and a gain going down takes effect at
once. Still a gain per block, then the ramp.
- DEPTH 0 is still not run (bit-exact). Under the overload guard, half
the weight.
- ott_test: at DEPTH 100 a -46 dBFS sine comes out at -10.0 dBFS and a
-6 dBFS sine at -7.7 dBFS (from the rms), 2.3 dB apart.
- Stored TIME is kept less its default: a V10.8.71 file's TIME comes out
24 lower (its default 72 loads as the new default 48).
DIST TYPE gets JIANT BYTE's formula effects (origin/main DIST_EQ; on
BYTE's formula machine there, fixed code here):
- 6 RING, 7 STEPS, 8 XOR, 9 WOB, 10 SFOLD, 11 SAT. They are cases of
the shaper (dist_shape, in RAM); deq_k gives each block's constant.
- They use BYTE's input scale, TONE stage and blend; there is no low cut
and no make-up. NOISE moves the input as BYTE's does, at FM's NOISE
depth.
- SOFT .. AMP keep 0 .. 5, and old projects sound the same.
- Within 1.5 % of the formulas in floating point (dist_eq_test). The
output is a quarter inside so the TONE poles fit in 32 bits (BYTE's
can wrap).
- BYTE's GATE, LPF, LFO.F, HPF and RND are left out: the flash.
- The SENDS have no drive of their own in FM (SENDS' DIST is the track's
DIST), so there is no separate send SAT / SFOLD.
HOME > VISUAL: every frame the UI paces is drawn. V10.8.67 left out
every other or third frame by the animation's ticks, unevenly (3 to 7
drawn a second, gaps of 150 .. 400 ms). Now each frame draws less:
- past 65 % load, the first picture alone and 300 points (copies as the
budget holds them); past 80 %, 150 points;
- the animation frozen: the picture is kept and not drawn again (it was
never drawn at FREEZE);
- ui.force is cleared after a VISUAL frame (it was left set).
Host (tests/vis_cadence_test.c), frames a second and work a second,
V10.8.71 -> V10.8.72:
- idle: 66 -> 66;
- 69 % now / 66 % average: 6.7 (gaps 150 ms), 0.6 ms -> 20 (50 ms), 0.4 ms;
- 82 % / 50 %: 6.8 (350 ms), 0.7 ms -> 20 (50 ms), 0.4 ms;
- 82 % / 79 %: 3.3 (400 ms), 0.3 ms -> 10 (100 ms), 0.2 ms.
Off the page nothing of it runs.
MOOD CALM's rows checked: V10.8.68's message said "longer sections,
slower RADIO", but its code is BYTE 09ec6b57's, where Juan asked "CALM's
pieces too long". CALM -50 rows: HOUSE x 12, PARTS 356 bars against
MID's 624, SONG 490 against 1140; the radio loops 9 bars against 17.
Left as it is; gen_entry_test pins the direction.
Flash (V10.8.71: 176 B free; this work ~2.7 KB):
- more enum lists packed in PNE (str_nth): FM6's ALG and SLOT, MATH's
BYTE and FLOAT, VOICE's LYRIC LANG THEME LOOP, ARP MODE, SCALE,
ENGINE, KEY MAP, EXT's MODE, STRING's EXCITE, WHEEL's PERC. name_of
reads packed lists; descdump is identical but for DIST TYPE.
- BTAPP_FN / UH_SEG functions are now seen by size_fns.py; 13 per-key,
per-step and per-half-buffer sound functions built for size.
- the shaper's soft clip one copy in RAM (dist_sclip, bit-exact).
Image 12 B free, BT 36 B free, RAM .data+.bss 1048 B free, pool spare
8224 B, RAM code 40384 of 42496 B (headroom 2112). audio.c is V23's.
REPIN=keep; a plain build passes.
CPU (tests/cpu_lines_test.py), each scene's worst block, core 0/core 1,
V10.8.71 -> V10.8.72:
101 79/44 -> 78/44 102 62/28 -> 62/28 103 81/14 -> 85/14 (TRIBAL: OTT drums)
104 46/14 -> 50/14 (BREAKBEAT: drums, bass) 105 66/41 -> 66/41
106 53/36 -> 52/36 107 58/11 -> 62/11 (HARD BASS: drums, bass)
108 51/29 -> 51/29 0c 70/58 -> 70/58
The GEN scenes with OTT pay ~4 % on core 0, mostly ott_block's flash
lines (the first OTT track). DIST at 127 on all six tracks of 101: SOFT
81/46, WOB 81/46, SAT 82/47, RING 84/46 (CL_DTYPE).
gen_peak: 270 pieces, 0 over -1 dBFS (loudest stem -2.5, mix -1.1).
gen_test's mix pass and the rest hold.
Tests:
- ott_test: the law, the curve, GEN's OTT, RESOUND;
- tests/dist_eq_test.c and tests/vis_cadence_test.c are new, in CI;
- app_contract: DIST TYPE's DESC;
- gen_entry: MID recorded again, CALM's direction;
- cpu_lines_test.c: CL_DTYPE;
- the local workflow: all 23 steps pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Juan approved the port. BYTE 43923fd4 (Juan's GPL code), on FM's tracks,
FX chain, UI, project and preset formats and editor protocol:
- fx.c ott_block, after DIST in mix_part: a one-pole split at X-OVER,
each band's block peak followed in log2 at TIME, the gains computed
once a block and ramped across the next. DEPTH 0: not called, the
track bit for bit. Under the overload guard (voice.c) half the depth;
past 90 % average load none. The sound is never cut.
- The gain law is BYTE v1.1b4's, from the spec (Juan: "at 100 it barely
changes the sound"): up to +28 dB upward below -12 dBFS, about 10:1
downward above -15 dBFS, DEPTH squared, TIME 72 by default (attack
~1.5 ms, release ~40 ms), an 8:1 limiter over -3 dBFS. A -40 dBFS
sine comes out at -13.5 dBFS, a -6 dBFS one at -10.1.
- FX > TRACK's fourth page OTT: DEPTH TIME UP/DN X-OVER (page ids
0xB0..0xB3: BYTE's 0xD0 is DRONE CLAY's here). Its name large
(page_big), LOW and HIGH: the level in dim grey cells (gx_col), the
gain on the thermal ramp by its amount, with its dB. HOME's ECO tags
a track with OTT on, in the same thermal colour.
- Kept with a project ('O' 'T' after 'G' 'T') and a user preset (byte
138 'O', the four before it). Each value is stored less its default,
so TIME, UP/DN and X-OVER are kept at DEPTH 0 too (BYTE's pending
fix). Older files load with OTT off.
- Editor protocol 1.4: special ids P_COUNT + 0..3 (123..126) for OTT
through TRACK_PARAM (31) and DESC; UI caps bit 4. BYTE's 0xD0..0xD3
are not 7-bit bytes, and 0x50..0x53 are FM parameters. GET / SET,
DUMP and the pushes are unchanged.
- GLO's map names A4 RESOUND, as G4 UNDO.
Flash (V10.8.70: 228 B free; OTT costs ~1.9 KB):
- str_cat and fmt_cat: one helper for the UI's 143 appends and 32
number appends (-680 B image, -64 B BT);
- project.c: one writer and one reader for the array blocks
(proj_blk, proj_at, proj_get: -500 B);
- more name tables packed with str_nth; the three note-name tables
are one list;
- fam_on, home_is, ui_timers: one helper each;
- DRONE CLAY's main-loop side built for size; a note's start, a
FILL, a CLAY strike and other once-an-event sound functions
built for size (size_fns.py event_size).
Image 176 B free, BT 88 B free, RAM .data+.bss 1072 B free, pool spare
8224 B, RAM code 40200 of 42496 B. audio.c is V23's; the V23 renders
are present. REPIN=keep; a plain build passes.
CPU (tests/cpu_lines_test.py), each scene's worst block on core 0 and
core 1, V10.8.70 -> V10.8.71 OTT off -> every track at DEPTH 100:
101 78/44 -> 79/44 -> 83/47 102 61/28 -> 62/28 -> 66/31
103 80/14 -> 81/14 -> 84/14 104 46/14 -> 46/14 -> 49/14
105 65/41 -> 66/41 -> 69/44 106 52/35 -> 53/36 -> 56/39
107 58/11 -> 58/11 -> 62/11 108 51/29 -> 51/29 -> 55/32
0c 70/58 -> 70/58 -> 74/62
With OTT off the sound's code sits up to 28 B off its old 32-byte
lines (the layout moved). The same build without the per-event minsize
measures the same.
tests/ott_test.c (in CI), cpu_lines_test.c CL_OTT, app_contract (the
special ids), ui_test (the FX chain of 20, GLO's RESOUND).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
(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
(a user: "I love the MATH BYTEBEAT's sound and the kinda arp on it, but the bpm is not the same from a note to another";
the owner: "SYNC, ¿no es más claro?")
- eng_lofi.c: WAVE SYNC (stored 7, after BYTE 5 and FLOAT 6): BYTE with its slow bits (te's bits 8 and up: the rhythm,
the arp's steps) from the song's clock (lofi_sync, as MOTION's own SYNC, scaled x0.336 so at 120 BPM the rhythm is
C4's today with MOTION 0, its slow time's rounding included), its fast bits (the pitch) the note's: every key the same
pattern in time, only transposed; MOTION 0..127 its speed as before; stopped, the bar free at the BPM. The slow time
not advanced by the note between held samples (one time base). As JIANT BYTE's TIME SYNC (FM has no P_KEY: a new
parameter would move the editor's ids; FIJO not ported).
- A new preset BYTE SYNC (BYTEBEAT with it), appended, browsed after BYTEBEAT; MATH's 18 PROGRAM CHANGE numbers, GEN's
picks (gen.c: the appended one left out of n) and the factory presets as they were (their V23 renders kept).
- WAVE kept a list everywhere it was one: no matrix destination (mod.c, as when it had two values: GEN's routings and
its songs unchanged), the sound dice BYTE or FLOAT (ui_input.c). ui_engvis.c: SYNC drawn as BYTE.
- tests: math_timelock_test (two notes an octave apart at 120 BPM: the same slow time block by block and as many rhythm
steps, two pitches; BYTE: the octave twice as fast), in voice-user-check.yml; golden.txt + preset/MATH/12_BYTE_SYNC
only (every other render as before); ui_test's PROGRAM CHANGE check (BYTE SYNC browser-only); docs/ web/ NRPN.md.
- The lines model as V10.8.61's (101 59/31 %, 102 41/29, 103 78/14, 104 54/31, 105 66/40, 0c 70/58). audio.c as V23's.
Layout recorded again (FELUCCA_REPIN=keep); the plain build passes. Image 580340 of 584336 (3996 B free), RAM code
40180 (unchanged: MATH in the flash).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
(the owner: "si dale" / "pasá todas esas"; "renombrar cada parte y proyecto desde Studio, management de proyectos
desde el celular"; RESOUND: "me gusta la canción pero no los sonidos")
- ANALOG WHEEL PHASE MATH/LOFI STRING's creatures through vx_gx (codex/gx-creatures 37d7a765), closer to their
own: WHEEL's worms out of their tubes waving at their harmonic, crowns of tentacles; ANALOG's isotherms
wobbling, spikes, cilia and the two oscillators orbiting; PHASE's body doubled, its tail curled; MATH's segments
doubled. WEST, VOICE, ANIMAL, FM6 and DRUM-X keep their own (protected pictures untouched).
- Editor protocol, Studio's project library (editor_backup.c ed_pj_handle; app_contract_test, backup_test):
95 PROJ_LIST () -> rc 0, NSONG, NSONG x (n, parts, flags, name[12])
parts: bit k = part A..D stored; flags: 1 the open project, 2 a GEN draft; name: part A's, ASCII
0-padded (the project's name)
96 PROJ_NAME (n, part 0..3, ASCII up to 12) -> n, part, rc (part 0's name is the project's; live, in flash)
97 PROJ_OP (op, from, to, force) -> op, from, to, rc
op 0 COPY, 1 MOVE (not the open project), 2 DELETE (from; to ignored); COPY/MOVE never onto the
open project; an occupied target only with force 1 (Studio: BACKUP_GET it first)
rc: 0 done, 1 refused (bad request, the open project as target or moved, empty part), 2 flash failed
(the target as it was), 3 playing (STOP first), 4 the target holds a project (force 0)
No BACKUP object 72+p: the names travel in PROJ_LIST and in part A's own object (40 + 4n).
- GLO + A4: RESOUND (gen.c gen_rs_prep / gen_rs_apply, the web's web_gen_resound now calls them): new sounds
for every track by its role (GEN's genre, or a seed's near the tempo), the notes, steps and song kept, the next
sections keep them (a player's sound), "RESOUND #seed"; GLO + G4 the sounds back. The GLO map's A4 RESOUND.
- Banners: RESTART (GLO + PLAY playing), a DRUM sound's mute (EDIT + black: "SD MUTED"), LANE (SEQ + black),
REC GRID n% (REC + KNOB 2), PROJECT n / LET GO: OPEN (SAVE + KNOB 1), KNOB 4: DJ FILTER / BPM (MIXER's OCT+),
"A > B NEXT BAR". A lens page's OCT+ gestures in its footer for 1.5 s on entering and while OCT+ is held
(EDIT 1 HOLD: K4 GAIN, FILTER K2 KEY TRK, REVERB / DLY K4 GATE, EUCLID, PRESETS, SCENE, PUNCH IN, TRACK GEN,
ARRANGE, TAKE, SYSTEM).
- tests/ui_render.c builds and runs its scenes again (dk_keep gone in V10.8.21; STEREO's title; pages since gone
drawn where they are).
Layout recorded again (FELUCCA_REPIN=keep); the plain build passes. Image 580784 of 584336 (3552 B free), BT
segment 72680 of 73728 (1048 B free), RAM code 32700 (the calls into the image moved; no RAM code added), pool
spare 8480. audio.c as V23's.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
(the owner: "a song I like but not its sounds: randomize the presets of every sequence of the song playing, mine or
the generator's")
- web_gen_resound(seed): every track with a part a new sound by its role (a bass a bass's, the chords a chord's, the
drums another kit), out of GEN's own picker (gen_sound, gen_kit, gen_mix, gen_fxs, gen_evolve), asked again till
the engine or the preset differs. A GEN draft: its roles and its genre (EXPLORE: EXPLORE's); a project of the
player's: the roles by what each track plays (gls_role), the genre a seed's near the song's tempo. The steps, the
pattern, the arrangement kept; the four stored parts given the same new sounds (their own LEVEL / PAN kept where
they had their own), nothing loaded: the music plays on. One UNDO point (GLO + G4) and web_gen_resound_undo (the
parts and the sounds as they were); web_gen_resound_seed (the last seed).
- ui_layer.c's own RL_N (1) shadows GEN's after it: the web code uses WEB_RL_N.
- tests: web/emu/resound_web_test.c (a GEN song and a player's song: steps kept, sounds new, the parts too, the same
seed the same sounds, UNDO, it sounds, it plays on), its CI step.
The emulator's alone: felucca.fwsc unchanged (1342370a...).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- Projects written before V10.7 (no SLICER block, CP_* components of before
seq2d, retired SAMPLE/PHYS/GRAIN/SLICE engines, the old GM drum part, a
JUMP of before V10.6v no RAMP can mean) are no longer migrated on load:
refused as old, "OLD PROJECT: OPEN IN STUDIO" (LOAD no longer says EMPTY
SLOT for them), the slot in flash never erased or written. +608 B image.
- web/emu: web_proj_load(slot, len) / web_proj_save() for Studio's converter.
- MOD MATRIX AMOUNT -128..127 (-200 .. +198 %, 64 exactly 100 %): stored
compatibly (a parameter byte's 192..255 the negatives; projects, presets,
the macros' routes); old routes load as they were. No sound code changed.
- GEN: a genre's headroom (GTRIM, after LEVEL's top: every part down by the
same), no piece's stem or mix over -1 dBFS before the master (were up to
+13 dBFS); tests/gen_peak.c and its CI step; gen-mix measured before the
master, bounded at V10.8.50's own balance there.
- SEQ: step keys held on the roll, SEL 5-8; SEQ TOOLS' STRETCH / SQUEEZE /
REPEAT on that range once (else the whole track), the steps after it moved
along, locks with their steps, one UNDO point.
- SAVE + D5: PLAY: THE PART.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- web_gen_info(): a static int32_t[9]: RADIO, the genre sounding (-1 an EXPLORE piece), its seed, MOOD -50..50, ENERGY,
FORM (0 LOOP 1 PARTS 2 SONG 3 MY LOOP), pieces made (a throw counted when its signature changes), playing, the genre
asked (-1 EXPLORE, -2 RANDOM, else its index)
- web_gen_genre(i): a genre's name, NULL past the end
- web_gen_cmd(cmd, arg): 0 RADIO off/on, 1 the next piece now (a new seed made at once; playing or RADIO on it plays),
2 GENRE (-1 EXPLORE, -2 RANDOM), 3 MOOD, 4 PLAY / STOP; queued, run when the next block is asked for
- web/emu/gen_web_test.c (native, in the emulator's CI job)
felucca.fwsc 3a72686d... (V10.8.48's, unchanged)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- SEQ > BAR, SEQ > PHRASES and GLO > SYSTEM 2 gone (rows kept: the page index; G_MIDI still read with a project)
- GLO > MIXER: OCT+ turns KNOB 4 between BPM and the DJ FILTER (the card's label)
- SEQ > NOTE back in the chain after STEP; TRANS on SCL > CHORD's KNOB 4
- GAIN (0..12 dB) on every engine: EDIT's first page, OCT+ held + KNOB 4
- KEY TRK NOTE: the LP / HP resonance's peak placed on the note (within 0.1 semitone from 1 kHz up, asserted)
- SWARM: WAVE (a FLOAT formula's cycle on SWARM 2's KNOB 4, its level brought to the sine's, the tables a whole
cycle of one moment), alone it walks FAR .. NEAR, FM audible, wider DRIFT; MODE >T1 .. >T6: its notes play
that track's engine
- tests: ui_test, key_trk_test, prox_cal_test, sw_notes_test (new, in the workflow), sw_study (host study);
golden.txt: the three SWARM presets
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- DUBSTEP: el bajo es el wobble (low-pass resonante con un LFO en corcheas);
el generador ya no lo cambia por un barrido lento.
- KIT: ATTACK se llama SNAP (el click de cada golpe). El SNAP del filtro de
SOUND 3 pasa a SHORT para no repetir el nombre.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
KIT: MORPH ATTACK TONE DECAY. KIT 2: NOISE BODY GLUE GAIN.
SOUND: PITCH DECAY LEVEL. SOUND 2: NOISE COLOR PMOD (HANDS en el CLAP).
SOUND 3: WAVE FILTER P.ENV. SOUND 4: SIDE SEND KEY MAP. CROSS MOD. FILTER.
BODY: resonador del cuerpo afinado a cada sonido (reemplaza al wavefolder).
FEEDBACK (kit y sonido) y el BP del bus quitados del DSP; LAYER y TUNE
fuera del panel, los kits los conservan. Golden de DRUM INDUSTRIAL
actualizado (usaba FOLD).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
KIT, KIT 2 (GAIN 0..+12 dB limpio), BUS, SOUND 1-4, CROSS MOD, FILTER, PLAY.
LEVELS y STEREO fuera: el nivel de cada pista en SOUND, IMAGE en FILTER.
El DRIVE del kit sigue sonando, fuera del panel.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- KEY MAP: BASIC EXTRA KICK SNARE CLAP HH CL HH OP TOM RIM BELL (0..9, the editor's range too); EDIT > PLAY KNOB 4 on a
kit (IMAGE's place: a kit's is STEREO); KIT 4 out of the chain.
- Cut on their cards (every engine's every page swept): GLIDE TYPE -> GL TYPE, RIGHT TIME -> RIGHT, ALL TRACKS -> ALL TRK,
FEEDBACK -> FEEDBK, DRAWBAR -> BARS, SYMMETRY -> SKEW, HH CLOSED / OPEN -> HH CL / OP, punch-in CLR AUTO -> ERASE,
TRACK GEN COMPLEX -> BUSY; the hints say them in full; the editor reads the old names.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- HOME > LIFE (ECO's second page, where MACROS was): KNOB 1 FILTER (a kit's hits close the others' filter, a voice's
open it), 2 TIMBRE (shape; ANALOG its DRIVE), 3 PUMP (a kit's hits duck the synths' level; no kit sounding: the ring's),
4 FX (the reverb and delay sends breathe). Each track moved most by the one before it in the ring of the tracks not
muted, the rest a quarter, from their followers a block late (mod.c life_block, life_mod: matrix offsets, restored
after the part). All 0: nothing runs. Kept with the project ('L' 'F'). ~1 % of the CPU at its fullest (cpu_vg
song/cputest.life); LIFE's own followers scan every 4th sample. The ECO picture draws who moves whom.
- RAMP (step component): its END on KNOB 4 with FROM and CURVE: BACK (as before), HOLD (stays till a stop or the next
launch), PING (back and forth over its LENGTH, never relaunched). Bit 7 of its VALUE (no JUMP of before had it).
- SEQ > STEP FX: OCT- clears every step component of the track (a dialog; the notes stay).
- The matrix's STEP source is MSEQ (as its page).
- tests/life_test.c in CI; ramp_test END; ui_test HOME's seven pages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Keep the original punch-ins, downsampling and held-note protections. Add stopped note audition, large menu rows, WEST migration and attributed Yehnah release-tail ordering. Verify target budgets, legacy audio hashes, recording, UI and native/WebAssembly parity.
Cards (the owner's request): the four knob cards (normal, LARGE's tall cards, the menu's), NOTICE's and DICE's card and
NAME's four lose their RAISE / SURF fill and sit on the background; their shape (rounded r 5 / r 4 tall, square off the
lenses) is a 1 px line in the value's colour (palette, knob, heat, hot / accent), 2 px on the knob just turned (it was
framed); empty cards a LINE outline; labels MID; the gauge as it was, its track LINE. The value's colour is already in
each card's cache key, so the line follows it; the rolling strip redraws the line's sides. ui_draw.c card_line.
AIR retired (MENU > DISPLAY > SKIN gone): COLORS is the one skin. Gone: ux.skin, lz_low, hud_home, hud_fade, the HUD /
AIR knob row, tabs, header halos, eco_backdrop, lz_begin / lz_blit / lz_tile_bg / lz_uline, style_apply, settings_fresh,
cv_keep, the text halo, the LB_ / LA_ geometry. The stored byte (favorites.factory[15][20]) is read and written 0 (COLORS,
as older firmware reads it); the editor's id 21 stays, SKIN with its one value COLORS (as STYLE's FLAT); MENU rows
renumbered (DISPLAY six, 34 rows). eco.top kept (the RAM's layout).
Flash: 5156 B free (was 2072); RAM .data+.bss 97776 as before, pool spare 8256, RAM code 32732 of 34816.
Tests: ui_test's SKIN tests rewritten (retirement, card outlines), AIR passes dropped from ui_render / ramp / theme /
startup / editor tests; lint findings 47 (85 before: all 38 gone were AIR's, none new), ink contrast clean.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- Power-on with the Bluetooth segment missing or another build's: BLUETOOTH PART MISSING, "REINSTALL WITH THE JIANT
WEB INSTALLER: juanjiant-bit.github.io/JIANT", ANY KEY: CONTINUE over the screen (ui.segbox, in the ui struct's
padding), once per power-on; a key or a knob closes it (swallowed as a screen wake's).
- GEN without the segment: the same message between its tabs and its foot instead of HOME's cards left there.
- Editor protocol 1.3: INFO tag 58 01 s right before 'C' (1 this build's, 2 missing / torn / another build's), for
the web installer's check after an install. EDITOR_PROTOCOL.md, the app contract and editor tests.
- Manuals (en/es): the power-on message in troubleshooting.
- ui_test: the host's bt_hw_seg can be told the segment is gone (HOST_SEG_HOOK); the boot message, any key / knob,
GEN without cards.
Flash +224 B (2020 -> 1796 B free), RAM unchanged, RAM code unchanged, segment size unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- mod.c: MS_OCTUP (24), MS_OCTDN (25) appended after T1..T6 ENV (MS_N 26; the ids before kept).
OCT+ = the bend's smoothstep ramp (0..1, eased in and back; OCT BEND OFF: 0), OCT- = the vibrato
(5.5 Hz, depth faded in, bipolar). kx_semi / kx_amt / kx_ph moved here from seq.c (no new RAM);
kx_shape, kx_src, kx_route out of line so the sound's code keeps its place (mod_tsrc +8 B, kx_block
the same size). track_follow_mask only for T1..T6 ENV.
- seq.c kx_block: a track whose slot routes OCT+ (SRC, DEST, AMT set) gets no bend and no MIDI OUT
pitch bend; one routing OCT- no pitch vibrato (CC1 still sent). Recording, OFF, UBOOT, AT unchanged.
- params.c N_MSRC "OCT+", "OCT-"; web editor, EDITOR_PROTOCOL, manuals (EN/ES), cheatsheet.
- tests: expr_keys_test.c (checksum 9d661a90 equal to V10.7.21's sources with no route; OCT+ on CUT
sweeps, eases back, no bend; OCT- on CUT / LEVEL wobbles, pitch still); persistence round-trip.
- tools/audio_layout.txt rebuilt (audio code after mod_tsrc 6-8 B later; new helpers after the last run).
- flash +220 B (582196 -> 582416), RAM +0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
MENU > DISPLAY has no STYLE row: COLOR SKIN SCOPE LARGE ANIM LEDS SCREEN OFF, the
rows after it renumbered in order (35 rows). LINE's drawing is gone: the 1 px
dividers between the strips (draw_rules, lcd_rule, cv_rule), its square corners,
its outlined count-in cells, ux.style and T_RULE.
Settings: the byte STYLE lived in (engine 15's 29) is written 0 on import, so a
saved LINE (or the PIXEL of 1.0.1) loads as FLAT and older firmware reads FLAT;
the record's size and version are unchanged; the byte is not reused.
Editor: MENU_DESC index 1 / id 1 still answers STYLE with FLAT alone and a
MENU_SET of it answers rc 0, FLAT, so every index and id keeps its setting.
Also drops draw_frame's branch for the knob row under the panel (BOTTOM's, dead
since the skins went).
Tests: ui_test (no STYLE row, the row counts, every byte value loads as FLAT,
idempotent), ui_render (one style), theme_test, editor_test. Manuals (EN, ES),
README, EDITOR_PROTOCOL.
Image: 2780 B free (472 B freed).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
MENU > DISPLAY > SKIN offers AIR and COLORS. The stored values stay (0 COLORS,
3 AIR): a saved BOTTOM (1) or HUD (2), or an unknown byte, reads as COLORS on
import and live; the settings record is unchanged, and older firmware reads 0 and 3
as before.
Removed: BOTTOM's layout (the knob row at the foot, its tab pill, its rules, the
menu's panel under the tabs) and HUD's HOME geometry. AIR keeps what it shares with
them (the floating words' outline, the cell blitter of its HOME, the fading row).
Tests: ui_test (the menu's two values, the migration of every byte value, the HUD
checks carried to AIR's HOME), ui_render (COLORS and AIR; AIR's renders in every
palette), editor_test, ramp_test. Manuals (EN, ES), README, cheat sheet text,
EDITOR_PROTOCOL.
Image: 2308 B free (316 B freed).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
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
Firmware image byte-identical to bcb1d20f (felucca.bin, ota.bin, felucca.fwsc, bt.bin: same SHA-256).
- drumx_voice.c: dv_exp2 / dv_kb written anew as dx_pow2 / dx_fall (same integer results for every input,
same machine code); fx.c and tools/audio_layout.txt follow the names. Header: Juan Jiant.
- tools/gen_lyrics.py: the Huffman code lengths by a two-queue construction and canonical codes from the
per-length counts (felucca_lyrics.h identical). Header: Juan Jiant.
- tests/jiant_test_util.h (new): the verdict line, RMS / peak, FFT, Hann power spectrum, peak frequency,
xorshift noise. animal, string_add, voice, delay, drumx, drumx_oct, filter, stems_usb, swarm, uac_sched
and fm6bank tests use it instead of helpers copied from Felucca's tests; their output and demo files are
the same byte for byte. Headers: Juan Jiant.
- song_main.c: the quick chain's bars (quick_bars) and the song's row check (song_unsaved) rewritten; header
Juan Jiant, SLOOP's design credited. song_play.c keeps Felucca's notice and gains Andre Rezemini's (the
SONG REC take follows SLOOP's seq.c; ISR code pinned in flash, left as it is).
- Charles Vestal's notice where his code remains: web/emu/felucca_web.c, worklet.js, index.html (X0X) and
hal/fm1_adc.h (Velo's row drive). LICENSING.md says which files carry which notice.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Comment-only (the built image is byte-identical). 112 files written new for JIANT FM (GEN gen.c / gen_tables.c /
gen_track.c / song_dice.c, fugue.c, sing_ext.c, ui_euclid.c, ui_scene.c, the STEMS and probe Android apps, the video
tools, JIANT's tests and tools, web/emu/stems.js) carried "SPDX-License-Identifier: GPL-3.0-only" and no copyright
line: they now say "Copyright (C) 2026 Juan Ignacio Antonucci (Juan Jiant)". Checked against Felucca's fork base
like the previous commit; tests/fm6_env_compare.c (msfa envelope as ported in fm6_core.c) and web/emu/gen_bench.mjs
(lines of the emulator's test) are left out.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
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
- DRUM-X: noise filter GR (mode filter 3, rejected by older firmware's kit check, so old kits are bit-identical):
a band-pass whose hit is a stroke of ridge ticks at 24..64 Hz (PITCH), held for SCRAPE (PMOD's slot, 0..173 ms)
times the hit's velocity^4 (accent = long "rrrrip", soft = "chk"); on any lane. SOUND 3 MODE 24 -> 32 values,
SOUND's PMOD card reads SCRAPE. The hit's velocity in dx_voice_t's padding (sv).
- Factory kit LATIN PERC (11th DRUM preset): bombo, timbal, llamador, GUIRO (closed hat), maracas, conga, clave, cowbell.
- CUMBIA: kits take LATIN PERC's llamador, guiro (SCRAPE per throw), maracas, conga, clave; sonidera guiro long on the
"e", short on the "and" and on 2's/4's "a"; villera rebuilt as RKT after the owner's reference (kick + clap on every
quarter, guiro X..x with the "a" pulled ~28 ms early via MICRO, conga on the "and"s, bass/keys low).
- REGGAETON: GSP_HEAVY (kit, 808, master driven; romantico clean), 808 gate 70, pad 25 and under, arp 70 (BROKEN,
CYCLE3), hook 30, drier, drums up in GMIX, LATIN PERC conga/clave, a perc pickup on 13.
- BAILE FUNK: claps/hats replaced by tom shots on 3 6 12 (low tom lane, high = llamador on the clap lane) and
cowbells; no chords; 808 archetypes short with rests and an octave glide (BA_TAMBOR, BA_MANDEL, new BA_FUNK3),
gate 55, bass up in GMIX, chops 30, drier.
- Other genres' dumps (12 seeds) and audio identical to V10.7.7; EXPLORE differs only where it draws the BAILE map.
- Flash: image 583440 B (896 B free; was 583992 / 344): net -552 B, from noinline on single-call helpers inlined into
big functions (layer_cards, graph_morph, graph_system, eu_*, gidm_edit, gx_sound, pr_follow, ...).
- Tests: gen_test V10.7.8 checks (guiro long/short, sonidera syncopation, RKT, reggaeton heavy/arps, baile tom shots,
cowbells, no snare/clap/hats/chords, short gliding 808), OCT+ test seeded from a fixed state; drumx_test GR;
ui_test 11 kits, MODE to GR; web editor LATIN PERC. Docs: MANUAL (en/es), TONIC-DRUMX, EDITOR_PROTOCOL.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The three play factory patch F2 (GLASS BELL: carriers R4 35/40/45, L3 0, R3 25). FM6's REL slows the
carriers' R4 by REL x 90 / 127 (fm6_sync), so REL 25 put OP1's R4 at 18 (qrate 11, ~1.7 dB/s): a
released bell rang far longer than a held one (held 1 s: -15 dB; released: -1 dB after 1 s), audible
~10 s, and its voice stayed until the carriers fell under the done threshold: 38-45 s for one note
(regress: 'voices not free 12 s after the note-offs'), an FM6 voice of the 8 kept busy per note.
The 'DC left at the end' was not DC: regress measured the tail's midpoint while those voices still
rang (BELL CLOUD -91 with a 1036 peak); with the voices free the tail is 0 / DC 0.
REL 5: R4 31 -> free 8.3-8.6 s after the regress phrase, 9.9-10 s after a short note at 127; -20 dB
at 1.2-1.3 s (was 2.4-5.6 s). REL changes only R4, so the sound while held is bit for bit the same.
Web editor mock synced. fm6_test 9: every factory preset's note is free within 12 s; the three held
as at their V10.6i REL, bit for bit. 0 B.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- descdump: SHOWN capped lists at 64 names, G_DTIME has 67 (the dotted times):
a trailing comma, desc.json was not JSON and test_web.mjs threw. Names are now
indexed by value as param_format / ED_DESC do (MATH WAVE read "-", "-").
- run_tests.sh builds descdump with FM4_CONVERT=1, the DIGITAL conversion the
editor mirrors (the firmware itself retired it in V10.6s).
- editor.html: divLength knows the dotted 1/4D 1/8D 1/16D, so the real editor
lists DLY TIME in the device's knob order; the mock: matrix SRC/DST names,
GATE 100 %, TIME's dotted values, EXT engine, R TIME (G_COUNT 73), the
levelled presets' sustains, FM6 factory patches, ENGINE_ORDER ADD and EXT.
- test_web.mjs: G_COUNT 73, the matrix's 24 sources / 32 destinations.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh