mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-06 12:54:29 +01:00
codex/repeat
1347
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 |
||
|
|
984d484a43 |
V10.8.84 candidate: WAVE's user tables U1..U6 from JIANT Studio (protocol 1.7)
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 |
||
|
|
4e3b563b15 |
V10.8.83 candidate: the WAVE engine (JIANT BYTE's 16 waves as tables; A / B MIX, POS, WARP, DETUNE, SUB)
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 |
||
|
|
61c7cff825 |
V10.8.82 candidate: JIANT BYTE's second code segment (the editor's commands and GEN's generators out of the app slot, 31.8 KB free)
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
|
||
|
|
cf9b651392 |
mod_test: WIDTH's delay check without the reverb (ROOM stereo always now) and the master's DC states from 0
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 |
||
|
|
33ad363367 |
WIP ROOM: MOD is DIFF on ROOM (the tail's diffusion: 0 the noise heard, up deeper)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
e38f001243 |
WIP ROOM: the lines moved by smoothed noise (a random target now and then, RATE how often, glided to) instead of a sine: no period, a more diffuse tail, no extra cost a sample
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
fb080309d8 |
WIP ROOM prototype (not for release): one kernel for ROOM / MOD / WIDE, the whole ring (SIZE grows the room), input diffusion, stereo always, mid-line taps, a gentle modulation always on
Listening A/B sent to the owner; RAM code headroom 1848 < 2048 B still to solve, CPU not measured yet. tests/rvdemo.c and tests/ir.c: the listening scenes and impulse responses. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
99f8d28907 |
Emulator: Studio's stems and MIDI recorder (jiantEmu.tap) and RADIO (jiantEmu.gen) on the published page
The page and worklet built with the firmware (the public /emu/ and /preview/emu/) lacked the tap main's page has, so JIANT Studio's RECORD input "JIANT emulator · stems (8 channels)" recorded nothing. The wasm already exports web_stems, web_stem_out, web_midi_tap and web_midi_take: main's worklet.js taken whole (each call checked), the page's jiantEmu.tap / jiantEmu.gen and their messages added. Checked headless: 8 stems with sound while a GEN piece plays. 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 | ||
|
|
64999b462e | Reset Drone Clay on Clear and show keyboard trigger names | ||
|
|
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 |
||
|
|
064db1b7b1 |
Merge step-ramp (7c15b0bb): RAMP as a MOD source
ui.c comp_vname: step-ramp's (its packed ORD DEC FR GRID_HIT and one copy of the labels; byte-morph's HIT -> GRID_HIT taken over by it). tools/audio_layout.txt, audio_map.txt: step-ramp's (re-recorded in the next commit). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
a6aa4bba7e |
byte-morph: MORPH's dispatch in lofi_render, once a block (lofi_bmr: lofi_byte_render on a shadow of the track's values, unchanged); lofi_bmorph makes each formula's own time (start, VAR, BEND)
WIP (flash over by 172 B; fixed in the next commits). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh |
||
|
|
9737feb7cb |
MATH BYTE MORPH (prototype): ALGO B and MORPH on MATH's MORE page, a crossfade of the two formulas
The owner: "Math ya tiene morph entre fórmulas de float, sería ideal si no está, hacerlo también en byte." BYTE (and WAVE SYNC) now morph as FLOAT does (V10.7.69): MORPH 0 ALGO A alone, bit for bit as before; 127 ALGO B alone, as ALGO = B (its own start, BYTE_T0); between, both formulas on the same t (TIME, LOOP, VAR, BEND, MOTION apply to both; B from its own start: B's BYTE_T0 less A's added to its t) and their bytes crossfaded. USER as ALGO A morphs as its bytecode's formula. Where: MORE's KNOB 3 ALGO B (core.h P_MALGB, WHEEL's ROTOR DEPTH slot: 0 .. 127 over B01 .. B48, a detent each; 127, B48, on every track) and KNOB 4 MORPH (P_MMRPH = EDIT > MORPH's slot, 0 on every MATH track, its page never shown on BYTE or FLOAT since V10.6e; NRPN 71 and AUTO records reach it). FLOAT's MORE shows the two knobs empty (its own stay on EDIT). lofi_bsel decides once a block (the formula, its start; between the ends A B MORPH and the starts packed into f), and lofi_byte_render calls lofi_byte or lofi_bmorph through a pointer chosen there: no test a sample. Flash: +236 B (lofi_bsel 110, lofi_bmorph 46, render +12, track_desc +52, ALGO B's descriptor 16), room 304 B: trk_slot(), one copy of (t - trk) % NTRK for 14 UI sites (-268 net), MORPH_DESC = FLOAT's identical MORPH descriptor, comp_vname's HIT = GRID_HIT's last three, SPLIT's labels packed, vx_rnd = dsp.c noise32. Image 584284 B of 584336 (52 B free; was 0), BT 73660 (-32), RAM .data+.bss 98120 (unchanged). audio.c untouched; tools/audio_layout.txt recorded again (FELUCCA_REPIN=keep); a plain build passes; target budget lofi_byte_render 213 in loops (was 210). CPU (tests/cpu_lines_test.py, mean / worst %, the busier core): 101 .. 108 the same %, the same instructions; 0c 65/69 -> 66/69 (lines); 0d MORPH 0 core 1 51/52 -> 52/53 (+0.4 % instructions: the call through the pointer), MORPH 50 % 55/56 (+8.5 %), MORPH 127 51/52; 0e 82/85 -> 82/86, USER at 50 % 83/86. CL_BMORPH=<0..127> sets 0d / 0e's BYTE MORPH (toward B08). Tests: math_morph_test extended (MORPH 0 = b983fbb3's hashes with VAR BEND LOOP, ALGO 150, SYNC; 127 = ALGO B alone; 1 and 64 neither; lofi_bsel's packing; USER; a factory sound MORPH 0; the knobs on BYTE's MORE, none on FLOAT's; a track of zeros plays A). docs/NRPN.md, web/NRPN.md: 78 ALGO B on MATH. Every suite of voice-user-check.yml's check job run locally: all ok; regress 219 golden renders, 0 changed. 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 |
||
|
|
b983fbb3dc |
V10.8.77: gen_entry's MID hashes recorded again (GEN's MATH tracks load TIME LOCK); loopq hands m.inc as lofi_render does
CI on
|
||
|
|
f4d9c7c880 |
V10.8.77: MATH TIME (KEY / LOCK / TEMPO) on MATH's MORE page; LOCK the default
The owner, on the A/B: "Genial!!! Aplicalo en jiant fm y jiant byte". The
TIME knob of
|
||
|
|
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
|
||
|
|
7198f8f88d |
V10.8.75: math_user_test names the FLOAT formula over 64 bytes right (F32, 125 B)
The V10.8.75 commit message says "B16 (65) and F43 (125) don't fit; every other of BYTE's 96 factory texts does": the one is F32, and BYTE's F05 and F22 (its kick and drum loop) use ph(), a state per voice, so they are refused too. 93 of BYTE's 96 factory formulas run in JIANT FM's MATH USER. The test's label only; nothing else changes. 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 |
||
|
|
bdbc38fae7 |
V10.8.67: VISUAL's point budget split as meant (the first picture 1800 a strip, the second 900; busy 700 / 300)
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 |