mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-06 12:54:29 +01:00
SEQ + SELECT (dice_seq) used song_dice.c's old song-idea generator: a random one of its 21 genres, that genre's progression (not the song's), its fixed drum bars and bass figures. Measured (tests/dice_metrics.c, 40 presses on a HOUSE piece's lead): its strong steps on the song's chord tones 58 %, 18 % leaps past a fifth, 1 % of them resolved. Now dice_seq writes the track's part with gen.c's generator (gen_role) on the piece's plan where a GEN piece plays in the track's key (its role in the piece kept), 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 unchanged), a new stream a press, never the press before's sequence again (three rerolls at most). Lead: 92 % chord tones, 62 % steps, 0.3 % leaps. song_dice.c keeps the helpers GEN shares; DSTYLE, its drum bars (dice_bars.h now empty), dice_drums / bass / pads / lead / arp / texture / sound, dchord: gone. App 584116 -> 576860 B (slot 584336). GEN's bass: an archetype was played as written, so a genre's throws repeated its bass in a third of them (MICRO HOUSE: near one of the 8 presses before in 60 %, all genres 39 %). gba_vary moves one to three of its steps a throw (a ghost after a note, a weak root up the octave or to the fifth, a weak note out, a note a sixteenth off), the same every bar: all genres now 17 % (one of the 8 before), 2 % (the press before). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh