mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-06 12:54:29 +01:00
codex/repeat
666
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
a1ce4d3376 |
PUNCH IN: a REPEAT key on QUANT starts on the same beat as one on HOLD
The owner's go: QUANT on a REPEAT key adds nothing to REPEAT's own beat start. QUANT's wait (pk_step) lets the key through in the block after the beat, and REPEAT then waited for the next one: a beat late. pk_load plays a REPEAT key's QUANT as HOLD; the slot keeps QUANT (the editor shows it). pk_load past the pinned sound (build.py late_fns): its gap before perf_slot overflowed. RAM code 40432 B as before; app slot 9764 B free. tests/macro_mx_test.c: a REPEAT key on HOLD and one on QUANT, pressed mid-beat while playing, both start on the first beat after the press (without the fix, QUANT a beat later). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
b4b6307ac5 |
FX > REPEAT on the beat: the slice is the beat's first 1/8, 1/16, 1/32
A user's request, the owner's go ("cuantizar el inicio"): while playing, a REPEAT that has to record waits for the
next beat of the transport (clk_n a multiple of 4), so the slice it loops starts on the beat and its repeats stay in
phase with the bar. A shorter REPEAT over one already recorded (a roll 1/8 -> 1/16 -> 1/32) still switches on the next
1/16, and letting a REPEAT go gives the one held before back: both now read the loop where the bar is (perf_grid), not
from its start. Stopped: at once, as before. REVERSE, TAPE STOP, STRETCH: on the 1/16, as before.
perform.c: perf_q (out of perf_begin's RAM code, through a register) and perf_grid (out of perf_switch, its pinned
size kept); RAM code 40432 B as before, perf_begin's target cost unchanged, app slot 9796 B free.
tests/perform_test.c: the timing case on the beat; new "on the beat" (1/8 1/16 1/32 x 93 120 137 BPM x pressed early,
mid, late: live to the beat, then the beat's slice, in phase) and the roll / let-go phase case. Manuals updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
|
||
|
|
7ec71a534a |
PADS: las teclas negras en pantalla (línea fija y frase de lo que hace la negra mantenida)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
bd32939372 |
Merge GLO > PADS (codex/pads 957bcd49) into the WAVE line; V10.8.85 candidate
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
957bcd499b |
GLO > PADS, etapa 1: PLAY, MUTE y RESET
Las teclas como pads, una por pista (blancas 1-6 = T1-T6), en la primera página de GLO, donde estaba LIVE. GLO sigue abriendo en el MIXER. - KNOB 1 MODE PLAY / MUTE / RESET, 2 START RESTART / RESUME, 3 QUANT OFF / 1/16 / 1/4, 4 LATCH OFF / ON. Globales, solo en RAM. - PLAY parado: la pista del pad mantenido toca su secuencia al tempo interno (seq_pads.c), cada una con su cabezal, sobre un reloj propio de los pads; al soltar, seq_release (sin notas colgadas). - PLAY andando: todas las pistas vivas calladas menos las de los pads mantenidos. MUTE: mantenido mutea. Los mutes son los de la capa FX (perf_solo): nunca P_MUTE, nada se guarda. - RESET (o negra 1 + pad): la pista al paso 1, cuantizado. Negra 2 + pad: MUTE mientras está apretado. Negras 3 y 4: nada todavía. - Salir de la página suelta todo y deja los mutes como estaban. - Audio: una sola prueba de pads_fp en events_block; sin usar la página, el render es idéntico. Globales nuevos en .bss.pads y tablas en .rodata.n.pads (el código y las tablas del sonido no se mueven). - tests/pads_test.c (en voice-user-check), ui_test actualizado (GLO: PADS, MIXER, ... 7 páginas), MANUAL.md y MANUAL.es.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
6ae072077a |
WAVE 1.7: BYTE's wf_span grid, drawn one frame a block; INFO note
- lo/hi is the range POS can reach (wv_span, mod.c): the knob plus and minus the LFO's and the envelope's depths and |amt| of each route to POS (the part's slots, the macros', the punch-in key's, LIFE TIMBRE); all of 0..127 with CLAY or a route to POS itself. A steady LFO draws nothing after its first blocks. hi <= lo: one frame at the knob. - Drawn as BYTE draws it: one frame each block while a new key is drawn; the voices read the stored frames at their POS meanwhile (wv_dread, BYTE's wt_get). One grid per part. - na 6 when B is a user table and heard: FM's rule, documented as a deviation. - EDITOR_PROTOCOL.md: the contract paragraph restored, with a note that 'T' sits between 'C' and 'Y' and that clients walk the tags; the Played (WAVE) text rewritten. - The span reads its globals by symbol (hal/fm1_cc.h FM1_ADDR), so the pinned audio layout is not moved; target budgets for wv_user, wv_draw, wv_dread, wave_render. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
f687f05db0 |
WAVE 1.7: BYTE's dynamic user grid, drawn in the audio block; WT_LIST gen/used; INFO 'T' after 'C'
- User tables: BYTE's userGrid per block (lo..hi of the voices' POS, na 8 / 6 with B heard, gs, g0 on the knob's POS), frames drawn by wv_draw from flash over XIP as wt_user_frame, read with rq = 4096*65536/gs; redrawn only when the key changes (gen: wt_redo). No main-loop build, no silence on a knob or LFO. lo..hi foreseen from the last block (+ margin). - Factory tables keep the fixed grid (bit-identical). - editor_wt: slot state the audio reads (wvs) changed atomically (wt_take); gen +1 on write/delete/rename/move (u14), listed for empty slots too; used 0/1. - INFO: 'C' 43 02 01 07, then 'T' 54 02 06 20, then 'Y' (BYTE's order); docs and tests. - A stored 22/23 shown SINE (param_format, moved late in the layout). - Tests: wt_store_test grid reference, LFO / knob play (no click, never silent), cost. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
1829d53172 |
WAVE 1.7: user wavetables U1..U6 (BYTE's protocol, 101..106), flash 0xD0000..0xD7FFF
The owner's option 1: six table sectors 0xD0000..0xD5FFF and an A/B directory 0xD6000 / 0xD7000 (storage.c OBJ_WTDIR, its commit record last). WT_LIST, WT_BEGIN, WT_DATA, WT_END, WT_OP, WT_GET as JIANT BYTE's protocol 1.7 (src/editor_wt.c, the app slot): nslot 6, nsec 6; INFO 'T' 54 02 06 20, 'C' 1.7. The .jwt v1 record checked end to end (its CRC, the header's own, BYTE's reader's refusals; FM: one sector, 32 frames of 8 bits); a table is its slot's only once the directory commits; all six full: the slot's own sector, a cut then lists it damaged; every table checked at power-on. Staging: the main loop's proj_wire_u (no new RAM; a few bytes in .pool). WAVE plays an 8-bit table: the main loop builds its eight frames into the part's line as BYTE's wt_user_frame (LUT LINEAR / MULAW mu 7, the gains, frame k at POS k x 127 / 7), rounded to int8; the part silent meanwhile. U7 / U8 gone from A and B: a stored 22 / 23, an empty, damaged or 16-bit slot plays SINE. The pinned layout unchanged (the reply builder uses ed_n alone: GlobalMerge keeps it out of the merged globals; editor_wt.c's tables late). Flash 14920 B free, RAM / RAM code as before, pool spare 8224 B. tests/wt_store_test.c (in voice-user-check): upload, read back, the frames bit for bit against the spec's code, CRC failures, a power cut at each flash operation, in place, OP, stale. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
161b8cae5f |
WAVE: a wavetable engine on engine 9 (PHYS's retired slot), JIANT BYTE's 16 tables
WAVE (engine 9, after ADD in ENGINE_ORDER, last in the PROGRAM CHANGE order): two tables A and B of JIANT BYTE's 16 wave formulas (tools/gen_wave_tables.c/.py; firmware/src/wave_tables.h, 8186 B Rice-coded int8, BYTE main 94f8ac9), POS over eight frames, WARP OFF SYNC BEND MIRROR QUANT FM with AMT, MIX, DETUNE, SUB; U1..U8 named for user tables (empty: SINE). The frames decode into the part's comb line (no new RAM; wv state in .pool), checked each block by a content signature (STRING / the COMB's clear: decoded again, the part faded in). 26 presets. Old data: a user preset of before (version < 4) or a project of phys < 4 with engine 9 is PHYS's and plays as ANALOG / is refused as before; projects with a WAVE track are written phys 4. Favourites: WAVE's in TRIO's retired row (bytes 0..3, cleared once: prefs revision 7). No sound of another engine changes (golden: 26 added, 0 changed); the pinned audio layout unchanged (eng_wave.c's tables and literals late, build.py); flash 19492 B free, RAM, RAM code and seg2 as before, pool spare 8288 B. Tests: tests/wave_test.c (in voice-user-check), NRPN map regenerated, ui_test's engine lists, ui_test's settings round trip zeroes its records (the stack's bold field). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
c4e04dd749 |
The second code segment (flash 0xC8000..0xCFFFF), ported from JIANT BYTE (e807224d): 31.8 KB out of the app slot
FM's reserve 0xC8000..0xD7FFF (storage.c FL_SAMPLES, written by nothing) now holds, in its first half, cold main-loop
code run in place through the plain XIP window as the Bluetooth segment is. 0xD0000.. stays reserved; JAM's takes at
0xDA000 / 0xDB000 untouched.
- Build: app.ld C2SEG (XIP 0x020C4000), section .c2 (c2_head first, then .c2.text / .c2.rodata); core.h C2_FN / C2_IN /
C2_RO; src/seg2.c (header, c2_want, c2_seg_ok). tools/build.py writes build/c2.bin (JBC2, length, CRC-32) and patches
c2_want as bt_want; c2_check: nothing an interrupt, core 1 or RAM code reaches is in it, every call in from the slot
comes from a hand-checked gate (C2_GATES), no segment address stored as data.
- Moved: the editor protocol's commands and pushes (ed_command, ed_sync, their helpers, FM's ed_fm6_handle; INFO, the
backup and the project library stay in the slot), GEN's generators (gen_make, gen_parts, gen_pitched, gcpu_fit,
gen_sound, gen_kit, gen_mix, gl_write, gsong, gplan, grich, gls_prep, gen_arp, trackgen_run ...). FM differs from
BYTE: gen_make / gen_parts are slot code here (BYTE: Bluetooth segment), so they moved too, gen_go a gate;
gen_evolve and gx_comps stay in the slot (gen_post calls them); gen_rs_apply was already in the Bluetooth segment;
no dice_seq. Slot: 583660 -> 551828 B (676 -> 32508 B free). Segment: 31660 of 32768 B (1108 B free).
- Sound: every pinned / recorded audio function and table at its address (layout unchanged, no repin); audio flash
code identical but for immediates; RAM code +36 B (the flash driver's range check, FL_RANGE_OK). The merged
constants' floor (build/layout_cst.ld) is the first pool's start as laid out (FM's pools have UI constants before
the sound's first). seq_steps always inline (no out-of-line copy for the segment's calls).
- Runtime: bt_hw_seg() checks both segments once at power-on; missing / torn / another build's: FLASH PART MISSING /
REINSTALL at power-on and on GEN; the editor answers INFO ('X' 2), the backup and the project library only.
- Package / loader: fourth UFW entry c2.bin (type 201), checked before anything is erased, all of [0xC8000, 0xD0000)
written (0xFF past the code), never 0xD0000 and up. FL_STORE_OK / FL_RANGE_OK leave the segment out (static asserts).
- Tests: ldr_test (c2 written, rest erased, damaged c2 refused, 0xD0000.. untouched), editor_test (segments missing),
storage map assert, layout packing test. Manuals and EDITOR_PROTOCOL: FLASH PART MISSING.
Needs a hardware test on the FM-1 before any release.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
|
||
|
|
44a1c4abfe |
V10.8.81 candidate: the new ROOM (DIFF, stereo always, the send's lows out, a channel's level as before), fx_sr gone
ROOM one kernel at the old MOD/WIDE cost: input allpasses, the whole ring with SIZE, mid-line taps, noise-moved lines (DIFF on ROOM's MOD knob). The send's lows cut (~55 Hz, exact zero at rest); RV_IN and WIDE's range set so a channel's level is V10.8.80's at WIDE 0 (GEN's mixes back under -1 dBFS). fx_sr removed (the right side the left's negative). Goldens, micro's hash, rev_room's target budget updated on purpose; clay_engines at SIZE 64 (the old tail length) with its reverb reset between renders. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
8b042c54e7 |
V10.8.80: FX > EQ's four bands drawn again
The EQ page shows the LOW, LO MID, HI MID and HIGH bars again (60, 250,
2K, 8K), drawn by SL PITCH's bar graph so it costs no new flash. To make
room, the V10.8.21-26 Clay conversion ('C' 'Y' blocks) is gone: those
projects load with Clay off.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
|
||
|
|
9f9db06a61 |
Merge codex/drone-clay-keys (bfc26ae) into V10.8.79: the CLAY page's key card on the new keys
The owner chose V10.8.79's keys with his card: the card shows the last key's SHAPE, its MOD and DEST, and under it REC (struck on the line), LINE or EUCLID; QUANT WHITE lets a black key through when CLAY's KEYS are on. The banks and degree keys stay out (V10.8.79). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
bfc26aefd1 | Show Drone Clay keyboard actions in the page panel | ||
|
|
241f0bf212 |
V10.8.79: the sound's layout recorded again after the last clay.c edits
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
b684a07694 |
V10.8.79: DRONE CLAY's keys play notes and record the selected MOD's strikes on its line
The owner: "según el mod que esté seleccionado en las páginas de seq, las teclas graban en rec las notas y el modificador en su línea". With KEYS ON a key plays its note as any key (REC records it in the steps) and strikes the MOD the CLAY pages chose (its SHAPE, the key's velocity); recording, the strike also sets that MOD's line (32 of its RATE's steps, in the clay row's spare bytes), which then plays instead of its EUCLID; EUCLID turned clears it. Saved as FUNC's 'C' 'K' block after MATH USER's (an older firmware stops before it). No gesture banks on the OCTs, no degree keys. The canvas's text boxes moved to LOWBUF to give the project's lines room in the pool. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
c08d0e40f4 | Validate Drone Clay reset and refresh the FM-1 audio layout | ||
|
|
4c47c8247a |
V10.8.78: ALGO B B01 on a MATH factory load only (a kit's slot as before: micro_test's project bytes); gen_entry's MID hashes recorded again (GEN's MATH tracks load ALGO B B01)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
1707802771 |
V10.8.78: MATH BYTE MORPH at the same CPU when off; RAMP as a MOD source; a hit added to an empty DRUM step keeps its components
- byte-morph: lofi_byte_render byte for byte V10.8.77's (the FM-1's code identical, the host's too): lofi_render alone tests MORPH (a load and a branch a block); up, lofi_bmr hands the render a shadow of the track's FILTER / EDIT values (127: ALGO = B; between: ALGO 62, no start, VAR nor BEND) and lofi_bmorph (lofi_byte's 62, as USER's 63: t and a) makes A's and B's own times from the window's (start, VAR, BEND: A exactly as at MORPH 0, B as at 127), this core's lofi_mx (.pool) holding them. A factory sound's ALGO B B01; a project of before V10.7.36 (q->phys) clears a MATH track's EDIT > MORPH slot (a chip wave's morph of before V10.6e, set before WAVE BYTE: BYTE's MORPH now). No MOD route to BYTE's MORPH (a destination of its own: room and the matrix's tables; NRPN 71 and AUTO reach it). - The RAMP's tester: ui.c grid_hit cleared a REST step to add a hit (step_clear): a RAMP put on an empty DRUM step vanished when the step was held to lock it. Its notes and hits only now; components and CHANCE kept (tests/ramp_test.c: the FM-1's way and grid_hit itself). - Flash: trk_slot() for 12 more UI sites (lyrics, track colours, the latch, GEN, user presets), WHEEL's drw_part = trk_slot (the same function), lofi_bmorph one loop. Image 584272 B of 584336 (64 B free), BT 73660 (was 73692), RAM .data+.bss 98120 (unchanged), .pool +16 (lofi_mx). audio.c untouched; layout recorded again (REPIN=keep). - felucca.c: V10.8.78 and its note. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
7c15b0bb1f |
V10.8.78: RAMP as a MOD source (the owner: "poner RAMP como modificador en la mod matrix"): a step's RAMP without a lock drives the matrix's new source RAMP (26, appended), 0 -> 1 along its CURVE over its LENGTH (FROM OPP 1 -> 0; END BACK / HOLD / PING), to any DEST by its AMT; a RAMP with a lock glides it as before (old projects the same: a lockless RAMP never cuts a lock's glide); SEQ > COMP no NO LOCK, placed without one LOCK A PARAM OR MOD>RAMP; MOD's banner STEP RAMP; flash from comp_vname's labels / values / units one copy each and packed name tables (FR ORD DEC GRID_HIT MD H); tests/ramp_test: the FM-1's way to a lock end to end, RAMP on MOD; layout re-recorded (REPIN=keep: kx_src)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
d9a4bba9ca |
MATH TIME (prototype): KEY / LOCK / TEMPO on MATH's MORE page by RESTART; LOCK the default
The owner: "que las fórmulas no cambien su time con las notas ... por defecto debería
estar así". MATH's t is already two clocks (MOTION's): the note's low 8 bits (the wave,
its pitch) and the slow bits above (the rhythm, the phrase). TIME picks the slow clock's
pace:
- KEY the note's (as before: a key up, the formula faster). Every project and user
preset of before reads KEY (its slot held 0), so they sound as they did.
- LOCK C4's whatever the key: every key the same rhythm, transposed. At C4 KEY and LOCK
are the same, bit for bit (the MOTION 64 shortcut kept where the paces are one).
A factory preset load (ui.c apply_preset_to) sets it: the new default.
- TEMPO the song's clock (MOTION's own SYNC, 128 .. 255: t >> 13 a beat at MOTION 64),
BYTE and FLOAT. WAVE SYNC (V10.8.62) stays as it was.
RESTART (KNOB 1) unchanged, combinable with any.
Where: core.h P_MTIME, in DRUM's IMAGE / VOICE's LYRIC slot (DIGITAL's OP3 REL: 0 on
every MATH track before it; a user preset and a project store it as any slot). MORE's
KNOB 2 (params.c PAGES, track_desc). lofi_render decides the slow clock once a block and
hands the renders its step in m->inc (0: the song's clock), so lofi_byte_render and
lofi_float_render each lose their own MOTION / WAVE SYNC tests (-4 B each).
Flash: TIME +108 B (code +76: lofi_render +68, apply_preset_to +12, track_desc +4, renders -8;
the descriptor and its names ~32), room 56 B: N_CHIP N_RWAVE N_MTIME packed into core.h (-24),
PNE (were tables of pointers), N_DIV = N_DTIME's first ten names (-32; PEN; enum_order tells
them apart by max; ui.c rate_name by str_nth; tests by N_DIV_N / desc_nm). Image 584336 B
of 584336 (0 B free; was 52). BT 73692 (unchanged), RAM .data+.bss 98120 (unchanged).
audio.c untouched; tools/audio_layout.txt recorded again (FELUCCA_REPIN=keep); a plain
build passes.
CPU (tests/cpu_lines_test.py, mean / worst %, the busier core): 101..108 and 0c the same
or 1 lower; 0d core 0 67 -> 68 / 71 -> 71 (+0.2 % instructions), 0e 82 / 85 unchanged;
0d / 0e with TIME KEY forced: the same as LOCK.
Tests: regress 219 golden renders, 0 changed (V23's intact); math_timelock_test rewritten
through lofi_render: WAVE SYNC as before, KEY faster up the octave, LOCK and TEMPO the
same slow time at C4 and C5 (BYTE, FLOAT), LOCK == KEY at C4, TEMPO follows the BPM, a
preset loads LOCK, a kit's IMAGE still 0; gen_test, fit_test, ui_test, app contract
(docs/NRPN.md, web/NRPN.md: 74 TIME on MATH) pass. The suite's other failures are the
same on
|
||
|
|
32099fee4f |
V10.8.76: SEQ says PRESETS moves the 16-step window (LEN over 16, the first three entries a power-on)
Juan: "Podría haber un cartelito nomás cuando ponés SEQ que diga move steps
with preset knob o algo así". A user didn't find steps 17 .. 64: the grid
shows 16 at a time and PRESETS moves it, which nothing said.
The tip (ui.c page_entered):
- On entering a SEQ page that shows the 16-step window (ui_graph.c
seq_roll_view: STEP's roll, the DRUM grid, every SEQ page with the roll;
not SONG or EUCLID) when the selected track's LEN is over 16, a toast
(ui_say, the pill on a lens page, the header too):
PRESETS: STEPS 17-32 OF 64
the window shown (ui.bank) and LEN; a last window short: STEPS 33-40 OF 40.
- Not at LEN 16 or less. The first three such entries a power-on
(seq_tip_n, one byte in .pool, zeroed at boot: no .data / .bss).
- As PRESETS moves, its own toast as before, unchanged: "BAR 2/4 STEP 17"
(the window's bar each detent); the bar chips under the cards light the
bar shown and SEQ's card says 21/64. So the range is on screen whenever
the window moves; nothing added there.
- Nothing removed.
Manual (MANUAL.md, MANUAL.es.md): PRESETS' row in the controls table still
said SEQ's pages load patterns (PHRASES; gone since 0.9.9-seq2i). Now: the
step, a whole bar fast, the grid following, so PRESETS is how one reaches
steps 17 .. 64; the tip.
Flash: page_entered 224 -> 352 B (the formatting by hand, no str_cat:
-20 B against the first try), the strings 21 B.
Image 52 B free (584284 of 584336; V10.8.75 204), BT 36 B free (73692 of
73728, unchanged), RAM .data+.bss 184 B free (98120 of 98304, unchanged),
pool spare 8224 B, RAM code 40384 of 42496 B. audio.c is V23's; the sound's
layout unchanged (tools/audio_layout.txt as recorded; a plain build
passes); tools/audio_map.txt: page_entered's line.
CPU (tests/cpu_lines_test.py), each scene's worst block, core 0/core 1,
V10.8.75 -> V10.8.76 (both measured now): identical, lines and instructions
101 79/44 102 62/28 103 85/14 104 51/14 105 66/41 106 52/36
107 63/11 108 51/29 0c 69/58 0d 71/52 0e 85/61
Tests:
- ui_test test_seq_tip (new): LEN 16 nothing; LEN 64 on STEP "PRESETS:
STEPS 1-16 OF 64"; PRESETS fast to bar 2 "BAR 2/4 STEP 17"; LEN 40
entered on bar 2 "17-32 OF 40"; EUCLID nothing; the DRUM grid on its last
bar "33-40 OF 40"; the fourth entry nothing. ui_power_on sets the tip as
said (3), so every other check and render runs as before.
- ui_render: toast_seq_tip, toast_seq_tip_drum (the roll and the DRUM grid,
LEN 64, bar 2): the pill 166 px, clear of the page's words, no lint
finding; the header's copy ellipsised, as every lens toast's long ones.
(ui_render's own run stops at JIANT/env_stage, go_title "STAGE", exit 2,
as at V10.8.75: those two scenes rendered by a driver.)
- The local workflow: steps 2 .. 29 pass, the emulator job included (emsdk
6.0.11: native-check, gen-web, resound-web, emu_test bit for bit); the
full UI: all passed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
|
||
|
|
56e57cc5d4 |
V10.8.75: MATH USER, a formula of one's own on a MATH track (JIANT BYTE's formula machine); ALGO 128 .. 191 saved; the stop-side click
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
|
||
|
|
84a71649bf |
V10.8.74: FX > GATE, the reverb's and the delay's gate on a page of their own, reached by scrolling
Juan: "Es ridículo un comando tan raro para algo que debería estar ahí
mientras escroleás".
Until now (V10.8.44) the GATE of REVERB and DLY was reachable only by
holding OCT+ and turning KNOB 4 on FX > REVERB or FX > DLY, with the
footer saying "HOLD: K4 GATE".
The layout: (a), a dedicated page, GATE, REVERB's third (params.c PAGES,
ui_lens.c CE_FX, ui.c FX_MN REVERB 2 -> 3):
- SELECT on FX: ... DLY, DLY 2, DLY 3, REVERB, REVERB 2, GATE, CHORUS,
SLICER ... (21 pages, GATE 11/21; LOAD ECO 12/16, ECO keeps it: the
gates are the buses').
- KNOB 1 REV, the reverb's GATE; KNOB 2 DLY, the delay's; 0..127, F_INT
as before. KNOB 3 and 4 empty: no other gate parameter exists, and no
new one was added.
- Why not (b), a second page of REVERB and of DLY: both already have
two or three full pages (REVERB 2: MOD RATE FILT WIDE; DLY 2 and 3 full),
so (b) would mean two more pages with three empty knobs each, the two
gates apart, and twice the flash. One page holds both gates side by
side, right after the reverb's pages, a SELECT detent from DLY 3 /
REVERB 2, and the delay's gate reads naturally next to the reverb's
(FM's FX lens already groups the buses' extras by module).
- Drawn like OTT and PUNCH IN: its name large (page_big; OFF under it
with both gates at 0), the value cards REV / DLY, and two columns of
cells on the thermal ramp (gx_col), each as tall as its gate holds.
The footer: "GATE 11/21".
- Same values, same storage: the page's ids are views (page_desc, ids
0xE4 / 0xE7, MUTATE's old ones as DNZ and CMIX were) of fx.c fx_gt[0]
and [1], the very array the project's 'G' 'T' block saves. No project,
preset or parameter id changes; fx.c is untouched, so the sound is the
same bits (gate_fx_test's output is byte-identical to V10.8.73's).
- The shortcut stays: OCT+ held + KNOB 4 on REVERB / DLY still turns the
same gate (its card says GATE while held). Its footer hint ("HOLD: K4
GATE", twice in LZ_HINT) is gone, because the page makes it redundant:
the hint was the only way to find the gesture, and the page is now that.
EDIT 1's and FILTER's hints stay.
Editor / Studio: protocol unchanged, DESC unchanged (descdump identical
to V10.8.73's). The GATE values were never in DESC or TRACK_PARAM and are
still not. Page ids are names, not indices: the UI push (43) can now send
the page "GATE" in section 3 (FX). EDITOR_PROTOCOL.md and editor.html
need nothing; a Studio that mirrors FX's pages by name may want to add
GATE (between REVERB 2 and CHORUS).
Docs: MANUAL.md / MANUAL.es.md (the FX pages' table, the knob table, the
SELECT order, a GATE paragraph after REVERB 2; the V10.8.44 gesture was
not in the manual until now), the cheatsheet (tools/gen_cheatsheets.py,
controls.html).
Flash (V10.8.73: 84 B free; the page ~290 B: graph_fx_lz +126, page_desc
+68, the three descs, PAGES and CE_FX +12 each; LZ_HINT -39):
- 9 more sound functions built for size, none in HOT_FNS, none a sample
loop: PANIC's notes off, a step's first lock (RAMP), SCENE's followers
let go, a MIDI note-off sent, FM6's note velocity (once an event); a
track's queued notes due (STRUM, HUMAN TIME, the gate's end), the held
kit hits' next, LIFE's routes, REVERSE's grains set (once a block's
control). -124 B.
- Packed (str_nth) into PNB: the LFO's WAVE (AUTO PAN's five are its first
five: one list), FILTER TYPE, REVERB TYPE; into PNE: DRONE CLAY's RATE
names (CLAY_RESN, its "past HOLD" view an offset). FUGUE's RATE and DIR
packed in place. A kit's lane names read KEY MAP's own (N_DKEYMODE, the
same eight), the lanes' two-letter names packed, SCENE's TRACK names are
N_RFOLW's T1..T6. desc_nm reads them all, DESC as before.
Image 96 B free (584240 of 584336), 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; 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.73 -> V10.8.74 (both measured now):
101 78/44 -> 78/44 102 62/28 -> 62/28 103 86/14 -> 85/14
104 51/14 -> 51/14 105 66/41 -> 66/42 106 52/36 -> 52/36
107 63/11 -> 63/11 108 51/29 -> 51/29 0c 70/58 -> 70/58
Instructions identical in every scene; the lines move by a few (+-4 of
~500) with the flash layout. Off the page nothing of it runs.
Tests:
- ui_test: the GATE page (after REVERB 2, before CHORUS, 11/21, REV and
DLY cards, KNOB 1 / 2 turn fx_gt 0..127, KNOB 3 / 4 nothing, OCT+ the
plain octave, page_desc's views), the gesture still turning it with no
footer hint, a project keeping both; the FX chain of 21 and the ECO
chain; OLD_LV's FX list. The LFO DRIFT check reads desc_nm (the list is
packed). The harness's power-on now clears the session views
system_init clears (GATE, GAIN, KEY TRK, DIST NOISE, CHORUS MIX, TAPE,
EQ, LIFE, DRONE CLAY), as the device's .bss is at power-on: the soak's
random walk now reaches the GATE page, takes another path, and what it
left behind (it did not, by luck, before) silenced four key tests.
- ui_render: the "gate" screen (REV 48, DLY 96).
- app_contract, gate_fx_test (byte-identical output), descdump
(identical), project, clay, clay_engines, drum_voice_extensions pass.
editor_test and the FM4 ui_test fail the same checks as V10.8.73 (not
in the workflow).
- The local workflow: steps 2 .. 28 pass (5 and 6 are the toolchain's
cache and setup, 11 the V23 checkout that 12 uses). The emulator job'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
|
||
|
|
dfe77f4ecd |
V10.8.73: FX > OTT's DEPTH 85 .. 100, an extreme zone for ultra-compressed, saturated dubstep basses
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
|
||
|
|
d3bb2ebebc |
V10.8.72: GEN puts OTT on the electronic genres, a much harder OTT, BYTE's formula DIST types, VISUAL steady under load
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
|
||
|
|
d03b4046e2 |
V10.8.71: FX > OTT, JIANT BYTE's two-band compressor on each track
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
|
||
|
|
0e3b914b3d |
V10.8.70: GEN with JIANT BYTE's grich; call and response and EXPLORE's cut back
Juan: "si, todo". - grich from JIANT BYTE 5aebdf56 (Juan's GPL code), on FM's engines. Each section, and A, gets its own automation, locks and step components: - the kit's TONE rises over the build; - DECAY rises toward the turn (only up, so the kit keeps its punch); - a snare roll is muted into the turn; - the hats' offbeats get an 80 % chance; - the delay is thrown on the lead's last note; - the arp's filter ramps over the build; - a stab chord lands in a melodic part; - the break's pads get a slower attack and a longer release. - FM's call and response is back: the arp is silent where the lead speaks. - EXPLORE's cut is back: the cycle's last beat or two are cleared. - Both sit beside BYTE's gen_post. - GTRIM: HOUSE is 0.5 dB lower and METALCORE 1 dB lower, so every piece stays under -1 dBFS (gen_peak). Flash: the long enum lists are packed with str_nth. desc_nm reads them; PNB holds params.c's lists and PNE the engines' (CLAY SHAPE and EUCLID, WEST RATIO, ANIMAL GROUP, WHEEL BARS, ADD MODE). The names, stored ids and NRPN/editor ids are unchanged. tests/descdump's output is byte-identical to V10.8.69's. Image: 228 B free (V10.8.69: 128). BT: 24 B free. RAM code: 40192 B, unchanged. ui_graph: SOUND 3 is now matched by its whole title. The old check read past a short page title (found by ASan). CPU (tests/cpu_lines_test.py), each scene's worst block on core 0 and core 1, V10.8.69 -> V10.8.70: 101 80/44 -> 78/44 102 61/29 -> 61/28 103 79/14 -> 80/14 104 46/14 -> 46/14 105 65/41 -> 65/41 106 53/36 -> 52/35 107 58/11 -> 58/11 108 51/29 -> 51/29 0c 70/58 -> 70/58 Scene 101's worst block is a dense step (seq_step, note-ons). The drums' rendering is not the cost there. Tests: - gen_entry: MID recorded again. - Tests read the packed lists through PN_AT / desc_nm. - Layout recorded again (FELUCCA_REPIN=keep); the plain build passes. - Local workflow: all 19 steps pass. audio.c is V23's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
58e51ae25c |
V10.8.69: GEN with JIANT BYTE's song plans; the drums' punch back
Juan: the drums had less force, and BYTE's results are more interesting.
From JIANT BYTE 5aebdf56 (byte-cpu-light = main; the generator as of
2253f35b), with FM's engines, kits and sounds kept:
- gsong: SONG and PARTS pick a template by the genre's family, throw its
rows, fit the piece to two to five minutes and place the fills (FUGA's
template is left out: that genre is gone from FM)
- every melodic part's timbre (E6) moves over its loop in each section,
and goes back in the break
- gen_post as BYTE has it: no call and response, no EXPLORE cut
- the drums back to V10.8.67: kit DECAY and DRIVE, the heavy kits' DIST,
DANCE's drive and level, the bass level, the HARD BASS, TRIBAL and EBM
GMIX; CLIP as BYTE has it (60..85 heavy, 35..65)
- GTRIM: HARD BASS and KRAUT 1 dB lower (DANCE pieces stay under -1 dBFS)
Not ported for lack of flash: grich (automation, locks and components
for each section, about 900 B). gfugue doesn't apply (no FUGA in FM).
Flash: the UI and VOICE name lists are packed (str_nth): MENU, MATRIX,
step components, lens hints, row variations, sections, punch-in, panel,
scat. gjazz now lives in the BT segment. Image: 128 B free; BT: 20 B free.
Merged codex/usbhost-fix (
|
||
|
|
81582f8fcc |
USB host: tolerate more keyboards and retry the probe before NOT USB MIDI
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 |
||
|
|
6dc63ba325 |
V10.8.68: GEN from JIANT BYTE's generator; VISUAL idle off its page
Ported from JIANT BYTE 09ec6b57, 77f2b602 and 12b70fd0 (c68c3aac, 41fbf469 and 66868370 were already in FM): - the mix: kits shorter and a third as driven, the heavy kits' DIST halved, CLIP lower, five genres' GMIX; MOOD DANCE's drums down, CALM's attacks, tails and sends longer (FM keeps its GTRIM headroom: BYTE's melodic lift and sends trimmed to stay under gen_peak's -1 dBFS) - CALM: longer sections, slower RADIO, held chords - EXPLORE: its field, voices, scales and engines widened - the build's DJ FILTER is now a swept low-pass - NEO CLASSIC never has drums Kept FM's own: MINIMAL TECHNO's sub over the drums. TRIBAL and EBM basses trimmed under the lighter kits. Not ported: HARMONY EXTENS and the jazz progressions (no flash). The WAVE items and the RL_N fix don't apply to FM. VISUAL: nothing of it runs off its page. On coming back, the hits are taken as they are and the pictures are kept whole. Tests: GEN expectations recorded again (gen_entry MID, gen_test mix, RMS and REGGAETON DIST). cpu_lines has three new GEN scenes: 106, 107 and 108. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
6bc2c59bce |
V10.8.67: VISUAL from FM's own pictures, deformed, repeated, broken; a fixed budget, yields to the sound
(the owner: "No quiero que copies las visuales de BYTE, tratemos de darle onda a las nuestras con poco. Usaría las gráficas de FX, ENVELOPE, LFO, las de HOME, ANIMAL haciendo el morph, pero deformadas, repetidas, rotas") - HOME > VISUAL and the saver draw the system's pictures with their own functions: FX's DELAY REVERB CHORUS DIST MASTER, ENV's curve (graph_adsr), the LFO (graph_lfo), HOME's ECO, a track's being (vx_draw), ANIMAL's creature morphing insect / bird / mammal (vx_animal, its glide state kept for the ANIMAL page). - One map (gfx.c cv_vm in cv_line, ui_gx.c gx_col's cells, ui_organic.c og_wf): DEFORMED warp / twist / polar / fold, REPEATED kaleidoscope / stutter / trail / tiles (copies turned, moved, smaller, fading along the palette), BROKEN strips / gaps (at most half) / scanline tears / blocks. Their words and lone pixels left out (cv_oy past the strip). - Each segment swims with its neighbours; a kick scatters them and they gather, a snare turns the copies, the hats shiver, a note's ripple runs down the rows. Still at rest (the breaks and the swim scale with the level and hits). Lighter colours. The song (vis_song) picks two pictures and the three operators; a section changes the deformation; a section, twelve kicks or ten seconds bring the next second picture, fading in. - CPU: a fixed budget of mapped points a strip (2700, busy 1000), the copies as many as it holds whole; no division a point, sines from og_sin's table; with the sound's load over 65 % the picture is drawn every other frame (over 80 %: every third), fewer points and no tears. Host timing of a VIS frame (4 GEN songs, 384 frames): V10.8.66's vis_fig mean 413 us / worst 1311 us -> 274 / 567. - vis_wp, vis_being, vis_ghost, vis_thread and the old vis_fig gone; vq in the pool. Layout recorded again (FELUCCA_REPIN=keep); the plain build passes. Image 583880 of 584336 (456 B free), BT segment 73164 (-552), net +1464 B; RAM code 40192 (-4). audio.c as V23's. Local workflow: every check step passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
fb276e9ddb |
V10.8.66: MATH LOOP quantized to the tempo (WAVE SYNC)
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 |
||
|
|
741f8d40f3 |
V10.8.65: pages without a picture named large; a knob turned said with its page on the footer
(the owner: "fijate en las páginas que no tienen gráficos clave, o cuánto se puede agrandar el nombre de lo que hace la página"; "LIFE tiene PAN y no se ve que dice LIFE, la gente no va a entender que está paneando"; universal sound names kept) - page_big (ui_gx.c) on every page with no picture of its own: GLOBAL, KEY SPLIT, KEY SPLIT 2, LEVEL (draw_graph's fallback: the name large, the scope lower under it), FX > PUNCH IN (its lens's empty EFFECT level), SEQ > DRONE CLAY, CLAY MOD, CLAY RHYTHM, CLAY TIME (the scope and the lanes lower). A long name (KEY SPLIT 2) in M. Pages with a key picture (ENV LFO MOD MSEQ, FX's lens, SCL, the roll, EDIT's creatures, SYSTEM, MIXER, PRESETS, SAVE, HOME) as they were. - HOME > LIFE / MACROS: the beings drawn under the page's large name (MACROS' title no longer over them). - ui_draw.c knob_line: a knob just turned, the footer says it whole a moment with its page's name: "LIFE STEREO 100 %", "LFO RATE 1.24 HZ", "GLOBAL BPM 121 BPM" (the cards keep their short labels); a step held, the menu, a dialog: as before. - docs/PARAM-NAMES.md: MODE TYPE AMOUNT SYNC MOTION DICE reviewed, none renamed (the page now said with them). - tests: ui_test (LIFE's knob line; LFO RATE and GLOBAL BPM on the footer, gone after the turn). Layout recorded again (FELUCCA_REPIN=keep); the plain build passes. Image 581528 of 584336 (2808 B free), RAM code 40196 (unchanged). audio.c as V23's. Local workflow: every check step passes (the emulator job not run here). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
d0a79cf21e |
V10.8.64: tools/audio_map.txt as the build writes it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
0202407bb6 |
V10.8.64: HOME > MACROS back with DICE; LIFE STEREO (was PUMP) and curved depth; LIFE / MACROS named large
(the owner: "la página de macros en HOME con DICE, es clave, es lo que teníamos antes"; "pondría los macros en los dos lugares"; "cambiaría PUMP en LIFE por STEREO, que se muevan en el campo estéreo con valores derivados de sus vecinas"; "todo en 100 podría ser mucho más extremo"; "debería decir LIFE en grande") - HOME > MACROS, ECO's third page (CE_HOME: ECOSYSTEM LIFE MACROS; HE_SONG 5, HE_GEN 8; ui.hset[0] 0..2): KNOB 1..4 M1..M4, the FX layer's own (macro_v, one state); HOME + SELECT there: DICE MACROS (macro_dice on the tracks sounding, the four values), one UNDO point. - LIFE KNOB 3 STEREO (was PUMP; a project's stored value now STEREO's): each track pushed across the field (a PAN offset on its own PAN) by its neighbours' sound, every other one in the ring the other way (two playing apart), swinging at a speed the track before it sets; quiet, back to its PAN. - Every LIFE depth as before to 60, then curved: at 100 about 2.5 times (STEREO at 100: hard left / right). - LIFE and MACROS: the page's name large (AF_L) at the panel's top, its state under it (ui_gx.c page_big). - docs/PARAM-NAMES.md: universal sound names kept; what changed and what is still to do. - tests: life_test (STEREO 100 widens the side; PUMP's kit test gone, the kit primed once for DRUM-X GAIN's); ui_test (HOME's twelve pages; MACROS: KNOB 1 M1, HOME + SELECT DICE MACROS with UNDO; LIFE as before). Sound: audio.c as V23's; 219 golden renders unchanged (no LIFE in them). RAM code 40196 (+4, calls shifted). Layout recorded again (FELUCCA_REPIN=keep); the plain build passes. Image 581204 of 584336 (3132 B free). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
6a56c5b8ff |
V10.8.63: MENU > DISPLAY > PANEL AUTO / A / B (the late-2026 units' panel); OCT- + SAVE at power-on: A
(the owner: "dale implementalo"; a user's report, its details from an AI chat: a hypothesis: the units sold from late
2026, flash 0xB36014, carry another 1.3" 240 x 240 IPS panel, ST7789-compatible, its colours washed out)
- lcd.c: A as it was (LCD_SEQ and lcd_init's stream byte for byte: lcd_seq, the same loop out of line). B: after A's
set-up, the ST7789V datasheet's registers (written from its register descriptions, not from other firmwares):
B2 PORCTRL 0C 0C 00 33 33 | B7 GCTRL 35 | BB VCOMS 19 | C0 LCMCTRL 2C | C2 VDVVRHEN 01 FF | C3 VRHS 12 |
C4 VDVS 20 | C6 FRCTRL2 0F | D0 PWCTRL1 A4 A1 |
E0 PVGAMCTRL D0 04 0D 11 13 2B 3F 54 4C 18 0D 0B 1F 23 |
E1 NVGAMCTRL D0 04 0C 11 13 2C 3F 44 51 2F 1F 1F 20 23 |
20 INVOFF (A: 21 INVON); MADCTL (the colour order) as A's.
UNTESTED on the new panel. Back from B to A: A's reset and sequence again (lcd_panel_apply).
- MENU > DISPLAY > PANEL: AUTO (every older record) A B, engine 15's byte 15 bits 0-1 (INPUT's favourites 120..127,
never set), editor id 34; AUTO B only on flash 0xB36014 (project.c persist_boot keeps the JEDEC id); changed: the
panel at once, no reboot, "PANEL A" / "PANEL B". At power-on B's registers after A's (the splash), unless OCT- + SAVE
are held: A for that start (OCT- + OCT+ stays the calibration). The emulator: the setting, no visual change.
- tests: lcd_panel_test (A's bytes and stream as V10.8.62's, B once after A, back to A), in voice-user-check.yml;
ui_test (PANEL's row in DISPLAY, kept in the settings, applied with its banner, AUTO by a mocked JEDEC id); the
hosts' lcd stubs.
Layout recorded again (FELUCCA_REPIN=keep); the plain build passes. Image 580808 of 584336 (3528 B free), RAM code
40192 (the calls into the image shifted). audio.c as V23's.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
|
||
|
|
e107c3e82e |
V10.8.62: MATH WAVE SYNC, the formula's rhythm locked to the tempo (every key the same pattern, transposed); preset BYTE SYNC
(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 |
||
|
|
f39e8c9306 |
V10.8.61: VISUAL from the system's own beings, fused and morphing (codex/visual-morph 26a6b4d7); VOICE / ANIMAL in a scene in three
(the owner: "están mucho mejor las visuales"; earlier: "usar la estética que ya tiene el sistema", "ANIMAL y VOICE
integrados y deformados, morph entre cosas")
- The VISUAL prototype (
|
||
|
|
68e9323028 |
V10.8.60 (2/2): the USB resampler's table halved, its 7.5 KiB the sound's per-block code in RAM; core 1's parts from the RAM copy
(the owner: "dale": JIANT BYTE's CPU technique, byte-cpu-light, in JIANT FM) - usb.c rs_tab: phases 0..79 only (7.5 KiB of the pool back); phases 80..159 read phase 159 - p's taps on the input's history kept newest first too (rs.bl / rs.br, 256 B): the FIR loop as it was (target budget 881 of 838, +5 %), the same products and sums (tests/uac_test.c bit for bit, its table checks through RS_TAB). - app.ld: RAMTEXT 7.5 KiB lower (POOL its 7.5 KiB shorter, its spare as it was: 8448 B); app.ld .hot_text.lo.* and tools/build.py HOT_LO (the lowest of the RAM code: what was there stays): voice_block, mod_begin, mod_voice, tf_run, mc_split, mc_join, drum_side_begin, macro_master, tone_set, lev_block. RAM code 40168 of 42496 (2328 B headroom). - fx.c mc_job: core 1's parts through mix_part_m0, the RAM copy (BYTE's devcpu): its own inlined flash copy gone (3.5 KiB of the image back). - seq.c kx_block: a kit's P_XPR (a GEN DRUM part's 110) no longer runs the pass it never reads (BYTE's devcpu2; the same state each block). Not ported: the UI's canvas halved and drawn in bands (BYTE's devcpu3, its 35 KiB for more RAM code: FM's pages draw far more tall strips; a later step), the SINE quarter table in RAM, CLAY / PFX / LIFE idle shortcuts (FM's differ). The lines model (tests/cpu_lines_test.py, worst block a core, before -> after): 101 GEN EXPLORE s123 + CLOUD/delay/chorus 77/50 -> 60/31 %; 102 59/48 -> 41/30; 103 95/22 -> 78/14; 104 72/48 -> 54/32; 105 84/59 -> 66/40; 0c CPU TEST's song 84/74 -> 70/58. The scenes' sound the same bit for bit (cpu_lines_test hashes before and after); audio.c as V23's. Layout recorded again (FELUCCA_REPIN=keep); the plain build passes. Image 580120 of 584336 (4216 B free), BT segment as before, RAM .data+.bss 97220 of 98304, pool spare 8448. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
7c3df1a659 |
V10.8.60 (1/2): the lines model of the FM-1's CPU, tools/audio_map.txt, each RAM call's own reach
Technique from JIANT BYTE byte-cpu-light (devcpu2/devcpu3, commits 6892b2b6..212c8772): the FM-1's time a block
goes by the distinct 32-byte lines of the flash the sound reads (~1.25 us each; the 32 KiB I-cache shared by both
cores and the UI), plus its instructions.
- tools/build.py audio_map: every build writes tools/audio_map.txt (each device function's size, section, address
taken, calls through a register, callees).
- tests/cpu_lines_test.{c,py}, cpu_lines_lk.c: the model on the host (built -fno-inline, valgrind lackey: each
block's lines a core and a part; callgrind: the calls; the device's split replayed). Scenes: GEN songs 101..105
(101 with CLOUD, the delay and the chorus) and 0c, SAVE > TOOLS 6 CPU TEST's song. CL_TOP=N lists the dearest
functions. Not a CI gate yet (FM's worst GEN block is over 65 %): numbers only.
- fx.c: CPU_LINES_PART marks around a part's block (nothing on the device: the same image) and, on the model's host,
mix_part_m0 a function of its own as on the FM-1.
- tools/build.py check: each RAM code call's reach from its own address (BYTE's devcpu3).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
|
||
|
|
8fa10082b7 |
V10.8.59: VISUAL from the song, very reactive to every hit; SCL lighter and PER1/PER2 settings no longer read (room)
(the owner: "por cada canción una visual bastante diferente, muy audio reactiva: que cambie la forma, la posición por
cada golpe"; "todas deformadas y fusionadas con este motor"; option 2 for the room: SCL's drawings and the old settings)
- VISUAL (codex/visual-react-wip
|
||
|
|
12906768e0 |
WIP (does not fit): VISUAL per-song seed, hits (kick jump/thump, snare glitch, note lobes), one deformation field for every layer
Over budget by ~440 B (image + BT together). Not for release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
9eb24ebf8e |
V10.8.58: VISUAL composed in the same room (data apart, a real head, the seed varies everything, PALETTE every layer)
(the owner: "veamos qué se puede hacer con menos espacio") - The data: at most 2..4 marks (DENSITY), each away from the last one and inside the screen (on the screen's rows, so the two strips mark the same points); callouts to the right. - The scanned head: a point table (crown, temples, cheekbones, jaw down to the neck; mirrored), its scan lines at the table's rows by the tracks' levels, two eye sockets (was an egg). - The seed: the core on the left or right third, its height and size; the ground's height and size; WHEEL's worms in some scenes only, on the other third; the mesh or its rows alone (topographic lines). The skull's spokes end in square tips (tentacles). - PALETTE recolours every layer (ground, links, data, the skull's ring); MIXED one of three duos a scene (blue and orange, green and red, violet and yellow, cyan data). The creature as a core is gone (room). Layout recorded again (FELUCCA_REPIN=keep); the plain build passes. Image 584332 of 584336 (4 B free), BT segment 73716 of 73728 (12 B free), RAM code unchanged (32700). audio.c as V23's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
764c15fc2d |
V10.8.57: HOME > VISUAL the whole screen, a composition of layers from a seed (cybernetic anatomy and data)
(the owner: "podría ser mucho mejor" with fifteen references, "anatomía cibernética y data", "una mezcla de todo eso", "el recurso de la misma figura en varios tamaños es feo", the whole screen, "le faltan formas y comportamientos") - HOME > VISUAL is drawn on the whole screen (as the saver): no header, tabs, cards or footer; a knob turned shows its name and value a line at the foot a moment, OCT+'s banner the same; any other key leaves as before. - vis_fig (ui_lzhome.c): a composition from the seed, no shape drawn at several sizes: a ground low (an isometric mesh of the output's history with digits on it; stars flying out of a vanishing point, streaks on the beat; a rain of glyphs, the heads bright), WHEEL's worms rising (vx_gx, as the creature draws them), a core on a third (a radial skull diagram: the skull's ring, spokes from a hub to the callouts, a dashed circle; a scanned head: its outline, a thermal fill of scan lines by the tracks' levels, the eyes; or one of the creatures), and the data over it (tracking boxes on the marked points, joined by lines, live numbers). The output's history (16 x 16) kept in LOFI's half of vxs.wv, once a tick (vis_tick). KNOB 1 DENSITY (was COMPLEX), 2 WOBBLE, 3 PALETTE MIXED THERMAL ORG/BLUE GRN/RED AMBER MONO, 4 REACT. The saver another composition every 30 s. - Not in for room (image 60 B, BT 84 B free): topographic contours (~200 B), tentacles with square tips (~290 B), a Lissajous panel (~250 B), a network (~370 B), a globe/radar (~500 B), a ribbon bundle (~230 B), the side meters and grid inset (~250 B). - tests: ui_test (VISUAL: DENSITY, a knob's line, it moves; the soak skips VISUAL's whole screen). Layout recorded again (FELUCCA_REPIN=keep); the plain build passes. Image 584276 of 584336 (60 B free), BT segment 73644 of 73728 (84 B free), RAM code unchanged (32700), pool spare 8448. audio.c as V23's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
f23d2a475a |
V10.8.56: HOME > VISUAL (random figures of the creatures' pieces) and MENU > SAVER
(the owner: "un motor de visuales adentro del sintetizador: visuales random en HOME"; "las dos") - HOME > VISUAL, BEING's second page (in ROUTES' place, gone since V10.7.66; its dead drawing code removed): a figure from a seed (ui_lzhome.c vis_fig, Bluetooth segment) of the creatures' pieces: wobbling rings (vx_wf), roses of k petals, waving tentacles, small orbiting rings; it turns with the time, faster, larger and warmer with the output's level. KNOB 1 COMPLEX (3..12 pieces), 2 WOBBLE (the circles' deformation), 3 PALETTE (HEAT THEME MONO COLD), 4 REACT (how much it follows the sound) (params.c VIS_DESC, as LIFE's knobs; not saved); OCT+ a new figure, "VISUAL #n"; the footer says "OCT+ NEW FIGURE" (1.5 s on entering, and while OCT+ is held). - MENU > DISPLAY > SAVER (OFF 1 3 5 10 MIN, 3 the default; editor id 33): after that long with no panel input the figure, a new one, the whole screen (two 120-row strips), moving with the music; before SCREEN OFF's dark if that comes later; not in the menu. The first press, key or turn only brings the page back (swallowed as SCREEN OFF's wake: scrn's SCR_VIS, kb_asleep). Stored in bits 4-6 of engine 15's byte 12 (the old hint counts', 0 there: 3 MIN). - tests: ui_test (HOME's eleven pages; VISUAL's knob, seed, banner and motion; SAVER's row, default, the whole-screen figure and its swallowed wake; MENU's 36 rows, DISPLAY's nine). Layout recorded again (FELUCCA_REPIN=keep); the plain build passes. Image 583632 of 584336 (704 B free), BT segment 72564 of 73728 (1164 B free), RAM code unchanged (32700), pool spare 8448. audio.c as V23's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
f6806c36a8 |
V10.8.55: the creatures' circles wobble, their colours as their originals', DRUM-X's kit a table
(the owner: "un poco más de deformidad en los círculos, quizás barato con un modificador del motor de animaciones"; "DRUM-X también podés probar"; "tenés que tratar de matchear los colores") - vx_wf: a circle's radius at an angle, give or take vxs.wb of two lobes turning (3 and 5 a turn) with vxs.wph; vx_arc wobbles by it (every vx_ring), vx_gx sets it (more with the sound) and clears it: ANALOG's isotherms, WHEEL's heads, STRING's web rings and MATH's segments organic. Other creatures untouched (wb 0). +80 B. - Colours as each original's: ANALOG's isotherms (36 + 54 a ring, the level, DRIVE), DRIVE's spikes only past 26 and where the wave is high, NOISE's cilia only with NOISE, RES's ring; WHEEL's tubes and walls warmed by DRIVE (c0), its worms' gentle wave (10 points, the harmonic / 320); STRING's silk by BRIGHT (rings 20 + BRIGHT, rays 30 + BRIGHT), the spider 150 + the level, the cocoon by BODY; MATH BYTE's segments lit by the bits of the byte its newest voice holds (FLOAT by the wave). - vx_gx in silence draws an idle wave (two slow cycles) instead of none: PHASE's sole and MATH's segments on HOME > BEING as their originals rested. The snail's shell does not wobble (its chambers stand on it). - DRUM-X: the kit's eleven beings a table (VK_B) drawn by one loop, vx_bug's two outlines through vx_body (LITE/ECO there); the same picture. vx_kit + vx_bug 2250 B -> 1750 B + 154 B table. - WEST, VOICE, ANIMAL and FM6 keep their own: they already draw with vx_body / vx_bface / vx_curve, and one routine would lose the circuit, the articulation, the morph, the algorithm and its operators for under 400 B. Layout recorded again (FELUCCA_REPIN=keep); the plain build passes. Image 583832 of 584336 (504 B free), BT segment 71788 of 73728 (1940 B free), RAM code unchanged (32700), pool spare 8448. audio.c as V23's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
7a5b8141dc |
V10.8.55: PHASE's snail and MATH's caterpillar drawn as their originals were
(the owner: "el dibujo del caracol puede mejorar porque no es una limitación del motor, es una mala interpretación del diseño original"; "la oruga lo mismo, está bien pero podría estar mejor") - PHASE (vx_gsnail): the snail crawling to the left as the CARACOL was drawn: head, tentacles and eyestalks at the left (pulling in on a note, the mouth shouting with the level), its back a smooth line, its sole the wave on the ground, the shell on its back (the spiral 2.15 turns, FB fraying it; its 24 chambers crowding with DCW, a bent phase; SUB's outer whorl breathing), a little one following when DETUNE or RING. - MATH / LOFI (vx_gchain): the caterpillar crawling in a wave, the head at the right (a bicho shouting with the level, squashed by the note), 8 segments back thinning to the tail, rings lit by the byte's bits with their dot, legs lifting with them, its two skins the sound itself, the antennae curling, tipped by the two lowest bits. - Both read the sound out (the scope) as vx_gx does; in the image (the Bluetooth segment full): image +3216 B, BT segment -1020 B. Layout recorded again (FELUCCA_REPIN=keep); the plain build passes. Image 584000 of 584336 (336 B free), BT segment 71660 of 73728. audio.c as V23's. ui_test passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
e1378c2265 |
V10.8.54: the creatures through one routine, Studio's project library, RESOUND on the FM-1, more banners
(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
|
||
|
|
1078b1fdf2 |
V10.8.53: the pictures' shared engine (room), SEQ EDIT with GENERATE and RANDOM, banners
(the owner: "todos los gráficos del sistema vengan del mismo motor así se achica el espacio que ocupan") - ui_gx.c, the pictures' shared engine: gx_col (heat cells), gx_sine, gx_chip, gx_keys. FX's DELAY (echo columns by FDBK, TIME apart, the one sounding yellow), REVERB (its tail as cells, a sweep), CHORUS (two sines at RATE) and SENDS drawn with it, still moving with the sound; DIST's and MASTER CLIP's curve one routine (fxg_curve); SCL KEY and CHORD keyboards through gx_keys; SAVE's chips through gx_chip. - The room: the V face (big numbers) gone, values in M; the count-in a line "4 3 2 1" (were four cells); FX > MASTER > EQ's curve (BT) gone; SAVE > TOOLS' picture a word; the lists' small beings a mark; LFO's orbit dots gone; ui_gx.c, editor_screen.c, seq_preview.c at minsize. Protected pictures untouched. - SEQ EDIT (SEQ held; the V10.8.52 patch applied): KNOB 1/2 the selection, 3 the ACTION, 4 its amount, D5 / OCT+ does it, F#5 UNDO / REDO named. New: GENERATE (the track's generator inside the selection only, KNOB 4 the genre, a new seed each time: "GEN TECHNO 5-8 #1791"; trackgen_make(lo, cnt)) and RANDOM (notes in the scale on a 1/4 1/8 1/16 1/32 grid, DRUM: hits). - Banners: GLO mutes ("T3 MUTED" / "KICK ON"), UNMUTE ALL ("ALL UNMUTED"), SCL ROOT ("ROOT D"), REC B3 ("QUANTIZE ON"). - tests: ui_test's SEQ TOOLS checks rewritten for SEQ EDIT (selection, STRETCH/SQUEEZE/REPEAT, DUP, REVERSE, ROTATE, CLEAR, CLR AUTO, UNDO/REDO key, GENERATE, RANDOM, LEDs), the count-in's figures; track_generator_test for trackgen_make(0, 0). Layout recorded again (FELUCCA_REPIN=keep); the plain build passes. Image 584308 of 584336 (28 B free), BT segment 73724 of 73728, RAM code unchanged (32688). audio.c as V23's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |