Repository navigation
Digitakt II base: chord recording back, voices' own sounds restored, with #2204 - #2477
Conversation
… 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
…); a leaving track gets its own back
…se/dt2-voices-fixes
…rom this release" This reverts commit e18ca55.
…back when it leaves its group
# 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, repeat98#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.
|
Thanks for bringing chord recording back this way. The Plan for the release: #2204, this one, #2446 and #2445 go into
Pull requests into |
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.
There was a problem hiding this comment.
Thanks for the quick turnaround. Here's where it stands at 67c25f12:
- Settled: the release step is out. The binding, package and pin are back at
948be0c4, the verification record stays, and the check result for this head is in the description. Thanks. - Still open from my review earlier today: points 2 to 4. That's #2204's four points (fix them there, then merge it here again); saving while linked, where the voices' own sounds are still kept only in memory, so a project saved while linked loses them for good, and a pattern played while linked keeps the lead's length, swing and speed; and the unit cases for the restore (save while linked then a power cycle, a pattern change while linked, a kit reload while linked, each followed by VOICES back to 1).
Point 3 is the one to settle first. It decides whether point 4 tests a restore at all, or just confirms that the voice tracks' own sounds are never touched.
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
|
Thanks for the review. Done on the new heads:
|
There was a problem hiding this comment.
Thanks, this answers everything that was still open. At 2b58542f:
- Settled: #2204's points are merged in here. Nothing is routed or recorded while
regroupruns, the full SHA-256s are listed, and there is one way to find the kit's track sounds. - Settled: the kit write. Your reason holds: a voice step's trig defaults and timing come from its own pattern track, and a note can't carry the timing. The loss is now where a musician reads it: set VOICES back to 1 before saving, changing kit or loading a project. Doing it without the kit write can come later as its own change.
- Settled: the restore cases on the unit. I'm glad the pattern case caught a real bug. In the code,
keep_ownno longer keeps over an earlier copy, andrestore_ownwrites back into the pattern the settings came from. That matches the pass on image865cbe34.
Nothing else is needed from you. This goes into the combined Digitakt II base, so the owner approves the merge.
What was wrong or hard
Chord recording (#2138) was merged into
base/digitakt-ii-nextand then held back (e18ca55eb): it still needed the unit cases and its release step. Since then the tester found that voice tracks kept the lead's copied sound (and machine) after VOICES went back to 1, and #2204 fixed other linked-voices bugs in the samevoices.c.This pull request brings chord recording back with the restore fix and #2204. Following the review, binding, package and pin are left to the combined base of the release.
What this changes
git revert e18ca55eb: chord recording as merged in Improvement: Digitakt II base: chords recorded across linked voices #2138 (voices.c,voices-record-entry.s, the live-record site0x40048fb2inbase.json, its changelog).voices.c): a voice track's own kit sound and pattern-track settings (+0x480..+0x48f) are kept in memory when it joins a group and put back when it leaves: the settings into the pattern they came from, the sound if the same kit is on. What was kept is never kept over while the track stays linked (VOICES 3 to 1 passes 2). A project load drops what was kept.VOICES.md): set VOICES back to 1 before saving, changing kit or loading a project; a project saved while linked keeps the voice tracks as copies of the lead, and patterns played while linked keep the lead's length, swing and speed on the voice tracks. The kit write stays in this release;VOICES.mdsays why (a voice step's trig defaults and timing come from its own pattern track).regroupruns, here also no live recording; full SHA-256s). One way to find the kit's track sounds:KIT_SOUNDS=[0x80004704] + 0x34. If Fix: Digitakt II linked voices: VOICES row label and icon, voices keep the lead's sound and machine #2204 merges first, this diff shrinks to the chord-recording part.docs/verification/2026-11-30-digitakt-ii-voices-chord-recording-base.md(no binding or pin here).How I checked it
Tested on a unit: base 616b05dd (package sha256 616b05ddb30079e705ea0aa2e9edd9e3fca31cdb6960976978d51f8318ef0ceb), the code of this head, in image
865cbe34(SHA-256865cbe341dd002c6d88f3a1daae3c93c27024e801743daa8cbef1784b1c84c6c), Digitakt II (MKII), OS 1.17, over USB, by the tester (Claptom-music): the pattern-change restore case. Every other case ran on imaged3372d20(base42465f2a154da6cb364027b464ed57af9a50fcf38df1891644fac0c957eeb8b4), which differs from this head only in the restore fix below; earlier rounds onb8cff950and2b4850e1. Morpha on the lead in all of them.Edge cases
2b4850e1(and800a4a6ffor #2138)67687eeeand laterb8cff950,2b4850e1; emulator: type bytes 0, 9 (linked), 0d3372d20d3372d20d3372d20regrouptakes the former voices from the previous projectd3372d20d3372d20d3372d20failed (both patterns kept the lead's); fixed,865cbe34d3372d20b6ee842b(#2204) and2b4850e1094b8a09,2b4850e127dfadf8: first note identical sample for sample, level identical in every 50 ms window27dfadf8onlyEmulator for the pattern fix (
cf_script): track 2's first TRIG default poked to 40 on A01, VOICES 3 on A01, then VOICES 1 on A02: A01 reads 40 again and A02 keeps the lead's; before the fix 100 on both.Repository:
npm run check -- --base upstream/base/digitakt-ii-nexton headef7df84e3(current withbase/digitakt-ii-next): every stage passed excepttest, whose failures are all time-outs on this computer (a Windows drive under WSL):change-scope,firmware-download,module-guidesandoctatrack-emulator/sessionat 5 s (the last two pass alone with a longer limit, checked on #2204), and threemodule-doctorcases whose doctor is cut off (ETIMEDOUT, 30-41 s here). None touch the base.Guides
VOICES.mdrecords the restore, its limits and why the kit write stays. Not run:npm run pr:ready, which mergesmaininto a branch that targetsbase/digitakt-ii-next(as noted on #2130).