Skip to content

Euclidean Scale 0.2.1: a pasted pattern keeps its rerolled melody - #2449

Merged
repeat98 merged 8 commits into
repeat98:mainfrom
Claptom-music:module/euclidean-scale-copy-melody
Nov 30, 2026
Merged

repeat98 merged 8 commits into
repeat98:mainfrom
Claptom-music:module/euclidean-scale-copy-melody

Conversation

@Claptom-music

Copy link
Copy Markdown
Contributor

Euclidean Scale 0.2.1-experimental (Digitakt II): a pasted pattern keeps its rerolled melody.

  • Change in behaviour: RNN's melody was seeded by the pattern slot, so a copied and pasted pattern played a different melody from the original (found while testing Improvement: Modwerk's own core for the Digitakt II base #2398). Each track's state now records the pattern that rolled the melody. A pasted pattern, or a kit loaded into another slot, plays the original's melody until RNN is pressed in the copy, which then gives the copy its own melody and leaves the original alone.
  • Compatibility: the EUS2 kit-data layout and size are unchanged, so projects saved with 0.2.0 load as before. Their states have no recorded origin; loading one records its own pattern, so existing melodies do not move. The reroll count now uses 13 bits and wraps after 8,191 presses of one track (it was 21 bits); the freed bits hold the origin. No new memory; the change only touches RNN, the reroll seed and the kit-data load.
  • Version and notes: 0.2.1-experimental, with its entry in src/community/module-changelogs/digitakt-ii-euclidean-scale.json.
  • Source and media: my own code, GPL-3.0-or-later as before. Both screenshots were retaken in digikit d6de4d0 on the tested ES1 image and match the 0.2.0 captures pixel for pixel; media/capture.json and the manifest name the new image.
  • Tested on a unit: Digitakt II, OS 1.17, image ES1 (SHA-256 27cbb0e4cb38a924d105a6466f621901f4c88f9843345150d8a2d0d8dc6a7a14): base d7ec4d3c, Euclidean Scale package 6562edd139a22213b134772d4d9b04bd4c26318756a7718e209e7598a004f6dc, Chord Arp and Track Names. I reported: an old project kept its melodies; a pasted pattern played the original's melody; RNN in the copy changed only the copy; a fresh melody survived a paste; both came back after SAVE PROJECT and a power cycle; Chord Arp worked beside it. The current revision rebuilds to the same image byte for byte.
  • Checks: npm run module:doctor -- euclidean-scale green; npm run pr:ready -- --author Claptom-music passes every check (it reports only that I am not a registered author, so the owner reviews this); scripts/build-elemod-isolated.sh and verify-elemod-release-exports.mjs reproduced the 70 release exports. The test procedure record and its edge-case table are in TESTING.md. Not tested: KIT LOAD from the +Drive into another slot, and a reroll count past 8,191. The procedure's unit steps are not run on the Digitakt II (no USB link the procedure drives yet).
  • What the guides lacked or got wrong: nothing.

Related to #2398

@repeat98
repeat98 merged commit 18504cd into repeat98:main Nov 30, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants