Repository navigation
Proposal: Digitakt II base: a shared effect slot for FX modules (core_fx) - #2146
Conversation
Track inserts at the pre-send site, a fixed sound-chip dispatcher with listen and process slots, one shared FX page in the Mixer, settings saved with the project, and Sidechain Comp moved onto the slot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for writing this up as a proposal before the code. That's the order the guide asks for, and
|
Event 10 subscribers write no transfer word (words 0-15 become the one mailbox), the budget drops to 60,000 a block after measuring stock at its busiest in the emulator (342,016), and the FX page takes no core_mixer_pages entry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks, that answers all three. Narrowing The design is fine with me: track inserts at the pre-send site, effects before the duck, one shared FX page, settings per project in Three things to settle in the proposal first:
|
…, ten pages first The owner's three points on repeat98#2146 (26 Nov): machine players and filters share the slot budget, each counted as its cost over the stock work it replaces at the voices it can hold (as repeat98#2180 should say too); the 1.13-1.41 cycle factor is our own provisional assumption until the unit count, with no other project's model file named; the ten-page Mixer navigation check comes first in the emulator step. README: design approved. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
I settled the three points in the proposal myself and am merging it, so the design is on
The README now says the design is approved. |
d0f1577
into
repeat98:base/digitakt-ii-next
…e filter-id claim The owner's three points on repeat98#2180 (26 Nov): a machine or filter counts as its cost over the stock work it replaces at the voices it can hold (as repeat98#2146 now says); acceptance step 3 loads a sound without the module as type 0 like the rest; a filter type is claimed under a new board kind filter-id the base code adds, by hand as machine-id claims until then. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
What was wrong or hard
Effect modules (delay, reverb, drive, chorus) need to process audio on the Digitakt II's sound chip, and any set of them must run side by side. The only way in today is the pre-send render site. Sidechain Comp takes it through a private path (
build.dt2_sharcversion 1 and the per-set dispatcherplanDt2Render), so a second effect would collide with it. The machine guide says the core "exposes no audio-render hook yet".What this proposes
A hook proposal for the cumulative draft (#1999), per Propose a hook on the Digitakt, Digitone or Digitakt II. It is documentation only, with no base code yet. Full text:
docs/verification/2026-11-25-digitakt-ii-fx-slot.md.0x1c18a6, SHA-256 guard as in the 10 and 14 November records). Effects work on the tracks the musician lights, after each track's own sound and before the stock delay, reverb and chorus sends. The stock sends and the master compressor are unchanged.core_fx(proposeddigitakt-ii/tables/6, room 8): one record per effect with its tag, order band, flags, name and up to eight values. The base's fixed sound-chip dispatcher calls 8 listen slots, then 8 process slots, in order bands (tone and drive, then time effects, then dynamics). It is the same code for every set: the builder only fills slots, as for the machine players and frame receivers.core_fx_set), replacing Sidechain's own words 0-10. The machine wire's tempo words are sent while any machine or effect is registered.ev_audio_framesubscribers write no transfer word (no library module does today).core_mixer_pages' four entries. Each effect's memory is its own L2 dsp-region. The base keeps0x200c3000-0x200c4000.digitakt-ii/dt2-sidechain, mine, not in the library) moves onto the slot in the same base change: a listen routine, a process routine in the dynamics band, andcore_fx_set. Its SC and ENV pages stay.planDt2Renderand the version 1 path then go.Chosen with me as the developer on 25 November 2026: track inserts (a send/return waits for a proven post-send site), effects before the duck, one shared FX page rather than a page per effect, and settings per project rather than per kit (kit data has 143 bytes for all modules).
Not covered: a send/return, a master-output site (the claimed
digitakt-ii/retro-recordfinal-output EQ would need one), a shared delay-memory pool in external RAM, and a base filter-type hook. Each would be its own proposal.How I checked it
src/engine/elektron/dt2-sharc.ts, the base's L2 map fromDT2_BASE_SHARC, and the L2 ranges Granula, Morpha and Sidechain use (no overlap with0x200c3000-0x200c4000).tables/6is claimed for this proposal.sharc-live, busy instructions per block, max: one note 212,992; all sixteen TRIG keys 321,536; with T1's FX knobs up 324,608; with every track's FX knobs up 342,016. No missed blocks. The table is in the proposal.npm run check: one failure,digi-build.test.ts"plans the released Digitakt II mods on the pinned Modwerk base".base-binding.jsononbase/digitakt-ii-nextnames948be0c4while the vendored catalogue does not carry it yet (the pin is Digitakt II base 948be0c4: pin for the browser builder (release step 2) #2143). This change touches neither file.npm run pr:ready, which mergesmaininto a branch that targetsbase/digitakt-ii-next(as on Digitakt II base 948be0c4: release of linked voices and full-resolution knobs (step 1) #2130).Pending before this could be marked ready (after the owner's OK on the design): the base code, builder tests with the owner's OS, an emulator run (empty slot byte-identical to stock, a test effect at -6.02 dB on one track only, Sidechain matching its 18 November figures), and a test image run on a Digitakt II.
Guides
The Digitakt II guide said the core has no audio-render hook. It now points effect modules to this proposal instead of the render site (
sdk/machines/digitakt-ii/README.md). Nothing else was wrong.🤖 Generated with Claude Code