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: "¿Se puede llevar el OTT más al extremo? Quiero que me permita hacer
bajos y sonidos ultra comprimidos y saturados tipo dubstep."
FX > OTT (fx.c ott_block), DEPTH alone (DEPTH, TIME, UP/DN and X-OVER are
all taken):
- DEPTH 0 .. 80 exactly as V10.8.72, every sample. GEN uses at most 78, so
its pieces render as they did.
- DEPTH 85 .. 100 the extreme zone, a smoothstep from 80 (ex: 85 0.16,
90 0.5, 95 0.84, 100 1):
- both thresholds up to 9 dB higher at 100 (up toward -9 dBFS, down over
-13). They move together so the law keeps its shape: widening the two
apart (up higher, down lower) was tried and inverts a wobble's dynamics
(its quiet half came out 4 dB over its loud half);
- the drive into dsp.c's soft clip up to +18 dB (V10.8.72: +9);
- the half under 0 driven 3 dB less: asymmetric, even harmonics, a growl
rather than a fizz (a fold was not used: on a bass it fizzes). A fourth
gain (ott_t g[3], in the struct's padding: no RAM) ramps like the drive
and equals it to DEPTH 80;
- the release a quarter of TIME faster (TIME 48 reads as 36).
- Still never past -0.3 dBFS: the soft clip's ceiling is 31597 << 2 of
2^17. The drive's top (2 x OT_DRV) on the clamp's 262143 stays inside
32 bits (2.13e9). Never a hard clip.
- The overload guard halves the extreme zone along with the weight.
ott_test 11 (new): a 55 Hz bass, its level wobbling 2 Hz between full and a
quarter, at TIME 48 and X-OVER 26 (GEN's bass). Crest dB / THD % / peak dBFS:
sine DEPTH 0 6.4 / 0.0 / -6.03
DEPTH 60 5.5 / 1.3 / -7.41
DEPTH 80 4.8 / 4.0 / -7.59
DEPTH 90 4.1 / 6.2 / -0.67
DEPTH 100 1.1 / 23.7 / -0.32
saw DEPTH 80 6.7 dB crest, harmonics 2 .. 40 at 35.7 % of the
fundamental
DEPTH 100 1.2 dB, 31.0 % (the saturation squares the saw, and the
pulled-up low band weighs more against the fundamental)
- DEPTH 1 .. 80: a hash of ott_block's output (TIME, UP/DN and X-OVER
moving, a wobble and noise bursts) equals V10.8.72's build (0x4e930819).
- The drive's top within 32 bits, the negative side's lower; to 80 both
equal.
- Section 1's DEPTH 100 bounds are the new ones: a quiet band +41 dB, a loud
one held at the ceiling, the drive alone +16.7 dB.
- DEPTH 0 bit-exact and the rest as before.
GEN unchanged: gen_test, gen_entry (MID byte for byte) and gen_peak (270
pieces, 0 over -1 dBFS, loudest stem -2.5, mix -1.1) give logs identical to
V10.8.72's. A WEST FOLD BASS riff rendered at OTT 80 is byte-identical in
both builds.
WAVE (JIANT BYTE 87f9122 / ba68749): FM has no WAVE engine (no formula
frames drawn in the main loop, no fvm compiler), so it has no such click.
BYTE 32428a5d itself is DIST's formula TONE stage in 32 bits, which
V10.8.72 already does here. Nothing to port.
Flash (V10.8.72: 12 B free; this work ~150 B):
- 12 more once-an-event sound functions built for size: WEST's and SWARM's
note, JAM's next sequence, CLAY's key, SCENE's follower, an automation's
id, the FX fault, a MIDI message queued, a fitted step, a step's lanes,
the ratchets.
- PHASE's WAVE / WAVE2 and ANALOG's WAVE names packed in PNE (str_nth).
Image 84 B free, BT 36 B free (73692 of 73728), RAM .data+.bss 1048 B free,
pool spare 8224 B, RAM code 40384 of 42496 B. 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.72 -> V10.8.73:
101 78/44 -> 78/44 102 62/28 -> 62/28 103 85/14 -> 86/14
104 50/14 -> 51/14 105 66/41 -> 66/41 106 52/36 -> 52/36
107 62/11 -> 63/11 108 51/29 -> 51/29 0c 70/58 -> 70/58
0c, T2 (FM6, sounding) at OTT 100 (CL_OTTB, new): 76/55 -> 76/56
0c, every track at OTT 100 (CL_OTT, the worst case): 75/64 -> 80/64.
The total is +1.8 k instructions a block (+0.35 % of a block), but
mc_split moved a track to core 0 in the model.
The GEN scenes' +1 is the OTT tracks' per-sample select.
The A/B: a dubstep riff (WEST FOLD BASS, FOLD and RES wobbling 1/4 .. 1/16,
DRUM half time, 140 BPM) at OTT 0, 60, 80, 100, and V10.8.72's 100. The
bass alone: crest 12.9, 9.0, 5.7 and 2.9 dB at 0, 60, 80 and 100.
Tests:
- ott_test: the extreme zone, DEPTH 1 .. 80's hash, the new bounds;
- cpu_lines_test.c: CL_OTTB;
- the local workflow: steps 1 .. 27 pass. Step 28's wasm build needs
emcc, which this machine lacks; its native-check, gen-web and
resound-web pass.
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
uh_parse_midi refused real descriptor shapes: an OUT-only MIDI interface
ahead of the one with the IN endpoint, an interrupt IN with bInterval 0,
and bulk sizes that are not a power of two. uh_connect gave up after one
probe, so any slow answer after the bus reset also read as NOT USB MIDI.
Now: the parser keeps looking past an OUT-only interface, takes interval 0
as every frame and any bulk size of 4..64; the probe is tried three times
with a bus reset and a longer recovery each, and waits 20 ms after
SET_ADDRESS. tests/usb_host_desc_test.c covers the new shapes (they fail on
the old parser) and runs in voice-user-check. Layout repinned (keep).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
From JIANT BYTE 68b546c9 (loopq): with MATH's WAVE on SYNC, KNOB 8 is LOOP
(OFF, 4 BAR, 2 BAR, 1 BAR, 1/2 .. 1/32): the formula's time restarts at each
window of the bar clock, so the pattern repeats bar-exact wherever the note
began. LOOP OFF and every other WAVE render bit-identical to V10.8.65
(tests/loopq_test.c, in voice-user-check).
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: "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
(the owner: "the arp is not quantized, it should be on the 1/16 at least"; "in REC it has to be quantized")
- seq.c arp_step_do: playing (or counting in), a key's first arp step on its RATE's grid of the transport (the step this
block holds, or one up to 20 ms back at once; armed: never late), then the sequencer's time (seq_n), so it stays there;
stopped: from the key, as ever. It ran free from the key's block, on the DAC's samples
- rec_note_at: an arp's note recorded at its own step's sample (no key latency, whatever REC Q): on its step, MICRO 0
- tests/arp_grid_test.c (in the workflow): three tempos, four RATEs, 18 moments, every step on the grid; a recorded
phrase every step its note, on its place, one a step
Room (the owner: "the CPU page out, the little purple bar a number, the velocity diagnostic too"): 720 B
- MENU > ABOUT: the CPU lines gone (clock, rails, crash); AUDIO LOAD stays
- the header's load: its per cent (0..99) in THEME where the five bars were, following the load once 3 away
- the velocity diagnostic out (captures, queue, console, vd_poll); the keys' velocity and pressure as they were; the
editor's VEL answers as ever with the diagnostic off and nothing to read (web/vel.html: no presses, no captures);
tests/vel_diag_test.c gone, vel_test / vel_seq_test stay
GEN (the owner: "a section lasts more than twice what it should, loops that do not evolve and come back the same;
every part its timbre, a story in the sound; the envelopes"; "the DJ FILTER's automations too long and abrupt";
"DANCE's decays too long, they cover the other layers"):
- a row half its bars and none over ~24 s (a slow tempo's shorter); RADIO's loop 16 / 8 / 4 bars (over 110 / over 74 /
slower; were 32 / 16). MY LOOP's rows as they were
- a row its own colour: the scene's macros a row's own values (the first as the piece stands); a section come again
(its fill row too): the lead's, the arp's and the free drums' lines ARRANGE's VAR 1 / 2 (rows that repeat a row
before: 31 % -> 0)
- MOOD DANCE: the kit's DECAY a little shorter (was longer), the pump deeper (mood / 2)
- the build's high-pass: its last bar to 30 in eighths (was two bars to 48 in quarters)
- the envelopes: a held chord slower in (32) and longer out (80), a lead some release (32..63), the filter's envelope
12 .. 27 on a bass, a lead, an arp (was 6 .. 13); towards CALM softer in and longer out
- tests: gen_entry_test (RADIO's 16 bars, MID's reference recorded again), ui_test (an arp with no transport's clock),
tests/gen_sec.c (a study's tool: rows' seconds, repeats, envelopes)
Layout recorded again (FELUCCA_REPIN=keep: the arp's code in the RAM code); the plain build passes.
Image 583600 B of 584336 (736 B free), RAM 96832, RAM code 32688 of 34816, pool spare 8480 B, BT segment 73564 of
73728. audio.c as V23's.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
(the owner: "falta algo clave: un gate reverb y un gate delay"; "GAIN: que quede cerca de los primeros parametros")
- fx.c fx_gt, fx_gates, rev_gated (from the flash, a block at a time): each return through a gate its own input opens
(over ~-36 dB), held GATE / 64 of a beat after it falls (16: a 1/16, 64: a beat, 127: two), then shut: the reverb's
return (its side too) ramped to 0 over ~6 ms, every TYPE; the delay's MIX and FEEDBK to 0 (its glide: ~12 ms; the
line empty when it opens again). GATE 0: nothing runs, the buses bit for bit; open: the ungated return bit for bit
- FX > REVERB and FX > DLY: OCT+ held + KNOB 4 the GATE (its card while held, as EDIT 1's GAIN; PRE's / MIX's value
untouched; OCT+ alone the octave still). The project's 'G' 'T' block after 'D' 'N' (absent: 0)
- LEVEL (the hidden plain MORE's row, its index kept): KNOB 1 GAIN (0..12 dB, the track's), KNOB 2 LEVEL, KNOB 3 PAN,
the page after EDIT's own on every chain (a synth's third, ANALOG's second, a kit's after KIT 2); GAIN off ANALOG's
and PHASE's MORE (one place). EDIT 1's OCT+ held + KNOB 4 as it was
- tests: gate_fx_test (in the workflow: open = ungated, 40 dB down 30 ms after the hold, no click), ui_test (the two
GATEs and a project, LEVEL on every engine and a project, the chains with LEVEL)
- the generator's gated snare not done (the room). Layout recorded again (FELUCCA_REPIN=keep: the buses' code grew);
the plain build passes.
Image 584028 B of 584336 (308 B free), RAM 97024, RAM code 32532 of 34816, pool spare 8480 B, BT segment 73564 of
73728. audio.c as V23's.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
main's public-release.yml runs tests/{loop_song,song_generator,song_draft,gen}_test.c and uac_test on a candidate;
gen_test was not in voice-user-check.yml and went stale after V10.8.40 (it passed there): one name gone with the
FUGA genre (GSP_FUGUE) and ten expectations of V10.8.41 / V10.8.42's GEN.
- the kick on the one: GLITCH's edited bars aside (a beat moved a step late, the first one too)
- MINIMAL TECHNO 128..134 BPM (was 126..130); REGGAETON 94..102 (was 88..100)
- PHONK's cowbell riff: the motif's peak up to F4, an eighth of its notes at most over C4 (was C4 at most)
- EXPLORE: an approach a semitone from its note's pitch class in another octave too; components on five tracks
at most (was one: its own traits on the arp, the lead, the bass, its drums edited); DIVs off 1/16 not asked
(two to four chords every piece: the one-chord piece's half loop at 1/8 comes no more)
- the kits' LEVEL 116 at most (was 112: MINIMAL TECHNO's, IDM GLITCH's, IDM WEIRD's raised)
- a chord part's fast pitch LFO: one at most (a lead's preset's own vibrato on a chord part: 5 of 3160 over 40
seeds a genre; a generator's small fault, left as it is in this binary)
- the mix -15.8 dBFS RMS on average at least (was -15.5: the basses under the drums in ten genres; -15.6)
voice-user-check.yml: gen_test (timeout 120) and uac_test (CDC 0 / 1) as the gate runs them.
felucca.fwsc as a43bd1d2's (86913e58...): V10.8.42.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
GEN (the owner: "the melodies and the drums sound generic", then a note a genre):
- riffs (BAILE FUNK, PHONK, DUBSTEP): a motif of a written rhythm cell and a contour cell, an answer bar, the
fourth bar home; JAZZ: the snare's comping written (eight bars, ghosts), the kick feathered, the foot and the
ride down (lanes 118 -> 70 / 76: ~9 and ~7.6 dB by the square law); IDM GLITCH: the kick and the snare of
broken cells a bar, one placed roll at most (no bursts), hits their own touch; its drums 9 dB up
- the basses under the drums (GMIX: CUMBIA, DEMBOW, SHOEGAZE, HIP HOP, DREAM POP, KRAUT, TECHNO ROCK, JAZZ,
PHONK, BREAKBEAT; acid 4 dB down, its resonance capped), DUCK deeper in the machine genres;
tests/gen_stems.c: the bass's peak too, its check in the workflow (RMS 3 dB, peak 5 dB over the drums)
- DUBSTEP: low FOLD, chorus, the SYNC bass; CUMBIA: a SYNC keyboard up front, the cowbell off the beat, the
guiro short; REGGAETON faster, minor, a held 808, its hook +6 dB (track GAIN, the riffs' too); HOUSE: ninths
(PR_NSOUL), ghosts, hat dynamics; HARD BASS heavy, 150-160; SHOEGAZE: a post-punk beat and bass, wet, the
chorus towards vibrato; DREAM POP slow, an organ's vamps; KRAUT a hook (was TINTI: 4 leads of 24)
- MINIMAL / HARD TECHNO (the owner: "darker, hypnotic"): phrygian, a line of 7 or 6 beats over the 4 always
there, its filter locked hit by hit, a slow filter movement on the bass and the stab
- EXPLORE (the owner: "darker, more glitch IDM, complex chords, cuts, original timbres, melodies that evolve"):
the minor modes' weights every piece, two to four chords of sevenths, ninths, elevenths, the borrowed
chords twice as often, the drums edited every piece (gidm_edit), its own traits (GCHAR: touches, placed
ratchets, locks, notes walking on the arp, the lead and the bass), an odd engine more often, a cut at the
cycle's end
- ELECTRO's / EBM's cells one note a throw's own, TINTI's passing note a throw's place (distinct first bars:
ELECTRO 4 -> 19, KRAUT 4 -> 23, NEO CLASSIC 5 -> 10 of 24)
- MOOD: CALM lighter to -25 (the kit ~8 dB under MID, was 17; gone only near -50), DANCE: a half-time's or a
break's kick keeps its places (the bar's one, the kit whole: GHALF), the pump deeper; EXPLORE's tempo with
the mood (~82 .. 138)
- the FUGA genre gone (the owner: "no lo uso"): 29 genres, the seeds after it as they were
Code no page reaches removed (no visible change; tools/build.py: each recorded constant back at its slot).
tests: gen_entry_test (MOOD's cases, the seed cross on the whole piece, MID's reference recorded again),
gen_grid (the lines' check, in the workflow), gen_stems (the mix check), ui_test (the hidden rows).
Layout recorded again with FELUCCA_REPIN=keep (a UI function before .rodata grew); the plain build passes.
Image 582960 B of 584336 (1376 B free), RAM 97008, RAM code 32504 of 34816, pool spare 8480 B, BT segment
73532 of 73728. audio.c as V23's.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
(a user: "the sequencer creeps ahead of the project's tempo"; the owner: "after a pattern change, an edit, EUCLID, a
variation, a track's start no longer lines up with the others'; I stop and play again")
- the tempo (fx.c beat_samples, seq_time): a beat a multiple of 24 samples, so every division of it is whole and tracks
on different DIVs, the click and the clock out keep one grid (were FS * 60 / BPM cut, and cut again a division: at
133 BPM a 1/16 track 8 ms a minute ahead of the tempo, a 1/32 one 20 ms, so 12 ms a minute apart); mix_block leaves
a sample of the sequencer's time out when what that cut adds up to one: FS * 60 samples are BPM beats exactly
(tests/drift_test.c: 0 samples after ten minutes, eight tempos, every DIV, SWING, FIT, the click). The DELAY's time
as it was (the DAC's samples: beat_real)
- a track's place (seq.c seq_anchor): at every step it enters, the step and the samples into it from the transport's
1/16s since its origin (PLAY, a song's section in, RESYNC) over its DIV. A track left alone is there already; one
whose LEN or DIV changed under it (EUCLID's STEPS, MUTATE, a variation of another length, the knobs, SWING) is back
with the others at its next step (tests/resync_test.c: 14 actions x 18 moments and EUCLID's knobs, none off; before:
11 of the 14 left a track off). LIVE's playheads, a JUMP, FIT's own clock and an odd LEN with SWING as they run
- RESYNC: SEQ held + PLAY while it plays: every track from its first step at the next bar, in time (the banner, the
[SEQ] layer's footer)
- GEN's MOOD on the drums in every GENRE mode (the owner: "CALM changes nothing audible, everything still has drums"):
CALM the kit's levels down (the kick first; at -50 a low, short, dark closed hat alone), DANCE drums in every piece,
a kick on the bar's first and third beats from +25 and on every beat from +40, the kit up and driven; the energy
+-60 (was 40); MID byte for byte V10.8.39's (gen_entry_test). tests/gen_mood.c: the study's table
- usb_host.c uh_hub_status in the image (the Bluetooth segment's room)
- tests: the clocks that counted the DAC's samples count the sequencer's (rep_sync), the references that hold a
sequence's timing follow (micro's 0.9.0 render, expr's MIDI OUT checksum, perform's 1/16, 14 golden renders: every
key kept); layout re-recorded (REPIN=keep)
Image 583316 B of 584336 (1020 B free), RAM 97008 of 98304, RAM code 32504 of 34816, pool spare 8480 B, BT segment
73700 of 73728 B. audio.c as V23's.
Co-Authored-By: Claude Fable 5.2 <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
MUTATE (SEQ): its page gone. EVERY (OFF, 1 2 4 8 bars) is a tag in EUCLID's
picture ("EVERY 4"; nothing when OFF), set with OCT+ held + KNOB 4 on EUCLID;
OCT+ alone mutates when let go, OCT- is the anchor.
KEY TRK (EDIT > FILTER): OCT+ held + KNOB 2 (CUT's) OFF / 50 / 100 / NOTE, a
tag on the curve. 50 and 100: the cutoff follows the key (100: a semitone a
semitone, around C4) on every filter type, COMB too; NOTE: 100 and the cutoff
after all its modulation on the chromatic semitones (MOD SEQ > CUT plays tuned
resonances). A byte a track in the project's 'D' 'N' block, OFF by default; OFF
is bit for bit the sound before. OCT+ alone on FILTER is the keys' octave still,
when let go. tests/key_trk_test.c (in the workflow), ui_test's cases.
Factory sounds: sends by role (basses dry, leads more delay than reverb, pads
more reverb), a late vibrato on the leads, the plucked STRINGs darker played
softly, GONG and MATH BELL brighter struck hard, shared lists of movement
(engines.c R_*) for the sounds that had none (the kits, ANIMAL's calls, WEST's
struck ones and basses, PEDAL BASS) and in place of near copies. INIT sounds,
EXT and DIGITAL as they were. tests/golden.txt rewritten (every key kept, the
two newest kits added); micro_test's two hashes follow the sounds.
Image 582984 B of 584336 (1352 B free), RAM code 32516 of 34816, pool spare
8480 B, BT segment 73196 B. audio.c as V23's.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
CLOUD ("always late, a strange delay; it does not follow the tempo"): the send straight into the network too (the bloom
with the note), half the grains read just behind the write, the others 1, 2 or 3 sixteenths of the tempo back, the tail
x2 (was x3: SIZE high clipped); its comments as the code is.
DIST's NOISE (FX > DIST's KNOB 4, 0..127, a track's; the project's 'D' 'N' block, an older project 0): low-passed white
noise moves the drive's gain before the shaper and TONE's corner (sidebands round every partial; silence stays silent,
the level as it was); not on AMP, not in the presets or the editor's protocol yet. track_dist one copy in the RAM code;
pk_step and perf_kpress (called through a pointer) back in the flash for its room.
CHORUS MIX (FX > CHORUS's KNOB 4, 0..100, global, in the 'D' 'N' block): at 0 the chorus as it was (bit for bit); towards
100 a part's dry goes down by its CHORUS send and the ensemble becomes its first voice alone, in the middle: MIX 100 and
the send whole, a vibrato. RATE and DEPTH as they were (they reach a slow deep wobble).
The generator (docs/GENERATOR-STUDY.es.md 5.3, its section 10 on main): the mix (GMIX: the lead up in REGGAETON, DREAM
POP, DUBSTEP; the arp up in HARD BASS, CUMBIA, ELECTRO METAL, METALCORE, BAILE FUNK, DUBSTEP), a hook its delay or its
reverb (not both high), a club's stab half its reverb, its arp's release short, its kick's DUCK 30..50; a piece's own
colour (the melodic parts' cutoff 79 / 85 / 91 %); EXPLORE the lead / arp dialogue and the contrast section's own
progression on one chord too.
tests: dist_noise_test, chorus_mix_test (in CI), ui_test (the two knobs, a project keeps them), reverb_test's reference.
Layout re-recorded (REPIN=keep).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
CONTOUR (WALK UP DOWN ARCH WAVE LEAP RANDOM), RANGE (2..15 notas), MOTIF (OFF 2 3
4 8: repetido en secuencia), CHORD (% sobre la tríada). Con SCL > HARMONY recorre
la progresión. tests/euclid_mel_test.c nuevo, en la CI.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
PROG (OFF + las 34 de GEN), LENGTH (1/4 .. 4 BARS), EVOLVE (relativo, cuarta),
SKIP (una pista que no sigue). Cada nota de secuencia melódica sube los grados
del acorde vigente en su escala (seq.c hm_shift, sobre ALL TRK). Se guarda en el
proyecto (bloque 'HM'). tests/harmony_test.c nuevo, en la CI.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- Con el transporte andando, OCT+ en GENE espera a que termine el compás y
la canción nueva entra sin parar.
- GENE 4: KEY KEEP toma la tonalidad y el modo de la primera pista melódica;
ENTRY BUILD trae la canción nueva de a una pista por compás (la batería
primero); UNDO lo corta.
- Espacio: gen_knob al segmento BT, gen_value a la app; motores retirados a
ANALOG sin copiar valores de preset.
- tests/gen_entry_test.c nuevo (en la CI); ui_test con GENE 4.
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.
A YouTube user (V10.7.6): "I pressed record then play and entered a few notes, pressed stop and pressed
play to listen and it played nothing; if I then press record it plays notes I did not enter". After a GEN
song (gen.c: live.mode = 1, kept with a saved song's rows over a power cycle) PLAY played the song, which
does not record (song_play.c chain_start: song.rec off while it plays, REC's light out); STOP brought the
music before PLAY back and PLAY played the song again. Now, a track armed, PLAY on any page but TIMELINE
plays and records the loop (ui_input.c B_PLAY); REC off, PLAY plays the song as before. NEW PROJECT
(system_init) left SONG mode on with no rows: PLAY did nothing ("ADD A SONG ROW"); it is LOOP now, as at
power-on (gen_clean's own reset folded into it).
rec_play_test: REC PLAY keys STOP PLAY from power-on, NEW PROJECT, a GEN song then NEW PROJECT, after a
GEN song (SONG mode, and over a power cycle), the song again with REC off and the take kept after it,
TIMELINE's row loop and STOP keeping the take (two checks fail on the old code). +16 B (148 B free).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
FELUCCA_CDC 0: USB presents audio + MIDI only (as MENU > USB STEREO; the
editor, the installer and the soft key use USB-MIDI and are unchanged).
MENU > USB's first value reads AUDIO. The audio code is unchanged, only its
addresses moved (tools/audio_layout.txt repinned). The candidate check
also runs on codex/swarm, in its own concurrency group.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh