Commit Graph
3 Commits
Author SHA1 Message Date
Claude 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
2026-11-28 15:49:34 +00:00
Claude 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
2026-11-27 16:49:21 +00:00
Claude 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
2026-11-27 16:24:01 +00:00