Skip to content

Shift Loop: looping shift-register sequencer for Digitakt I (experimental) - #2695

Draft
Ivanfrency wants to merge 1 commit into
repeat98:mainfrom
Ivanfrency:module/shift-loop
Draft

Ivanfrency wants to merge 1 commit into
repeat98:mainfrom
Ivanfrency:module/shift-loop

Conversation

@Ivanfrency

Copy link
Copy Markdown

What works: Shift Loop builds as the only mod on core 4.4 for Digitakt I OS 1.54 and runs in the emulator. A per-track shift register (2–16 bits) writes each step's note, one step behind the playhead, in one of seven scales; MUT sets how often a bit flips as it comes round (0 locks the loop). GATE can also place and remove trigs, VEL spreads velocities.

Musically: a Turing-Machine-style melody that repeats, drifts or changes completely, written as ordinary trigs and notes, so it follows tempo, track speed, length and swing, and saves with the project.

How to reach it: a double press on LFO, or SETTINGS > SHIFT LOOP. FUNC + LFO stays the stock compressor shortcut.

Not run on a unit yet. This is a draft until it has been tested on a Digitakt; the hardware test plan is in TESTING.md. module:doctor stays red for the publication gate (hardware evidence, measured load) and the browser builder (no pinned .elemod until release).

Who must act: the author tests on a Digitakt mk1 with OS 1.54; then a device reviewer.

Details
  • Emulator (digiemu c1b5735, audio=True): page opens; per-track playhead 0x4199ec1c advances with PLAY; at GATE OFF, MUT 0, MINPEN, RANGE 8 the trig steps of track 1 got notes 72, 65, 63, 65, 75, 70, 60, 63 (track NOTE 60 plus scale steps); two further passes left them unchanged. Screenshots and capture provenance in media/.
  • Host tests for the register engine pass (tests/test_engine.c).
  • Memory: 5,512 bytes of shared mod memory, no fast SRAM (difference in ramSpare between core alone and core + Shift Loop).
  • Hooks: ev_key, ev_enc, ev_tick, ev_draw, ev_settings; claims ui:double LFO, settings:SHIFT LOOP. No stock site patched.
  • The per-track playhead map for OS 1.54 is in RESEARCH.md; it could move to sdk/digitakt/research/ as its own Docs: PR.
  • Name: "Turing Machine" is Music Thing Modular's product name, so the module is called Shift Loop; only the idea is used.
  • What the guides lacked: the capture record needs a plan per capture and the README tutorial must match presentation.usage word for word; modules:check said so clearly.

🤖 Generated with Claude Code

…ntal)

A per-track shift register of 2-16 bits writes each step's note (and, with
GATE, trigs and velocities) one step behind the playhead, in one of seven
scales. MUT sets the flip chance as a bit comes round. Opened with a double
press on LFO or SETTINGS > SHIFT LOOP. OS 1.54, core 4.4.

Emulator only so far (digiemu c1b5735): page opens, per-track playhead
mapped, notes written in scale, MUT 0 loop stays locked. Not run on a unit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

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.

1 participant