Skip to content

Improvement: Digitakt II cumulative base draft (linked voices fixes and chord recording) - #2566

Draft
repeat98 wants to merge 27 commits into
mainfrom
base/digitakt-ii-next
Draft

repeat98 wants to merge 27 commits into
mainfrom
base/digitakt-ii-next

Conversation

@repeat98

@repeat98 repeat98 commented Dec 3, 2026

Copy link
Copy Markdown
Owner

What works: two linked-voices fixes from Claptom-music are on base/digitakt-ii-next, and both ran on his Digitakt II (OS 1.17). What's broken or untested: nothing failed on the unit; a muted lead and two machine modules together have not run. Musically: chords recorded across linked voices come back, the VOICES row shows its own track, and voice tracks get their own sounds back when VOICES returns to 1. Who acts: the owner, for the release step and a long run on a unit. Ran on a unit: yes, the submitter's records below.

What was wrong or hard

The Digitakt II's last base release (948be0c4, #1999) shipped linked voices with chord recording held back. Its release checks then found linked-voices bugs: the VOICES label, a wrong first note when VOICES drops while playing, and voice tracks keeping the lead's sound after VOICES goes back to 1. No cumulative draft was open for the next Digitakt II base, so those fixes had nowhere to collect.

What this changes

This is the Digitakt II's cumulative base draft: every Digitakt II base change goes on base/digitakt-ii-next and ships from here as one release, after a run on a unit. The branch was fast-forwarded to main on 3 December. Merged into it so far:

Not in it yet: base-binding.json still names 948be0c4. The binding, the package and the pin are the release step for the combined base, as both reviews asked. Still open as drafts into this branch: #2445 (the effect slot, core_fx) and then #2446 (module filter types, core_filters). #2398 (Modwerk's own core for the Digitakt II base) goes to main separately for now; where it lands relative to this draft is the owner's call.

When this ships, merge with --merge, not squash, so the commits the records name stay on main.

How I checked it

The two pull requests were reviewed on 30 November and 1 December and merged into the branch with --merge on 3 December. Each passed its describe check. Nothing was rebuilt here: the combined base is built at the release step.

Tested on a unit: Claptom-music, Digitakt II, OS 1.17, over USB, with Morpha on the lead: image d3372d20 (SHA-256 d3372d2028941687702804defef5f220253d656c90c6eb4200dd7ce7c73ebdcb) for #2204's review cases and most of #2477's; image 865cbe34 (SHA-256 865cbe341dd002c6d88f3a1daae3c93c27024e801743daa8cbef1784b1c84c6c) with base 616b05dd (package SHA-256 616b05ddb30079e705ea0aa2e9edd9e3fca31cdb6960976978d51f8318ef0ceb) for the pattern-change restore case. VOICES.md lists every tested base and image by its full SHA-256. The combined release base has not run yet.

Edge cases

Case Why this change makes it a risk How run Result
Lowering VOICES while playing A former voice's fading note went to the wrong machine Unit, b6ee842b pass
VOICES 3, 1, 3, then edits The loaded-sound pointer was cleared too early Unit, b6ee842b pass
Chord recorded with the pattern running Pattern and live notes compete for voice tracks Unit, 2b4850e1 pass
VOICES back to 1 after linking The kept sound is written back into the kit Unit, b8cff950, 2b4850e1 pass
A kit reload while linked, then a chord Stock forgets the loaded sound Unit, d3372d20 pass
A sound lock on the lead, then a chord Same Unit, d3372d20 pass
MIDI chords Notes from MIDI take the voices' path Unit, d3372d20 pass
Load Project with different VOICES regroup takes the former voices from the previous project Unit, d3372d20 pass
SAVE PROJECT while linked, power cycle The own sounds live in memory only Unit, d3372d20 pass: the copies stay, as the changelog says
A muted lead Voices follow the lead's state each frame not run: still open from both reviews not run
Two machine modules with linked voices Machine registry and voices share the frame not run: needs the combined base not run
The combined release base Binding, package and pin are built at release not run: release step not done yet not run

What the guides lacked or got wrong, and where I fixed it: nothing new. docs/DEVELOPER_WORKFLOW.md#change-a-base already says to start a draft from base/<machine>-next when none is open.


Generated by Claude Code

Claptom-music and others added 27 commits November 25, 2026 19:38
… track that leaves a group

- SETTINGS > VOICES: the label is rewritten each time the menu asks for it (SETTINGS builds its rows once, so it kept
  the track that was on then), and the row draws an icon in the stock icons' place with the count beside it.
- Lowering VOICES while notes ring: a former voice's note-off, which still names the lead, goes to the track that
  holds the note (it ended the lead's note of the same pitch instead, and the voice's note rang on), with the lead's
  machine until the note ends; the track's loaded-sound pointer is cleared so its next note loads its own sound.
- VOICES.md and the 948be0c4 verification record: the release checks on 27dfadf8 and the emulator checks of this base.
…ices keep its machine until their own note; icon eyes
# Conflicts:
#	sdk/machines/digitakt-ii/elekloader/modwerk/VOICES.md
#	sdk/machines/digitakt-ii/elekloader/modwerk/voices.c
…ecording, restored sounds

The base of this branch (base/digitakt-ii-next with chord recording brought back, #2204 and the restore of a voice
track's own sound), recorded by machine:base --write with the reviewed toolchain (18,852 bytes .run, 30,732 bytes
.bss, 48 sites) and vendored for step 2's pin. It is byte for byte the base of the unit-tested images b8cff950 and
2b4850e1. The machine page's core image size follows; the verification record names the build and its checks.
The owner asked for the binding, the vendored package and the pin to come once, on the combined build of the next release, so base-binding.json, the machine page's core image size and the packages go back to 948be0c4. The verification record keeps the unit results of 1c2c2016 and says where the release step happens.
Binding, package and pin are recorded once, on the combined base of the release (owner's review). The
verification record stays, without its Pin section.
…e regroup runs; the loss when saving while linked, stated
…as kept is never kept over (VOICES 3 to 1 on another pattern lost them on a unit)
…into base/dt2-chord-recording-again

# Conflicts:
#	docs/verification/2026-11-30-digitakt-ii-voices-chord-recording-base.md
Fix: Digitakt II linked voices: VOICES row label and icon, voices keep the lead's sound and machine
…again

Digitakt II base: chord recording back, voices' own sounds restored, with #2204

This branch has not been deployed

No deployments
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