mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-06 12:54:29 +01:00
dice_seq (gen.c) writes the track's part with gen_role: on the piece's plan where a GEN piece plays in the track's key (its role in the piece kept, TEXTURE aside), else on choices made up for it (gen_pick, factored out of gen_make with the same calls in the same order: every GEN piece bit for bit, 135 fingerprints compared). Never what the track played before the press (90 % of its steps, over its root) nor one of its last four: another stream, and from the second try the role's figure from the whole generator (a lead's way, an arp's order, the chords' play, the drums' family), the bass's archetype moved (main 0.9.18's gba_vary, for the dice only: GEN's pieces unchanged). song_dice.c keeps the helpers GEN shares (roles, dhold, euclid, dname_has, dlevel, dlen ..., CPU TEST); DSTYLE, its drum bars (dice_bars.h empty, gen_drum_maps.py as main's), dice_drums / bass / pads / lead / arp / texture / sound gone. The old generator's statics and small constants kept as room (dh_r*, DH_C*): the merged statics' and constants' places are recorded; dsq_last in .bss.dice. No repin. Measured (scratch harness, 20 presses a genre on every genre's piece; tests/dice_metrics.c from main): lead strong steps on the chord tones 64 -> 88 %, steps 14 -> 47 %, leaps past a fifth 12.5 -> 2 %; bass on chord tones 65 -> 93 %; the same as the press before 0-1 % (was 0-2 %); near one of the 8 before: lead 10 -> 10 %, bass 9 -> 27 %, arp 11 -> 49 % (an arp on the piece's own chords), drums 3 -> 10 %. MANUAL EN / ES. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh