Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/2026-11-24-digitakt-ii-chord-recording.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Digitakt II base: chords recorded across linked voices. Live recording on a lead track (SETTINGS > VOICES above 1) now records each note of a chord as a step on the track that plays it, so a recorded chord plays back as a chord and each note can be edited like any step. A note the instrument starts playing a moment before the recording sees it is recorded on the track playing it, not skipped. While linked, the voice tracks take a copy of the lead's sound and of its track's TRIG page defaults, length, swing and speed, kept up to date a part at a time, so their own steps sound exactly like the lead; when the setting returns to 1 they get their own sound, machine and TRIG page settings back (kept in memory while linked: a project saved while linked keeps the copies). Notes from the keys and MIDI fill the group from the lead up whatever the pattern plays there, and the pattern's notes of the lead never land on a voice track with steps of its own. Checked in the emulator and, as reported by the author, on a unit (OS 1.17, Morpha on the lead): chords recorded with the pattern running land on every linked track, sound like the lead and edit like any step.
1 change: 1 addition & 0 deletions changelog/2026-11-25-digitakt-ii-voices-fixes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Digitakt II base: linked voices fixes. The SETTINGS > VOICES row now names the track you are on every time SETTINGS opens (it kept the track that was on when the menu was first built, so it could read T9 on any track), and it has an icon like the other SETTINGS rows, with the count beside it. A chord note from the keys or MIDI on a voice track now always plays the lead's sound: after the unit had forgotten which sound a track last loaded (a kit change, a sound lock), it could load the voice's own unedited sound with the lead's machine. When VOICES is lowered while notes ring or fade, a track that leaves the group keeps the lead's machine and ends its note there until it plays a note of its own, which brings back its own sound: before, its note's release could cut the lead's next note short, and its own machine could take over the fading note and play the lead's sample (a kick heard on the first hit). The lead's track level (the LEVEL knob and the mixer) now sets the whole group's volume, and a track that leaves the group gets its own level back. With every track at 1 nothing changes.
13 changes: 12 additions & 1 deletion docs/verification/2026-11-24-digitakt-ii-linked-voices-base.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,18 @@ Emulator (coupled ColdFire and sound chip, from a ready point saved with each im

`npm run test:procedure` was not run for this base: the Digitakt II steps it would add (USB link, soak, price) do not exist yet, as for `a3ced45e`.

Not checked on a unit: MIDI chords, sequencer trigs on a lead, a stock machine as the lead, muted voices.
Release checks on the same image `27dfadf8`, reported by @Claptom-music, 25 November 2026:

| Case | Result |
|---|---|
| Sequencer trigs on a linked lead (Morpha, track 1, VOICES 3) | pass |
| A stock SAMPLE lead (one-shot, track 5, VOICES 3) | sound pass; the row read `T9 VOICES` on every track (label bug) |
| A muted voice track | pass; a muted lead still sounds from the keys, not yet compared with stock (open) |
| MIDI chords | partial: received, but the audio sounds odd, maybe from track 1's own trigs (open, recording to come) |
| Changing VOICES while playing | no crash; lowering VOICES to 1, the lead's first note played without its own sound, as a plain kick (ungroup bug) |
| Two different machine modules at once | not run |

The label and ungroup bugs are fixed in the base after this one (`changelog/2026-11-25-digitakt-ii-voices-fixes.md`, `VOICES.md`).

## Pinned for the browser builder

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Digitakt II base 1c2c2016: linked-voices fixes, shared level, chord recording, restored sounds

The Digitakt II Modwerk base (OS 1.17) this pull request's source builds: **1c2c2016**. The release step (the binding, the vendored package and the pin) is not part of it: it is done once, on the combined build of the next release (owner, 30 November 2026), so `base-binding.json` still names `948be0c4`. It is `base/digitakt-ii-next` with the hold-back of chord recording (`e18ca55eb`) reverted, plus #2204 and the restore of a voice track's own sound. Over `948be0c4` it adds:

- the linked-voices fixes of #2204: the VOICES row's icon and a label that follows the track, voice tracks that always load the lead's sound, and former voices that keep the lead's machine until their own note (`VOICES.md`, Which sound a voice loads, Leaving a group);
- the lead's track level shared with its voices (#2204);
- chord recording (#2138): live recording puts each chord note on the track that plays it, and voice tracks' own steps play with a copy of the lead's sound;
- a voice track's own sound, machine and pattern-track settings kept while linked and put back at VOICES 1.

Built by `machine:base -- digitakt-ii --write` with the reviewed toolchain (GCC 16.2.0, binutils 2.47, Elekloader kit `3b31ef3`): 18,852 bytes `.run`, 30,732 bytes `.bss` (17.7 KB of it the kept sounds), 48 sites (the live-record site `0x40048fb2` added).

## Checks

On a unit (hands and ears, @Claptom-music's Digitakt II, OS 1.17, over USB), reported by the tester. Both images carry this base byte for byte with the Morpha module (an added machine) on the lead:

| Image | Result |
|---|---|
| `b8cff950` | Pass: VOICES 3 with Morpha leading, chords, VOICES 1: tracks 2 and 3 return to their own machines and sounds. Chord recording, the shared level and POS as before. |
| `2b4850e1` (with Morpha's later POS fixes) | All pass: POS through a stereo sample, built-in waves, chords with VOICES 3 and back to 1 (own machines and sounds), the shared level, live chord recording. |

The same parts on earlier images of this work: the #2204 fixes on `b6ee842b` (all pass) and the shared level on `094b8a09` (pass); chord recording on `800a4a6f` (all pass). The records are in `VOICES.md`.

Emulator (coupled ColdFire and sound chip, panel probe): every track at 1 plays the first note identical sample for sample to `27dfadf8`'s; a chord held while VOICES drops ends on every track; after VOICES 3, 1, 3 the voices hold the lead's values; tracks 2 and 3's machine type bytes go 0, 9 (linked), 0 (back at 1); a chord with the lead's LEVEL at 0 is silent.

Not checked on a unit: MIDI chords (sounded odd on `27dfadf8`, a recording is to come), a muted lead played from the keys against stock, two machine modules at once, a project saved while tracks are linked (keeps the copies, by design).

`npm run test:procedure` was not run: the Digitakt II steps it would add (USB link, soak, price) do not exist yet, as for `948be0c4`.

## Release

None here. Once #2204, this, #2445 and #2446 are on `base/digitakt-ii-next`, the combined base is recorded once by `machine:base -- digitakt-ii --write`, vendored and pinned, and its exact image runs one unit round.
8 changes: 8 additions & 0 deletions sdk/machines/digitakt-ii/elekloader/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"../modwerk/machines-entry.s",
"../modwerk/voices.c",
"../modwerk/voices-entry.s",
"../modwerk/voices-record-entry.s",
"../modwerk/fw-bindings.s"
],
"subscribe": [
Expand Down Expand Up @@ -114,6 +115,13 @@
"op": "jsr",
"target": "core_voice_event_entry"
},
{
"addr": "0x40048fb2",
"len": 6,
"stockSha256": "ed5086557423e0a010a460981e782edce14c7e9c57265e741ebacc985a1d8aa3",
"op": "jsr",
"target": "core_voice_record_entry"
},
{
"addr": "0x40066df2",
"len": 6,
Expand Down
Loading