Skip to content

Voice Spread: the first Digitone II module, and the Digitone II becomes a preview - #2003

Merged
repeat98 merged 8 commits into
repeat98:base/digitone-ii-nextfrom
prodbysmolec:module/digitone-ii-voice-spread
Nov 26, 2026
Merged

repeat98 merged 8 commits into
repeat98:base/digitone-ii-nextfrom
prodbysmolec:module/digitone-ii-voice-spread

Conversation

@prodbysmolec

@prodbysmolec prodbysmolec commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator
  • What changed: Voice Spread, the first Digitone II module (own code, GPL-3.0-or-later), and with it the Digitone II's profile moves to preview: steps core and mods done (ADD_A_MACHINE, "Set the status").
    • Voice Spread spreads the voices of a chord across the stereo field and their filter frequencies a little apart. Two value rows at the end of SETTINGS > PERSONALIZE (core_addvalue): VOICE SPREAD (OFF, 25, 50, 75, 100) and FILTER SPREAD (OFF, LOW, MID, HIGH).
    • It adds fixed per-voice offsets to pan (Sound parameter 89) and filter frequency (67) in ev_frame_params, which on the Digitone II carries the 16 voices, not the tracks. It saves one core_projdata block (VSPR) and patches no stock site.
    • The pinned package, import records, changelog, goal and recipe rows, and the regenerated machine registry.
  • Waits for the base: pr:ready refuses a module pull request that also carries base changes, and against main this branch carries the Digitone II base. Once the cumulative base draft Digitone II base (cumulative): the Digitakt II base for OS 1.12 #1767 has shipped to main, this branch merges main and moves to main. Until then it stays a draft against base/digitone-ii-next, so the module can be reviewed and tried with that base.
  • Why against base/digitone-ii-next: the Digitone II's SDK profile, core interface and base package exist only on that branch, so the module and the status change cannot build on main yet. The question of whether this is the pattern and the branch the owner wants is on the board (4befc188).
  • How I checked it:
    • Host test of the arithmetic (tests/spread_test.c) passes.
    • module:doctor green, modules:check and machines:check.
    • npm run check: every test passes. Two tests that list the machines with modules now include the Digitone II.
    • pr:ready: only the module-plus-base rule fails, as described above.
    • A second isolated build from the committed tree: verify-elemod-release-exports reproduced all 72 exports.
    • The pinned Docker build (GCC 16.2.0) exported voice-spread-0.1.0-experimental-os1.12.elemod (sha256 9ce8ff19…). Linked with the development base, it gives the same main OS, byte for byte, as the build the unit ran.
  • Tested on a unit: Digitone II, OS 1.12, image 51935592… (development base 1.1 plus this module), booted from RAM over the link on 23 November 2026, not flashed.
    • The rows appear and step.
    • At 100 and HIGH, the 16 voices' smoothed values and the frame records sent to the DSP carry the expected offsets, held in range.
    • The kit's own values stay unchanged.
    • Not tested: project save and reload, locks and LFOs on pan and filter, CPU load, a flashed plain-base build, and a listening report.
  • Guides: sdk/digitone-ii/modules/README.md now says that ev_frame_params hands over voices on the Digitone II and that settings go in PERSONALIZE, where core_addvalue draws correctly; in plain SETTINGS it overdraws the label (TESTING.md).

Edge cases

Case Why this change makes it a risk How run Result
Track panned hard to one side Offset could wrap past 0 or 127 Host test with pan 0, filter 0 Pass: held in range
Both rows OFF Must leave the stock sound exactly Host test; handler returns early Pass
Project saved without the module Block missing on load loaded(found=0) sets both OFF Not run on a unit
Filter at its default 127 Upward offsets clip Unit read: only downward offsets act Pass, documented as a limitation

🤖 Generated with Claude Code

prodbysmolec and others added 6 commits November 23, 2026 00:15
…es a preview

Spreads the voices of a chord across the stereo field and their filter
frequencies a little apart, from two rows in SETTINGS > PERSONALIZE, through
the base's ev_frame_params (per voice on the Digitone II). Ran on a unit
from RAM. machine.json: core and mods done, status preview.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…count the Digitone II

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

repeat98 commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Thanks, this is a tidy first module: no stock site, one projdata block, the arithmetic split out with a host test, and the readings in TESTING.md show the offsets landing on the voices without touching the kit. The PERSONALIZE pattern is fine with me.

Publishing waits on the Digitone II base: Voice Spread can only go to main after the cumulative base draft #1767 has been tested on a unit and shipped. Could you use that time to close the gaps in the record? They matter for what players will actually get:

  1. The build players get. The record is for the development base booted from RAM. Please run the pinned package (9ce8ff19…) on the plain base (no link), the way the page will build it, and name that image's SHA-256.
  2. Save and reload. The setting lives in the VSPR block, so please save a project with VOICE SPREAD 75 and FILTER SPREAD LOW, power-cycle, and check that both come back. Also load a project saved without the module and check that both rows read OFF.
  3. Listening (step 12). It is a sound module and "Heard" is still empty. Please add your own words on chords at 100, then OFF, and on FILTER SPREAD HIGH. Please also try a mono track (bass or kick) with VOICE SPREAD on and say how the note-to-note jumping you list under limitations sounds in practice.
  4. Locks and LFOs. Please try one pan lock and one LFO on filter frequency with the spread on, since the README says they still apply.

One design question while you're at it: since the spread follows the voices on every track, a kick or bass line can move from side to side. Would a per-track switch (or leaving single-voice tracks alone) be worth it for 0.1.0, or would you rather ship as is and see what players say? Your call, depending on what you hear in point 3.

A small board thing, already done: your claims on migration 0102, hook digitone-ii/events/0-7 and digitone-ii/tables/0-1 pointed at this PR and made #1767's board check fail, since #1767 is where that base work goes to main. I released them and linked them to #1767; your module claim stays. Nothing for you to do there.

Once #1767 is on main: merge main, move the base to main, and mark it ready. Thanks!

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@repeat98
repeat98 marked this pull request as ready for review November 26, 2026 13:51
@repeat98
repeat98 merged commit c15ec02 into repeat98:base/digitone-ii-next Nov 26, 2026
3 checks passed
@repeat98

Copy link
Copy Markdown
Owner

Merged into base/digitone-ii-next (owner's decision), so Voice Spread and the Digitone II's move to preview ride the cumulative base #1767 into main. The four record gaps from my 23 November comment now need closing before #1767 ships: the plain-base run with the pinned package, save and reload with a power cycle, the listen, and a pan lock and a filter LFO with the spread on. A follow-up PR into base/digitone-ii-next is the place for them.

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.

2 participants