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 f4d9c7c8: gen-entry's MOOD MID hashes changed, as they should: a GEN
piece's MATH tracks now carry P_MTIME LOCK (apply_preset_to). loopq calls
lofi_byte_render directly with a zeroed vmod_t, so m.inc 0 read as the song's
clock (TIME TEMPO) and its three WAVE BYTE hashes moved; it now hands the
slow time's step lofi_render would (TIME KEY: the note's inc; WAVE SYNC: 0),
and the V10.8.65 hashes hold again. Every later suite of the check job run
locally: all ok.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
This commit is contained in:
Claude committed 2026-11-30 20:15:28 +00:00
1 parent f4d9c7c880
commit b983fbb3dc
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ int main(void)
ui_power_on();
{ /* (V10.8.40) MOOD MID: the pieces V10.8.39's, byte for byte (from power-on: the tracks' values and steps, the
* song's, the kit; a checksum of 8 seeds in EXPLORE, RANDOM and HOUSE; V10.8.39's own, the same tool) */
static const uint32_t MID[3] = {0xce3b95dcu, 0xc1183dd2u, 0x9d6d2e23u}; /* (V10.8.72 recorded again: GEN's OTT, its tracks' LEVEL taken back, five genres' trims; V10.8.70: JIANT BYTE's grich, the call and response and EXPLORE's cut back, HOUSE and METALCORE trimmed; V10.8.69: JIANT BYTE's song plans (gsong), its sections' timbre moving, gen_post without the call and response, the kits' punch back; V10.8.68: JIANT BYTE 09ec6b57 / 77f2b602's generator, the kits shorter and less driven, EXPLORE's field and voices; V10.8.51: a genre's headroom, GTRIM; V10.8.48: the envelopes by role, the filter types; V10.8.47: JAZZ's hats; V10.8.46 recorded again: a part never still; V10.8.45: the envelopes' rules; V10.8.42 too; V10.8.41: the generator rewritten genre by genre:
static const uint32_t MID[3] = {0x7a2779a9u, 0xe78c362eu, 0x0d1b77b6u}; /* (V10.8.77 recorded again: GEN's MATH tracks load TIME LOCK; V10.8.72 recorded again: GEN's OTT, its tracks' LEVEL taken back, five genres' trims; V10.8.70: JIANT BYTE's grich, the call and response and EXPLORE's cut back, HOUSE and METALCORE trimmed; V10.8.69: JIANT BYTE's song plans (gsong), its sections' timbre moving, gen_post without the call and response, the kits' punch back; V10.8.68: JIANT BYTE 09ec6b57 / 77f2b602's generator, the kits shorter and less driven, EXPLORE's field and voices; V10.8.51: a genre's headroom, GTRIM; V10.8.48: the envelopes by role, the filter types; V10.8.47: JAZZ's hats; V10.8.46 recorded again: a part never still; V10.8.45: the envelopes' rules; V10.8.42 too; V10.8.41: the generator rewritten genre by genre:
* this version's own pieces, recorded with GEN_MID=1; a change to the generator records them again) */
uint32_t md, hs = 0, r, i;
for (r = 1; r <= NGENRE; r++) if (str_eq(GENRE[r - 1u].name, "HOUSE")) hs = r;
+2
View File
@@ -19,6 +19,8 @@ static uint32_t run(int16_t w, int16_t lp, uint32_t n, int bpm, uint32_t st, uin
memset(&t, 0, sizeof t); memset(&v, 0, sizeof v); memset(&m, 0, sizeof m);
t.p[P_E0] = 2; t.p[P_E1] = w; t.p[P_E2] = 4; t.p[P_E7] = lp; t.p[P_FCUT] = 127; t.p[P_FRES] = 50;
m.amp0 = m.amp1 = 32767; m.shape = 64 << 8;
m.inc = w == RW_BLOCK ? 0u : pitch_inc((int32_t)n << 4); /* (V10.8.77) the slow time's step, as lofi_render
* hands it (TIME KEY: the note's; WAVE SYNC: 0, the song's clock) */
tsvf_coef(&flt, 127 << 8, 50);
song.g[G_BPM] = bpm;
bar_n = 0; beat_n = 0; beat_pos = 0;