Repository navigation
Digitakt II base 1c2c2016: chord recording back, voices' own sounds restored, with #2204 - #2477
Claptom-music wants to merge 15 commits into
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.
What was wrong or hard
Chord recording (#2138) was merged into
base/digitakt-ii-nextand then held back (e18ca55eb): it still needed its release step (binding, package, pin) and the unit cases on the pull request. 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. Its source builds
1c2c2016, byte for byte the base the tester ran on the unit. It carries no release step: the binding, the package and the pin come once, on the combined build of the next release (#2204, this, #2445 and #2446), as the owner asked on 30 November.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, tagged with the kit (core_kit_on) and pattern, when it joins a group, and put back when it leaves, so VOICES back at 1 gives each track its own machine and sound again. A project load drops what was kept. A project saved while linked still saves the copies.base-binding.json, the machine page's core image size and the vendored packages stay at948be0c4. The first version of this branch recorded1c2c2016there; that commit's files are taken out again. Built with the reviewed toolchain, this source gives 18,852 bytes.run, 30,732 bytes.bssand 48 sites. Verification record:docs/verification/2026-11-30-digitakt-ii-voices-chord-recording-base.md.How I checked it
Tested on a unit: base 1c2c2016 (package sha256 1c2c201650f7f5f457af2e3bc99d3a74e89a2899ca2ea7ffd88b72648ac86cac), Digitakt II (MKII), OS 1.17, over USB, by the tester (Claptom-music) in images
b8cff950and2b4850e1, which carry this base byte for byte with the Morpha module on the lead: chord recording, voice tracks' own trigs, VOICES back to 1, VOICES lowered while playing, the shared level, POS and the built-in waves.Edge cases
2b4850e1(and800a4a6ffor #2138)67687eeeand laterb8cff950,2b4850e1; emulator: type bytes 0, 9 (linked), 0b6ee842b(#2204) and2b4850e1b6ee842b; emulator094b8a09,2b4850e1; emulator: chord silent at LEVEL 027dfadf8: first note identical sample for sample, level identical in every 50 ms window27dfadf8only27dfadf8they sounded odd; a recording is to come (VOICES.md)27dfadf8onlyRepository: after the release step came out,
npm run check -- --base upstream/base/digitakt-ii-nextpassed in 219 s (head67c25f122). Thedigi-build.test.tsfailure the first version had (binding1c2c2016, pin948be0c4) is gone, because the binding and pin agree again.sdk/tests/test_machine_base.pypasses (25 on #2204's branch). The base build reproduces: three separate builds of this code (the tester's images and this branch's--write) give1c2c2016.Guides
VOICES.mdrecords the restore and its memory-only limit. Nothing else in the guides was wrong for this work. Not run:npm run pr:ready, which mergesmaininto a branch that targetsbase/digitakt-ii-next(as noted on #2130).