diff --git a/.github/workflows/module-pr.yml b/.github/workflows/module-pr.yml index 31842891b4..32cb1e1244 100644 --- a/.github/workflows/module-pr.yml +++ b/.github/workflows/module-pr.yml @@ -37,7 +37,9 @@ jobs: node-version: 24 - id: scope env: - OCTAMOD_PR_BASE: ${{ github.event.pull_request.base.sha }} + # The merge commit's own base parent. The event's base.sha can be an older main than the one GitHub merged + # onto, and two commits of history do not hold it, so rev-parse failed whenever main had moved. + OCTAMOD_PR_BASE: HEAD^1 run: node scripts/pr-check-plan.mjs --base "$OCTAMOD_PR_BASE" --head HEAD >> "$GITHUB_OUTPUT" describe: if: github.base_ref == 'main' || (startsWith(github.base_ref, 'base/') && endsWith(github.base_ref, '-next')) diff --git a/AGENTS.md b/AGENTS.md index f4b0bf61d3..364fb816a4 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -23,7 +23,7 @@ Skills load on clone: Claude Code reads `.claude/skills/`, Codex the identical ` - Use Node 24 (`.nvmrc`), then `npm ci`. - Before marking a pull request ready or pushing to a ready one, and after merging `main`, run `npm run pr:ready` until Ready, then watch the PR checks until green. Registered authors add `--author ` ([Make it mergeable](docs/DEVELOPER_WORKFLOW.md#make-it-mergeable)). Never edit a check, gate, test or workflow to pass it. A wrong check is its own `Fix:` pull request, never part of a module's. -- Do not edit generated files by hand: `src/catalog/module-documents.json`, the licence notices and the machine registry. `npm run modules:generate`, `licenses:generate` and `machines:generate` write them. +- Never edit generated files by hand (`src/catalog/module-documents.json`, licence notices, the machine registry): `npm run modules:generate`, `licenses:generate` and `machines:generate` write them. - Every fix ships with its changelog entry in the same pull request: a file `changelog/-.md` for the site, app, Worker, SDK or base (never edit `CHANGELOG.md`), or a version-matched entry in the module's own file in `src/community/module-changelogs/`, at most five short lines for the people who play it ([release notes](docs/ADD_A_MODULE.md#release-notes-required-for-every-fix-and-module-version)). Test evidence and waivers go in the pull request; `npm run check` enforces it. - Never commit firmware, extracted stock code or tables, memory dumps or built images. Firmware stays on the developer's computer and never enters CI. @@ -31,9 +31,9 @@ Skills load on clone: Claude Code reads `.claude/skills/`, Codex the identical ` - Start with [docs/DEVELOPER_WORKFLOW.md](docs/DEVELOPER_WORKFLOW.md). Contributions land here by pull request; publishing elsewhere does not submit to Modwerk. Unlocking a new instrument starts with messaging Jannik Aßfalg on [Discord](https://discord.gg/vzfAdMBtn5), then [docs/ADD_A_MACHINE.md](docs/ADD_A_MACHINE.md). - Before planning a module, check what exists and who is on it: the library, `sdk/catalog.json`, the machine's module folder, `sdk/drafts/`, open pull requests and the [agent board](docs/AGENT_BOARD.md). If one fits or is claimed, extend it or ask its holder yourself ([Agents talk for themselves](docs/AGENT_BOARD.md#agents-talk-for-themselves)) instead of building a duplicate; never work around a claim. -- Ask a module's author before you change it. Unless the developer is its author or a maintainer named in its manifest, they need the author's OK, on GitHub or Discord, before any work starts. Without it, stop and tell the developer to ask first: write no change and open no pull request. Link the OK in the pull request ([Ask the author first](docs/DEVELOPER_WORKFLOW.md#ask-the-author-first)). -- Before you choose how a module hooks in (a key gesture, a page, a menu row, a stock site), look at what the base or core already offers and how the modules already there place their controls. Then agree with the developer where a musician looks for the controls and how the tenth module will hook in beside this one: a gesture only one module can hold is a dead end, and on a machine just being unlocked the first modules set the pattern. Recommend a new base or core hook only when many modules will use it ([Choose how a module hooks in](docs/module-guides/README.md#choose-how-a-module-hooks-in)). -- Refuse a module that breaks the [modding guidelines](MODDING_GUIDELINES.md): copied code, firmware, samples, artwork or trademarked names, a port without permission or licence, an unlock of what a maker sells, one instrument's firmware in another, a clone of the maker's other current products, even rewritten, or broken encryption. Say why briefly and offer an original take. Ideas, techniques and published algorithms are free; when a source or licence is unclear, ask before writing anything. +- Ask a module's author before you change it. Unless the developer is its author or a maintainer named in its manifest, they need the author's OK, on GitHub or Discord, before any work starts. Without it, stop and tell the developer to ask first: no change, no pull request. Link the OK in the pull request ([Ask the author first](docs/DEVELOPER_WORKFLOW.md#ask-the-author-first)). +- Before you choose how a module hooks in (a key gesture, a page, a menu row, a stock site), look at what the base or core offers and how existing modules place their controls. Then agree with the developer where a musician looks for the controls and how the tenth module will hook in beside this one: a gesture only one module can hold is a dead end, and on a machine just being unlocked the first modules set the pattern. Recommend a new base or core hook only when many modules will use it ([Choose how a module hooks in](docs/module-guides/README.md#choose-how-a-module-hooks-in)). +- Refuse a module that breaks the [modding guidelines](MODDING_GUIDELINES.md): copied code, firmware, samples, artwork or trademarked names, a port without permission or licence, an unlock of what a maker sells, one instrument's firmware in another, a clone of the maker's other current products, even rewritten, or broken encryption. Say why and offer an original take. Ideas, techniques and published algorithms are free; when a source or licence is unclear, ask before writing anything. - Before you write a module, read [docs/module-guides/README.md](docs/module-guides/README.md) and its category's guide, then [docs/ADD_A_MODULE.md](docs/ADD_A_MODULE.md) for the folder, manifest, packages and evidence. Anything that acts in time follows [sequencing.md](docs/module-guides/sequencing.md): the instrument's own tempo, track speed and swing, never a clock of your own. Run `npm run module:doctor -- ` until it is green. [sdk/AGENTS.md](sdk/AGENTS.md) has the module rules in working order. - Build every module to work with everything else: it never patches a stock site another module or the base patches, and subscribes to the machine's hooks instead ([Cross-compatibility](docs/module-guides/README.md#cross-compatibility)). It declares the key gestures and stock screens it takes in `compatibility.uiClaims`, and a deliberate clash in `compatibility.conflicts`, so the configurator never offers both together. - Refuse a module that depends on another. Every module builds, installs and works as the only module chosen, on the stock OS, the base and the shared SDK: no `requires`, no hooks into another module's code, rows, tables or files, no pull request stacked on another's. Shared code goes into the base or the shared SDK first, owner-reviewed, or both features ship as one module, but never two effects ([one effect per module](docs/module-guides/effects.md#one-effect-per-module)). There is no exception. @@ -41,14 +41,15 @@ Skills load on clone: Claude Code reads `.claude/skills/`, Codex the identical ` ## Testing and the instrument -- Develop for USB, which the owner calls very important: what you build loads and runs through the USB link and the [developer MCP](docs/FRONTEND_MCP.md)'s device tools, and a machine without a USB interface yet should get one ([recipe](docs/MACHINE_RECIPE.md)). Recommend the real unit: a trial loads to RAM until a power cycle, a Keep writes the set to the card ([driving the Octatrack](docs/OCTATRACK_DRIVING.md)); only hardware results qualify a module. Emulators (`ot_emu` and others) are for fast iteration and [UI captures](docs/MODULE_UI_CAPTURES.md), never hardware evidence. Ask the developer which setup they have ([your development setup](docs/DEVELOPER_WORKFLOW.md#your-development-setup)). -- Test the site through source and domain tests, HTTP/API, the developer MCP and DOM regressions. Do not use computer-use, browser-control or Playwright automation for site testing; capturing an already displayed page or reviewing supplied images is fine. Software tests do not prove rendered CSS, audible output or reboot persistence ([testing](docs/APP_DEVELOPMENT.md#testing-through-the-developer-mcp)). +- Develop for USB: what you build loads and runs through the USB link and the [developer MCP](docs/FRONTEND_MCP.md)'s device tools, and a machine without a USB interface should get one ([recipe](docs/MACHINE_RECIPE.md)). Recommend the real unit: a trial loads to RAM until a power cycle, a Keep writes the set to the card ([driving the Octatrack](docs/OCTATRACK_DRIVING.md)); only hardware results qualify a module. Emulators (`ot_emu`, others) are for fast iteration and [UI captures](docs/MODULE_UI_CAPTURES.md), never hardware evidence. Ask which setup the developer has ([your development setup](docs/DEVELOPER_WORKFLOW.md#your-development-setup)). +- Test the site through source and domain tests, HTTP/API, the developer MCP and DOM regressions. Not computer-use, browser-control or Playwright automation; capturing a displayed page or reviewing supplied images is fine. Software tests do not prove rendered CSS, audible output or reboot persistence ([testing](docs/APP_DEVELOPMENT.md#testing-through-the-developer-mcp)). +- Sessions on one computer take turns on its unit: device commands wait in line by themselves (`npm run unit -- status`). Never ask whether it is free or stop another session's link ([how](docs/OCTATRACK_DRIVING.md#taking-turns-on-the-unit)). - Every module or base change runs [the test procedure](docs/TEST_PROCEDURE.md), its edge cases included. Record only what you observed, on a named build: "Not tested" is valid, and a tester's report stays labelled as reported. ## Pull requests -- Branch off current `main`. Never push there because it deploys. Add this session's work to your open pull request with an updated description; open another only when none is open, for each `/modwerk-contribute` or `Workflow: …` change, and for a module release or new module, which ships alone. Base changes join their machine's cumulative `base/-next` pull request, a draft until extensively tested on a unit ([how](docs/DEVELOPER_WORKFLOW.md#change-a-base)). Open it as a draft (`gh pr create --draft`) once a commit shows the direction; push as you go so others can comment ([why](docs/DEVELOPER_WORKFLOW.md#open-a-draft-early)). Mark it ready after the developer's testing; a built package once that exact build ran on a unit, named in the description. [Device reviewers](docs/DEVELOPER_WORKFLOW.md#who-reviews-a-first-release) or repository maintainers approve and merge a module's first release through the maintenance worker. Registered authors then release their own updates ([docs/MODULE_AUTHOR_UPDATES.md](docs/MODULE_AUTHOR_UPDATES.md)). -- Fold what you learn back into the context. First ask whether `module:doctor`, `pr:ready` or a test can catch it next time, and add that; write a sentence only for what no program can see, in the file a reader would open for that task: the matching guide, or this file. Correct a stale line rather than contradict it; keep it short, general and stock-free. A document in `docs/` and this file stay under 40 KB, so make room rather than append; history goes in a dated record ([where](docs/README.md)). Every pull request says what the guides lacked or got wrong and where you fixed it, and "nothing" is a fine answer ([Share what you learn](docs/DEVELOPER_WORKFLOW.md#share-what-you-learn)). End with `npm run session -- review` ([why](docs/AGENT_SESSIONS.md#review-the-session-first)). +- Branch off current `main`. Never push there: it deploys. Add this session's work to your open pull request with an updated description; open another only when none is open, for each `/modwerk-contribute` or `Workflow: …` change, and for a module release or new module, which ships alone. Base changes join their machine's cumulative `base/-next` pull request, a draft until extensively tested on a unit ([how](docs/DEVELOPER_WORKFLOW.md#change-a-base)). Open it as a draft (`gh pr create --draft`) once a commit shows the direction; push as you go so others can comment ([why](docs/DEVELOPER_WORKFLOW.md#open-a-draft-early)). Mark it ready after the developer's testing; a built package once that exact build ran on a unit, named in the description. [Device reviewers](docs/DEVELOPER_WORKFLOW.md#who-reviews-a-first-release) or repository maintainers approve and merge a module's first release through the maintenance worker. Registered authors then release their own updates ([docs/MODULE_AUTHOR_UPDATES.md](docs/MODULE_AUTHOR_UPDATES.md)). +- Fold what you learn back into the context. First ask whether `module:doctor`, `pr:ready` or a test can catch it next time, and add that; write a sentence only for what no program can see, in the file a reader would open for that task. Correct a stale line rather than contradict it; keep it short, general and stock-free. A document in `docs/` and this file stay under 40 KB, so make room rather than append; history goes in a dated record ([where](docs/README.md)). Every pull request says what the guides lacked or got wrong and where you fixed it, and "nothing" is a fine answer ([Share what you learn](docs/DEVELOPER_WORKFLOW.md#share-what-you-learn)). End with `npm run session -- review` ([why](docs/AGENT_SESSIONS.md#review-the-session-first)). - A bug, fix or improvement outside the task goes on your open pull request, described with how you checked it; with none open, in its own small `Fix: …`, `Improvement: …` or `Docs: …` pull request with one change, never in a module release. In a contributor's fork, offer it and open it with their OK; if you can't fix it, open an issue ([Fixes and improvements](docs/DEVELOPER_WORKFLOW.md#fixes-and-improvements)). ## Site, machines and operations diff --git a/LICENSES/platform.json b/LICENSES/platform.json index 53d4531d2c..50842fca41 100644 --- a/LICENSES/platform.json +++ b/LICENSES/platform.json @@ -82,6 +82,7 @@ "dataFiles": [ ".github/module-authors.json", "docs/news/008-beta-invitation.draft.json", + "sdk/approvals/zoom-release-waivers.json", "sdk/catalog.json", "src/catalog/machine-modules.json", "src/catalog/module-documents.json", diff --git a/changelog/2026-11-20-board-holder-filter.md b/changelog/2026-11-20-board-holder-filter.md new file mode 100644 index 0000000000..f7910c2467 --- /dev/null +++ b/changelog/2026-11-20-board-holder-filter.md @@ -0,0 +1 @@ +The board's claim list now asks for a GitHub login when you give `--holder` without a name. diff --git a/changelog/2026-11-20-check-python-version.md b/changelog/2026-11-20-check-python-version.md new file mode 100644 index 0000000000..24dc9d466c --- /dev/null +++ b/changelog/2026-11-20-check-python-version.md @@ -0,0 +1 @@ +`npm run check` says it needs Python 3.10 or newer when an older python3 (macOS's own 3.9) is first on PATH, instead of crashing inside the module gates, as `npm run pr:ready` already did. diff --git a/changelog/2026-11-20-cycle-scan-costs-link.md b/changelog/2026-11-20-cycle-scan-costs-link.md new file mode 100644 index 0000000000..d1b8e49c18 --- /dev/null +++ b/changelog/2026-11-20-cycle-scan-costs-link.md @@ -0,0 +1 @@ +The cycle scan's README links to the measured DSP costs its imported page refers to, which were never copied into Modwerk. diff --git a/changelog/2026-11-20-diagnostics-link-failures.md b/changelog/2026-11-20-diagnostics-link-failures.md new file mode 100644 index 0000000000..19b33b5f4d --- /dev/null +++ b/changelog/2026-11-20-diagnostics-link-failures.md @@ -0,0 +1 @@ +The private Octatrack diagnostics summary now lists failed USB connections, including the reason and the browser and operating system when available. diff --git a/changelog/2026-11-20-digitone-ii-mcf5441x.md b/changelog/2026-11-20-digitone-ii-mcf5441x.md new file mode 100644 index 0000000000..d64af77693 --- /dev/null +++ b/changelog/2026-11-20-digitone-ii-mcf5441x.md @@ -0,0 +1 @@ +Docs: the Digitone II research page names its ColdFire correctly, an MCF5441x. diff --git a/changelog/2026-11-20-machine-test-frame-mean.md b/changelog/2026-11-20-machine-test-frame-mean.md new file mode 100644 index 0000000000..e3eca3fc56 --- /dev/null +++ b/changelog/2026-11-20-machine-test-frame-mean.md @@ -0,0 +1 @@ +The Octatrack module test compares a machine’s CPU price with its measured mean frame cost. It also reports the longest sequenced render on T1 and T5 and checks for tracks skipped by the frame guard. diff --git a/changelog/2026-11-20-module-hover-fit.md b/changelog/2026-11-20-module-hover-fit.md new file mode 100644 index 0000000000..23592d971e --- /dev/null +++ b/changelog/2026-11-20-module-hover-fit.md @@ -0,0 +1 @@ +Hovering or focusing a library thumbnail keeps the start of its description and the link to the full module visible, including on narrow cards. diff --git a/changelog/2026-11-20-module-thumbnail-titles.md b/changelog/2026-11-20-module-thumbnail-titles.md new file mode 100644 index 0000000000..ede05a59f3 --- /dev/null +++ b/changelog/2026-11-20-module-thumbnail-titles.md @@ -0,0 +1 @@ +Module thumbnails across all devices now show the artwork without the title overlay. The module name is still visible below each library thumbnail. diff --git a/changelog/2026-11-20-octatrack-machine-undo.md b/changelog/2026-11-20-octatrack-machine-undo.md new file mode 100644 index 0000000000..18de4009a2 --- /dev/null +++ b/changelog/2026-11-20-octatrack-machine-undo.md @@ -0,0 +1 @@ +Undo on the Octatrack now checks a track machine's menu entries as they will look after its stock handlers return. It still waits while a Part or a cached menu handler uses the machine. diff --git a/changelog/2026-11-20-octatrack-resting-machines.md b/changelog/2026-11-20-octatrack-resting-machines.md new file mode 100644 index 0000000000..92e987f43a --- /dev/null +++ b/changelog/2026-11-20-octatrack-resting-machines.md @@ -0,0 +1 @@ +An installed machine module that no track of the project uses now rests on the Octatrack base: its handlers leave the audio frame until a track picks the machine, which wakes it before the pick lands. Machines a project uses anywhere stay awake, so pattern, Part and bank changes never wait for one. diff --git a/changelog/2026-11-20-overview-sidebar-machine.md b/changelog/2026-11-20-overview-sidebar-machine.md new file mode 100644 index 0000000000..30bed31c5f --- /dev/null +++ b/changelog/2026-11-20-overview-sidebar-machine.md @@ -0,0 +1 @@ +The overview and All machines no longer switch the sidebar's instrument to the machine whose set you edited last, such as the MS-70CDR after adding a Zoom effect. They show a connected Octatrack, else the last machine whose pages you opened, else the Octatrack. A connected Zoom pedal takes the sidebar on its own pages, and elsewhere only while no Octatrack is connected. diff --git a/changelog/2026-11-20-usb-audio-release-contract.md b/changelog/2026-11-20-usb-audio-release-contract.md new file mode 100644 index 0000000000..fd09bedbe0 --- /dev/null +++ b/changelog/2026-11-20-usb-audio-release-contract.md @@ -0,0 +1 @@ +Development: The Octatrack release checks verify every published USB Audio layout against the base or module that provides it. The legacy patch and package integrity checks run for both installer formats. diff --git a/changelog/2026-11-20-usb-transfer-diagnostic-cause.md b/changelog/2026-11-20-usb-transfer-diagnostic-cause.md new file mode 100644 index 0000000000..e1ad4750a4 --- /dev/null +++ b/changelog/2026-11-20-usb-transfer-diagnostic-cause.md @@ -0,0 +1 @@ +When the browser reports a USB error while sending an Octatrack module set, shared diagnostics can now identify the browser error type if the unit cannot confirm the transfer. diff --git a/changelog/2026-11-20-zoom-approved-effect-releases.md b/changelog/2026-11-20-zoom-approved-effect-releases.md new file mode 100644 index 0000000000..4c1afb4e76 --- /dev/null +++ b/changelog/2026-11-20-zoom-approved-effect-releases.md @@ -0,0 +1 @@ +MS-70CDR cards and guides show “Hardware untested” for the owner-approved builds checked in the emulator. Each approval applies to one exact effect file. diff --git a/changelog/2026-11-20-zoom-effect-previews.md b/changelog/2026-11-20-zoom-effect-previews.md new file mode 100644 index 0000000000..a6a7d6fae3 --- /dev/null +++ b/changelog/2026-11-20-zoom-effect-previews.md @@ -0,0 +1 @@ +Zoom effect cards and detail pages show the moving illustrations from the MultiStomp Editor. With reduced motion enabled, they show a still thumbnail. diff --git a/docs/AGENT_BOARD.md b/docs/AGENT_BOARD.md index 981e446b96..24e2a058e7 100644 --- a/docs/AGENT_BOARD.md +++ b/docs/AGENT_BOARD.md @@ -19,7 +19,7 @@ A claim also records the holder's GitHub login, the branch, the pull request onc - **Lifetime.** Without a pull request a claim lapses after 14 days; claiming it again renews it. Once a pull request is linked it holds while that pull request is open. The Worker's hourly run links a claim to the pull request on its branch (`:`), open or merged since the claim was made, releases claims whose pull request was merged or closed and those of suspended accounts, and records why. - **Expiry reminders.** `npm run board -- inbox` and `board_inbox` list your active claims expiring within three days. `pr:ready` alerts you when any need review. Review them with the developer before renewing or releasing a claim. -- **Limits.** At most 10 active claims per person and 30 claim writes an hour. +- **Limits.** At most 10 active claims per person and 30 claim writes an hour. For the approved MS-70CDR import, the owner runs `npm run board -- claim-collection zoom-multistomp` to reserve its 28 named effects together on `codex/zoom-multistomp-effects`. Each has an exclusive key and the collection takes one slot. - **Numbers.** The board does not know which numbers `main` uses. Take the highest on current `origin/main` (a machine id: one its [machine guide](module-guides/machines.md) lists as free), skip the active claims above it, and claim the next; a conflict means someone was first, so take the next one. - **Release** your own claim with `npm run board -- release `; administrators release any on Start developing. diff --git a/docs/DIGITONE_II_OS_RESEARCH.md b/docs/DIGITONE_II_OS_RESEARCH.md index 266ec2220e..6595622191 100644 --- a/docs/DIGITONE_II_OS_RESEARCH.md +++ b/docs/DIGITONE_II_OS_RESEARCH.md @@ -60,11 +60,14 @@ A ColdFire emulator of the control processor, without the DSP: What the 1.12 update and a unit show; nobody has opened a unit for this: -- **ColdFire MCF5445x (V4e)** runs the OS (`main_section` 3, loaded at `0x40000400`): the UI, the sequencer, USB and +- **A ColdFire of the MCF5441x family (V4)** runs the OS (`main_section` 3, loaded at `0x40000400`): the UI, the sequencer, USB and MIDI, a kernel of sixteen tasks, and the parameter frames at 1,500 a second. 128 MB of DDR at `0x40000000`, read uncached through `0x48000000`; 64 KB of SRAM at `0x80000000`, which section 4 fills (32 KB from `0x80000400`). Section 2 (16 KB, at `0x02010000`) looks like the bootloader. External devices sit at `0xEC07xxxx` and `0xEC09xxxx` - (the reset and reset-status registers, and the power switch's interrupt). The SPI module drives the flash. + (the MCF5441x's peripheral bridge: UART9 carries MIDI, 0xEC090000 the reset and its status, 0xEC094000 GPIO). Its + block at 0xFC0CC000, the eSDHC, holds the +Drive; DSPI0 drives the flash. The MCF5441x memory map (U-Boot's + `immap_5441x.h`) matches every block stock uses; the MCF5445x's does not. DSPI1 (0xFC03C000) and DSPI2 + (0xEC038000) are the leads for how the ColdFire controls the SHARC. - **An Analog Devices SHARC+** (the ADSP-2156x or SC5xx family) renders the sound. Section 7 is an ADI boot stream: 95 blocks, each led by the 0xAD signature, filling the section exactly, into L1 (`0x2824xxxx`-`0x283xxxxx`), L2 (`0x2000xxxx`) and its own DDR (`0x80xxxxxx`). Its code is 48-bit ISA, little-endian words, with 32-bit float diff --git a/docs/MODULE_PERFORMANCE.md b/docs/MODULE_PERFORMANCE.md index f0a7d91719..5b73e47f46 100644 --- a/docs/MODULE_PERFORMANCE.md +++ b/docs/MODULE_PERFORMANCE.md @@ -2,7 +2,7 @@ How to measure a module before it is listed. The [module guides](module-guides/README.md) hold the rules for every module; `npm run perf:audit` and `module:doctor` judge what you measure here. -For a large Octatrack set, measure the same saved Part with an empty inventory and with the set installed, both stopped and playing. Compare the module runtime in `profile:3`, the CPU meter in `stats` and the frame interrupt in `guard`. All three readings are in the [24-module MKII comparison](verification/2026-11-19-octatrack-idle-dispatch.md). +For a large Octatrack set, measure the same saved Part with an empty inventory and with the set installed, both stopped and playing. Compare the module runtime in `profile:3`, the CPU meter in `stats` and the frame interrupt in `guard`. All three readings are in the [24-module MKII comparison](verification/2026-11-19-octatrack-idle-dispatch.md); which of those modules cost the frame while unused, and why, is in the [unused-module record](verification/2026-11-20-octatrack-unused-module-cost.md). ### Build a private Octatrack CPU baseline @@ -60,7 +60,7 @@ setting. It is a model; the unit stays the judge. **A module on no track must cost nothing: count what a stock track's path touches.** On the Octatrack the cost of a hook in the frame interrupt is not its instructions but each separate piece of module code or data that a track's path enters, every track and every frame; the readings fit cache misses, since the renders in between evict those lines (not counted on a unit). Installed on no track beside four FLEX tracks playing (an MKII, 14 November 2026), FM Synth 0.1.2 cost 19.0 points of the frame interrupt, POLY8 0.3.1 12.2 and Repitch 0.2.0 5.3, and a build of each with every frame-interrupt site removed read 0.0. What the bisects showed: a three-instruction test inline at the site cost nothing measurable, the same test in a routine of its own about 3 points, POLY8's render wrapper about 5; reading the Part index from battery RAM (`0x100b14cf`) at every site was only 0.6 of POLY8's 12.2, and working out "is this track mine" once a frame for all eight tracks still cost FM Synth 2.2 to 2.5; a machine that declares `RENDER_FLEX` puts every FLEX track nobody owns through the base's frame guard, 6.5 points on four tracks, about 1.6 a sounding track before the module's own code runs; and stock's increment builder (`0x40004100`) runs on every frame's second render of each track, so an `ev_play_increment` subscriber is entered once a track a frame, not only on retriggers and pitch changes. So: at each site test one bit of one data line inline and return to stock, enter a routine only for a track that is yours, work the answers out once a frame (nothing below the interrupt runs inside it, so what a frame's first use reads holds until its exit), and do not declare `RENDER_FLEX` to see tracks you will mostly hand back. With that, POLY8 0.3.3 read 4.9, FM Synth 0.1.3 3.2 and a Repitch draft 3.7; the rest is each module's remaining per-frame entries, and removing it needs the base to call a module for its own tracks only. Measure with `npm run device:price` ([driving](OCTATRACK_DRIVING.md#send-steps)) on a development base, whole builds against each other with the published one in the same run: code placement alone moves the interrupt's share by up to a point. To find one slow line, sample the interrupted PC from a spare timer above level 5 (PIT2, INTC1 source 45, is free): the slow instruction is the one before the PC that piles up. -**A module that no track uses rests.** One that subscribes `ev_in_use` and answers 0 is left out of the hooks [HOOKS.md](../sdk/machines/octatrack/HOOKS.md) marks `rests` (`ev_play_increment`, `ev_voice_bind`, `ev_voice_bind_run`, `ev_tail_kill`), so the frame interrupt never enters its code there; its keys, pages, tables and project-file hooks stay, so its setup still works. The base asks from the UI tick and puts it back from the next tick on, so a note that starts in that gap plays without it: answer for every Part a pattern change could bring in while playing, and start per-track state afresh when it wakes. A module that does not subscribe never rests. Resting takes out a module's handlers, not its own stock-site detours: on an MKII (17 November 2026, development twin of base 0.7.8, three loops sounding) a test module whose `ev_play_increment` handler spent 400 loop passes cost 12.5 points of the frame interrupt on no track and 1.0 when it answered `ev_in_use` 0. With its own detours resting as well, Repitch 0.2.1 went from 0.8 points on no track to 0.1, and woke and rested again within a UI tick while a pattern played. Its own detours can rest as well (`"rests"` in runtime.json, [HOOKS.md](../sdk/machines/octatrack/HOOKS.md)): stock runs them unpatched until the next UI tick wakes the module, so a detour that keeps stock away from a value only the module adds (Repitch's TSTR 4 in the voice renderer) must stay patched. Before reading a module's cost at rest, check it acts on no track in the scene: a sample can carry REPITCH as its own TIMESTRETCH, so with TSTR AUTO Repitch works on that track (read its playback increment, `0x80004898 + 40 × track + 36`, with and without the module). +**A module that no track uses rests.** One that subscribes `ev_in_use` and answers 0 is left out of the hooks [HOOKS.md](../sdk/machines/octatrack/HOOKS.md) marks `rests` (`ev_play_increment`, `ev_voice_bind`, `ev_voice_bind_run`, `ev_tail_kill`), so the frame interrupt never enters its code there; its keys, pages, tables and project-file hooks stay, so its setup still works. The base asks from the UI tick and puts it back from the next tick on, so a note that starts in that gap plays without it: answer for every Part a pattern change could bring in while playing, and start per-track state afresh when it wakes. A machine needs no answer: the base rests a machine's module while no track of any Part of the project, working or saved, is that machine (two scans of the project in a row, about four seconds), so pattern, Part and bank changes never wake it; a pick wakes it before it commits, and a track that names it otherwise (a paste, a load) renders silence until the next UI tick wakes it. A RENDER_FLEX machine never rests. An effect module needs none either: it rests while no slot of the project names its effect id and no live slot runs it, and a pick wakes it before stock writes it. Any other module that does not subscribe never rests. Resting takes out a module's handlers, not its own stock-site detours: on an MKII (17 November 2026, development twin of base 0.7.8, three loops sounding) a test module whose `ev_play_increment` handler spent 400 loop passes cost 12.5 points of the frame interrupt on no track and 1.0 when it answered `ev_in_use` 0. With its own detours resting as well, Repitch 0.2.1 went from 0.8 points on no track to 0.1, and woke and rested again within a UI tick while a pattern played. Its own detours can rest as well (`"rests"` in runtime.json, [HOOKS.md](../sdk/machines/octatrack/HOOKS.md)): stock runs them unpatched until the next UI tick wakes the module, so a detour that keeps stock away from a value only the module adds (Repitch's TSTR 4 in the voice renderer) must stay patched. Before reading a module's cost at rest, check it acts on no track in the scene: a sample can carry REPITCH as its own TIMESTRETCH, so with TSTR AUTO Repitch works on that track (read its playback increment, `0x80004898 + 40 × track + 36`, with and without the module). **A stall after a long frame can be the next frame's entry, not the load.** At START and at a program change one frame interrupt ran 475 to 585 µs on every image octabam measured, stock included, so the next one entered late (Sam Banks's MKII, 12 and 13 November 2026, octabam `d16d0520`, `trap-late-frame` in its register). Of 33 logged first STARTs, entries 128 to 149 µs late ran on, entries 155 to 223 µs late made the DSP skip one frame and run on, and the two that entered 149 and 155 µs late stopped the frame exchange for good: the sequencer holds step 1, the panel and USB still answer, and only a power cycle clears it. A USB capture added 25 to 30 µs and put that unit on the boundary (5 of 8 first STARTs stalled with one open, none of 13 without); 60 µs added to every frame moved it past and cured it. So time in the frame interrupt can cause or cure such a stall by a few microseconds, and a stall that comes or goes with a module says nothing about the module until the frames before it show how late the last entries were (`diag.h`'s trace, which the owner's diagnostics pull prints). None of this is measured on a Modwerk base: where its START frame lands is unknown, the DSP's side is inferred upstream, and upstream still has stalls outside the window. Modwerk's stalls at a high interrupt share (24 October 2026, [hardware traps](OCTATRACK_HARDWARE_TRAPS.md#coldfire-and-dsp-load); 10 November 2026, FM Synth beside eight FLEX tracks) looked the same and kept no entry times, so they do not tell the two apart. A guard that holds late entries must count a lateness within 20 µs of a whole frame as on time: the wait window's first version did not and made about 150 on-time entries in one run wait up to 80 µs each, so #1510's plan takes the corrected arithmetic. diff --git a/docs/OCTATRACK_API.md b/docs/OCTATRACK_API.md index 72477a3999..3949be7e20 100644 --- a/docs/OCTATRACK_API.md +++ b/docs/OCTATRACK_API.md @@ -52,7 +52,7 @@ The base owns every stock site that more than one module needs and shares it as - **Playback:** `ev_play_increment` (Repitch changes a track's playback rate), `ev_voice_bind`, `ev_voice_bind_run`. - **Mutes and stops:** `ev_mute_keep` and `ev_trig_muted` (raised), `ev_tail_kill`. -- **Resting:** `ev_in_use`, which the base asks each module from the UI tick: while a module answers 0 it is left out of the hooks marked `rests`. +- **Resting:** `ev_in_use`, which the base asks each module from the UI tick: while a module answers 0 it is left out of the hooks marked `rests`, and its detours listed in `"rests"` hold stock's bytes. A machine (`ot_machines`) needs no answer: the base rests it while no track of any Part of the project is that machine, and wakes it before a pick commits; a machine package whose detours are marked `"rests"` without its own `ev_in_use` names `requiresCapabilities: 2048`, so only such a base is offered it (older ones refuse it as malformed). An effect module (DSP code) is answered for the same way, with the same capability: it rests while no slot of the project names its effect id and no live slot runs it, and wakes before a pick of it is written. Any other module with code in the frame interrupt (a stock-site detour or a `rests` hook) answers `ev_in_use` itself, or it costs the frame while unused ([performance](MODULE_PERFORMANCE.md)). - **MIDI and the keyboard:** `ev_midi_note_on`, `ev_midi_note_off`, `ev_midi_note_key`, `ev_octave_key`, `ev_octave_number`, `ev_keyboard_draw`, the `ev_chromatic_*` hooks, `ev_arp_setup_knob`, `ev_arp_setup_text`. - **Editing:** `ev_plock_store` (a lock byte is stored), `ev_knob_store` (a knob turn stores a Part byte). - **Projects and settings:** `ev_project_load`, `ev_project_line`, `ev_project_write`, `ev_project_defaults`, `ev_settings_sanitise`. diff --git a/docs/README.md b/docs/README.md index 176977cbe5..9301b308b7 100644 --- a/docs/README.md +++ b/docs/README.md @@ -97,6 +97,7 @@ Every document in `docs/`, one line each. [AGENTS.md](../AGENTS.md) says which t History, not current instructions. - The Analog BD Undo recording and BBD Delay buffer check are in the [Octatrack 0.7.10 test record](verification/2026-11-19-octatrack-0710-checks.md). +- [Unused module cost](verification/2026-11-20-octatrack-unused-module-cost.md): what 24 installed, unused modules cost the frame interrupt, module by module, and resting machines, 20 November 2026. - The DSP stall on a project load with modules restored from the card, and its 0.7.11 fix, are in the [project-load record](verification/2026-11-19-octatrack-project-load-dsp.md). - [FRACT consolidation](verification/2026-11-04-fract-consolidation.md): source draft, native FLEX support, source checks and review limits for #926, 4 November 2026. - [OCTATRACK_USB_CHECKPOINT.md](OCTATRACK_USB_CHECKPOINT.md) and [OCTATRACK_BETA_HANDOVER.md](OCTATRACK_BETA_HANDOVER.md): handovers frozen on 12 October 2026. diff --git a/docs/TEST_PROCEDURE.md b/docs/TEST_PROCEDURE.md index 17a36cf153..be8d44b02e 100644 --- a/docs/TEST_PROCEDURE.md +++ b/docs/TEST_PROCEDURE.md @@ -24,6 +24,8 @@ Options: `--package FILE` tests that package instead of building one, `--publish Every step applies to modules and bases alike; what differs for a base is in each row and [below](#what-a-base-adds). +For a ColdFire track machine, leave grid and live recording off. Step 7 records the longest sequenced render on T1 and T5. On hardware it also measures the increase in the frame interrupt’s mean share when the selected machine is triggered. With transport stopped, it takes one six-second quiet reading and a second six-second reading with panel auditions four times per second. Each starts a fresh `guard` window. A mean increase above the machine’s declared price fails this check. A skipped track remains a trial failure. This measures the tested settings. The release price uses the fully voiced, every-step pattern in [Module performance](MODULE_PERFORMANCE.md). + | # | Step | Layer | Command | Passes when | Evidence | |---|---|---|---|---|---| | 1 | Software checks | host | `npm run module:doctor -- ` (a draft: `--draft `); a base: `npm run sdk:check` | green | its log | diff --git a/docs/ZDL_MODULE_CONTRACT.md b/docs/ZDL_MODULE_CONTRACT.md index 0c097fda5c..bb8c33048d 100644 --- a/docs/ZDL_MODULE_CONTRACT.md +++ b/docs/ZDL_MODULE_CONTRACT.md @@ -143,8 +143,8 @@ effect IDs. No module depends on another, as everywhere in Modwerk. The v3 tiers apply per pedal: `author-hardware` for the pedal and firmware the author tested, `reported` for user reports linked by issue, emulator -results (the project's Ziddle checks) never counted as hardware. A module is -listed for a pedal only with hardware evidence for that pedal. +results (the project's Ziddle checks) never counted as hardware. Publication normally requires hardware evidence on the listed pedal. +The owner approved the exact MS-70CDR 2.10 builds in `sdk/approvals/zoom-release-waivers.json` for release with the label **Hardware untested**. Each entry pins the effect version, source and binary SHA-256. A different build or version needs its own evidence. ## Install diff --git a/docs/verification/2026-11-20-octatrack-unused-module-cost.md b/docs/verification/2026-11-20-octatrack-unused-module-cost.md new file mode 100644 index 0000000000..605d50f72f --- /dev/null +++ b/docs/verification/2026-11-20-octatrack-unused-module-cost.md @@ -0,0 +1,76 @@ +# What an installed, unused module costs the Octatrack's frame + +On 20 November 2026 an Octatrack MKII on OS 1.40C ran development twins of base 0.7.10 in RAM over USB. Every reading +used the same scene: bank A, pattern A01, Part 1, eight FLEX tracks of which T1 to T7 have two trigs, FILTER and DELAY +on every track but T1 (SPRING REV) and T5 (SPATIALIZER), no module assigned anywhere. A reading is the frame guard's +share of time in the frame interrupt over 8 seconds after 3 to 4 seconds of settling (`guard`), its longest frame, and +the mean of ten CPU meter readings (`stats`). Every set ran as a USB trial that rolled back. + +## Where the cost is: base 0.7.10, twin `acc111da` + +Playing, the 24 packages of the [0.7.10 dispatch record](2026-11-19-octatrack-idle-dispatch.md) installed and unused +added 6.1 points of frame interrupt (56.6 % to 62.7 %) and took the longest frame from 94.9 % to 107.2 % of a frame. +Stopped readings moved by up to 5.5 points between two empty runs (the delays' tails after a play), so this record +compares playing readings. + +Each package alone (`npm run device:price`, playing, 56.9 % before): + +| Module | Kind | What runs in the frame while unused | Points | +| --- | --- | --- | ---: | +| POLY8 0.3.3 | machine | handlers on `ev_play_increment`, `ev_voice_bind`, `ev_voice_bind_run`; 11 detours in the render, trig and sequencer code | 2.3 | +| Repitch 0.2.1 | playback policy | `ev_play_increment` handler; 3 detours in the increment builder and voice renderer | 1.4 | +| Slow LFO 0.1.0 | LFO setting | 4 detours in the audio and MIDI LFO engines | 0.5 | +| Mute Modes 0.2.2 | mute policy | `ev_voice_bind` handler; 5 detours in the voice, trig and tail paths | 0.3 | +| Track Solo 0.2.5 | panel tool | 2 detours at the frame interrupt's entry and exit | 0.2 | +| Tuner 0.1.0 | panel tool | 1 detour at the frame interrupt's exit | 0.1 | +| the other 18 | effects, scenes, UI tools, table machines (Amiga, SYNTIZ) | nothing: UI detours, tick, key and draw handlers, tables, DSP code only when picked | 0.0 | + +The seven modules with frame code together added 5.6 points; the other 17 together 0.1. So no measurable part of the +cost is base work that grows with the number of installed modules (0.7.10's sparse dispatch removed the UI tick's), and +none of it is in the DSP: it is module code the frame interrupt enters while no track uses the module, through the +hooks that rest and through each module's own detours. + +## The change: machines rest + +The base now answers `ev_in_use` for a machine's module (HOOKS.md): it rests while no track of any Part of the project, +working or saved, is that machine. That takes POLY8's three handlers out of the frame on its own. Its 11 frame-path +detours rest only once its package marks them `"rests"`, a POLY8 release of its own; a development build of POLY8 +0.3.3 with those 11 marked (same module id and image) was built for the unit run below and is not published. + +The other five modules in the table are not machines: each needs its own `ev_in_use` answer (HOOKS.md) to rest. +Effect modules (DSP code) are answered for by the base as well: they rest while no slot of the project names their +effect id and no live slot runs it. Euclid (2.5 points at rest in its own record, base 0.7.8, the Tresor Prep scene, +18 November) and Tape Echo (0.4) were not in the 24-package set; their figures are the same measure on another base +and scene, and come from their ColdFire detours in the frame, which their next releases mark resting. + +## 0.7.11 on the MKII + +The Windows RAM boot exceeded its 60-second reconnect window before a trial started. The later Mac comparison used the same compiler and Tracks + Main + Cue layout for both twins. Control `69354a52b1142a6b` came from `e58e9805afb8`. Candidate `fac1523234f4bb0b` came from `618040e7ed12`. A01 played on Part 4, whose working and saved copies matched. Seven FLEX tracks had trigs. USB audio varied on T1 and Main during these captures. + +| Playing window | Control mean frame | Candidate mean frame | Control longest frame | Candidate longest frame | +|---|---:|---:|---:|---:| +| Empty | 51.8% | 51.0% | 88.6% | 90.5% | +| 24 published packages | 58.0% | 56.0% | 102.6% | 104.4% | +| Published POLY8 alone | 54.5% | 53.2% | 98.5% | 97.6% | +| 24 with private resting POLY8 | — | 54.1% | — | 96.1% | +| Private resting POLY8 alone | — | 51.0% | — | 91.5% | +| Empty, repeated | 51.9% | 51.0% | 90.0% | 90.1% | + +The 24 published packages added 6.2 percentage points on control and 5.0 on candidate. Each cell is one approximately eight-second window. A longest frame above 100% exceeded its frame period. The guard counted zero skipped renders in these windows. + +All 18 picks landed on T8 as requested. Each machine pick had a matched STATIC control. The two uncaptured POLY8 wakes added 2.6 and 2.7 points of steady frame time. SYNTIZ and Amiga showed no repeatable increase on this scene. No pick added a skipped render. The six USB recordings had no consecutive all-zero Main frames or repeated non-silent 128-frame blocks. The 24-package self-test with private POLY8 returned 24/24 modules intact and 1/1 DSP effect run. The flat 3% wake estimate remains provisional near the 85% admission threshold. + +A later stopped VECTOR trial exposed a rollback failure on the candidate. The follow-up records the fix, the 30-second Undo on the exact release image, the 36 individual package readings and the slower MIDI soak. [VECTOR and package qualification](2026-11-20-octatrack-vector-undo.md) + +## Host checks + +- `test_machine_registry.c` (and `sdk/tests/test_machine_charge.c` on it): resting after two idle scans, the frame + path of eight unowned FLEX tracks with two resting machines equal to the path with none, wake on pick before the + commit, the wake margin at the busy line, rest on release, a pasted track silent and START-less until the next tick, + a saved copy or another Part keeping a machine awake, no idle scans during a project load, a set change and a late + machine awake for two scans, removal while resting, RENDER_FLEX never resting. Without the resting check in the + render path two of them fail. +- `sdk/runtime/loader/tests/events_test.c` at 32 and 128 modules: a judged module leaves and rejoins only the resting + rows by the machine's answer, keeps its table record, its resting site holds stock's bytes, admission accepts the + site, `modwerk_runtime_resting_at`, and Undo of a trial over a resting module and over a woken one. Without the + judged path in the loader 12 checks fail. diff --git a/docs/verification/2026-11-20-octatrack-vector-undo.md b/docs/verification/2026-11-20-octatrack-vector-undo.md new file mode 100644 index 0000000000..89e1aecb1e --- /dev/null +++ b/docs/verification/2026-11-20-octatrack-vector-undo.md @@ -0,0 +1,82 @@ +# VECTOR Undo and individual package costs on Octatrack 0.7.11 + +20 November 2026 · Octatrack MKII · Elektron OS 1.40C · Tracks + Main + Cue + +## VECTOR rollback + +A 30-second stopped whole-set trial of the released VECTOR 0.3.2 left the previous 0.7.11 development image `fac1523234f4bb0b` in recovery at generation 7. A fresh connection and the standard recovery command also failed. After the owner power-cycled, the 0.7.9 base, set digest, and all ten ordered inventory entries matched the original snapshot. + +The loader now evaluates a departing track machine's own stock menu definitions as they will read after the switch restores them. A separate cached callback and all working and saved Part signatures are still checked live. A host regression exercises all three cases. The original unit log reported the recovery state without identifying the particular reference that blocked it. + +| Physical trial with VECTOR alone | What Undo restored | +|---|---| +| Matched development build `a7227df2ba0bc27e`, original preceding set sequence, 30 seconds stopped | Normal, generation 8, original empty inventory and set digest | +| Same build, 30 seconds stopped again | Normal, generation 12, same baseline | +| Same build after playback | Normal, generation 14, same baseline | +| Controller-enabled development build `be86323a387211a5`, 30 seconds stopped | Normal, generation 2, same baseline | +| Release candidate `a08a1557c5bd7d04b6b0615361f059ac99ba2bc40f8a7e3b86842db2ccbbb5bd`, 30 seconds stopped | Normal, generation 2, exact starting inventory and set digest | + +Each comparison and release trial ran through the hardware USB loader. The tested release candidate was RAM-booted. The unit returned to its flashed 0.7.9 base and the ten original modules after the release trial. + +## Package measurements + +The controller-enabled development build `be86323a387211a5f8ac3c255ac00da121de78854835dc518e50dc1587fd36b8` ran each of the 36 portable published packages alone. The five packages bound to specific release base identities are outside this pool. Each session began on A01 with T1 and the clean Part 4 selected. Kits can select another Part when playback starts. The repeat below names the Part observed in its measurement windows. Its working and saved copies and the current pattern matched the comparison scene. Part 1 had a different hash when this session acquired the unit again. Its contents were preserved from entry to exit. + +Each package had an eight-second empty-base reading and an eight-second installed reading, with playback and advancing frames verified in each window. For FX packages, the available assigned reading is on T1 and uses the same empty-base reference. Each installed module and each completed Undo were checked. The columns give mean audio-frame interrupt time as a percentage of a frame and signed differences in percentage points. The 0.2-point test applies to the difference between the empty and installed windows. Values are individual paired observations at 0.1-point resolution. Differences include variation between playback windows. The table uses the warm E-Verb repeat and the matched-Part repeats for Kits and Tuner. Seven of the reported pairs exceeded +0.2 points. + +| Released package | Version | Empty | Installed | Added at rest | Added on FX slot | +|---|---|---:|---:|---:|---:| +| FM Synth | 0.1.4-experimental | 51.4% | 53.7% | +2.3 | — | +| Repitch | 0.2.1-experimental | 51.5% | 53.7% | +2.2 | — | +| POLY8 | 0.3.3-experimental | 51.5% | 53.7% | +2.2 | — | +| Euclid | 0.1.5-experimental | 51.4% | 53.6% | +2.2 | +4.3 | +| Tape Echo | 0.1.6-experimental | 51.5% | 52.4% | +0.9 | +9.3 | +| Slow LFO | 0.1.0-experimental | 51.5% | 52.4% | +0.9 | — | +| Mute Modes | 0.2.2-experimental | 51.4% | 52.1% | +0.7 | — | +| DirectJmp Kyoti | 0.1.2-experimental | 51.3% | 51.5% | +0.2 | — | +| Tuner | 0.1.0-experimental | 51.4% | 51.6% | +0.2 | — | +| SC Ringmod | 0.2.1-experimental | 51.5% | 51.6% | +0.1 | +0.1 | +| Preview Vol | 0.1.2-experimental | 51.4% | 51.5% | +0.1 | — | +| Apply Scene | 0.2.0-experimental | 51.4% | 51.5% | +0.1 | — | +| VECTOR | 0.3.2-experimental | 51.5% | 51.6% | +0.1 | — | +| BBD Delay | 0.1.2-experimental | 51.4% | 51.5% | +0.1 | +0.1 | +| SAMPLE LOCKS | 0.1.9-experimental | 51.4% | 51.5% | +0.1 | — | +| MIDI Scenes | 0.3.0-experimental | 51.4% | 51.5% | +0.1 | — | +| Vibrato | 0.1.0-experimental | 51.3% | 51.4% | +0.1 | +0.2 | +| TapeHead | 0.1.2-experimental | 51.5% | 51.5% | +0.0 | +0.0 | +| Air Chorus | 0.1.3-experimental | 51.5% | 51.5% | +0.0 | -0.1 | +| LOFI2 | 0.1.1-experimental | 51.5% | 51.5% | +0.0 | +0.1 | +| Scale Quantizer | 0.1.4-experimental | 51.5% | 51.5% | +0.0 | — | +| Quant Live Rec | 0.1.1-experimental | 51.5% | 51.5% | +0.0 | — | +| Arp Key Locks | 0.1.0-experimental | 51.5% | 51.5% | +0.0 | — | +| beat-slicer | 0.1.66-experimental | 51.5% | 51.5% | +0.0 | — | +| Temp Save | 0.1.1-experimental | 51.5% | 51.5% | +0.0 | — | +| Bar LED | 0.1.0-experimental | 51.5% | 51.5% | +0.0 | — | +| tiempos | 0.1.0-experimental | 51.5% | 51.5% | +0.0 | — | +| Track Solo | 0.2.5-experimental | 51.4% | 51.4% | +0.0 | — | +| Amiga | 0.3.0-experimental | 51.5% | 51.5% | +0.0 | — | +| Butter Fingers | 0.1.0-experimental | 51.5% | 51.5% | +0.0 | — | +| E-Verb | 0.1.2-experimental | 51.5% | 51.4% | -0.1 | +0.1 | +| Mini Verb | 0.2.3-experimental | 51.4% | 51.3% | -0.1 | +0.2 | +| Play Modes | 0.1.1-experimental | 51.5% | 51.4% | -0.1 | — | +| Deja Vu | 0.1.0-experimental | 51.5% | 51.4% | -0.1 | — | +| Kits | 0.1.0-experimental | 56.6% | 56.5% | -0.1 | — | +| syntiz | 0.1.0-experimental | 51.5% | 51.3% | -0.2 | — | + +E-Verb was the first package after boot. Its initial empty window read 53.0%. On a warm repeat, empty read 51.5% and installed read 51.4%, a difference of -0.1 points. Both trials rolled back. + +Kits first measured 51.5% empty and 56.6% installed (+5.1 points). The following empty control stayed at 56.5%. A warm repeat measured 56.5% empty and 56.6% installed (+0.1 points). After another RAM boot, Kits measured 51.4% empty and 56.6% installed (+5.2 points). Its empty window played Part 4 and its installed window played Part 1. After Undo, the empty base measured 56.5%. The large increase tracked the change of playback Part. + +With empty and installed both playing Part 1, Kits measured 56.6% empty and 56.5% installed (-0.1 points). + +Tuner followed Kits in the first session and initially measured +0.4 points. With Part 4 confirmed in both windows on a fresh session, it measured 51.4% empty and 51.6% installed (+0.2 points). + +Vibrato's first run rolled back and restored the entry scene at exit. The runner could not verify the scratch Part before Undo, so the table uses the separately verified repeat. + +## Transport and pattern soak + +The 24-package set included the private POLY8 build with its 11 resting detours. The first run at 20 operations per second was interrupted by the owner after 86.1 seconds, 1,722 operations and 141 observed pattern changes. USB communication stopped at that point. The next connection verified the flashed base and its ten kept modules. + +At the owner's requested slower pace, seed 1849 sent 120 operations at one per second over 121.7 seconds. The preflight verified MIDI START and A01/A02 program changes on channel 11. The monitor observed 16 pattern transitions and passed its frame, UI tick, crash, stall and loader-error checks. The measured peak CPU was 68.5%. + +Undo restored the starting set after the soak. A01, A02 and all four working and saved Parts matched their pre-run hashes. The original Part and track selection, flashed base `dfa438130710fea9`, kept set `100ed1fccfd7bd6b` and its ten ordered modules matched at exit. diff --git a/docs/verification/2026-11-20-usb-staging-diagnostics.md b/docs/verification/2026-11-20-usb-staging-diagnostics.md new file mode 100644 index 0000000000..3598503ac1 --- /dev/null +++ b/docs/verification/2026-11-20-usb-staging-diagnostics.md @@ -0,0 +1,7 @@ +# Diagnosing an unconfirmed USB write + +The browser can throw during an Octatrack USB OUT transfer even if the instrument received the frame. The site reads the device's result before deciding what to do. If the matching sequence is pending or ready, the transfer can continue. If receipt is uncertain, the session stops. + +On the previous site, a thrown browser error followed by an unconfirmed result reached the diagnostics collector as a generic vendor transport error. A read of the USB counters can show a device refusal or a bus reset, but it cannot recover the browser error type after the transport discards it. + +The scripted USB device in `upload-usb.test.ts` reproduces both outcomes of a thrown write. The sync tests in `octatrack-link.test.ts` check that a browser error reaches the existing diagnostic category and that a device refusal keeps its own category. Only the error type goes into the report. These tests establish how to interpret future reports. The cause of earlier Windows staging failures remains open. diff --git a/public/licenses/THIRD_PARTY_NOTICES.html b/public/licenses/THIRD_PARTY_NOTICES.html index 5dc2c19f1a..a648a01956 100644 --- a/public/licenses/THIRD_PARTY_NOTICES.html +++ b/public/licenses/THIRD_PARTY_NOTICES.html @@ -4586,6 +4586,75 @@ ======================================================================== +MultiStomp Editor effect animations by Roman Rusinov +SPDX: MIT +Used in: Zoom effect library previews (src/devices/zoom-previews) +Notice source: https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx + +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +======================================================================== + USB audio and MIDI contributions (USB Audio 0.2) Source: sambanks/octabam at 7b2984c859732ae6c797ae49c7d61d250b1b6519. diff --git a/public/licenses/THIRD_PARTY_NOTICES.txt b/public/licenses/THIRD_PARTY_NOTICES.txt index a1ab208778..4a53782e40 100644 --- a/public/licenses/THIRD_PARTY_NOTICES.txt +++ b/public/licenses/THIRD_PARTY_NOTICES.txt @@ -4585,6 +4585,75 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ======================================================================== +MultiStomp Editor effect animations by Roman Rusinov +SPDX: MIT +Used in: Zoom effect library previews (src/devices/zoom-previews) +Notice source: https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx + +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +======================================================================== + USB audio and MIDI contributions (USB Audio 0.2) Source: sambanks/octabam at 7b2984c859732ae6c797ae49c7d61d250b1b6519. diff --git a/public/octatrack-modules/recorder-loop-fix/0.1.0-experimental.mwrm b/public/octatrack-modules/recorder-loop-fix/0.1.0-experimental.mwrm index fdea793c9e..a73b773669 100644 Binary files a/public/octatrack-modules/recorder-loop-fix/0.1.0-experimental.mwrm and b/public/octatrack-modules/recorder-loop-fix/0.1.0-experimental.mwrm differ diff --git a/public/zoom-effects/arrakis/2.0.0/Arrakis.ZDL b/public/zoom-effects/arrakis/2.0.0/Arrakis.ZDL new file mode 100644 index 0000000000..b6cf44a4fc Binary files /dev/null and b/public/zoom-effects/arrakis/2.0.0/Arrakis.ZDL differ diff --git a/public/zoom-effects/carillon/0.4.0/Carillon.ZDL b/public/zoom-effects/carillon/0.4.0/Carillon.ZDL new file mode 100644 index 0000000000..69dca4e698 Binary files /dev/null and b/public/zoom-effects/carillon/0.4.0/Carillon.ZDL differ diff --git a/public/zoom-effects/chimera/0.3.0/Chimera.ZDL b/public/zoom-effects/chimera/0.3.0/Chimera.ZDL new file mode 100644 index 0000000000..0cae0d056f Binary files /dev/null and b/public/zoom-effects/chimera/0.3.0/Chimera.ZDL differ diff --git a/public/zoom-effects/chopdly/1.4.0/Chopdly.ZDL b/public/zoom-effects/chopdly/1.4.0/Chopdly.ZDL new file mode 100644 index 0000000000..b325e81683 Binary files /dev/null and b/public/zoom-effects/chopdly/1.4.0/Chopdly.ZDL differ diff --git a/public/zoom-effects/corrupt/2.0.0/Corrupt.ZDL b/public/zoom-effects/corrupt/2.0.0/Corrupt.ZDL new file mode 100644 index 0000000000..ffb3d5fe1e Binary files /dev/null and b/public/zoom-effects/corrupt/2.0.0/Corrupt.ZDL differ diff --git a/public/zoom-effects/deform/0.4.0/Deform.ZDL b/public/zoom-effects/deform/0.4.0/Deform.ZDL new file mode 100644 index 0000000000..f5ca2bad6d Binary files /dev/null and b/public/zoom-effects/deform/0.4.0/Deform.ZDL differ diff --git a/public/zoom-effects/dissolve/2.0.0/Dissolve.ZDL b/public/zoom-effects/dissolve/2.0.0/Dissolve.ZDL new file mode 100644 index 0000000000..8a9d8a8a1d Binary files /dev/null and b/public/zoom-effects/dissolve/2.0.0/Dissolve.ZDL differ diff --git a/public/zoom-effects/droplets/0.3.0/Droplets.ZDL b/public/zoom-effects/droplets/0.3.0/Droplets.ZDL new file mode 100644 index 0000000000..3e7dfe0137 Binary files /dev/null and b/public/zoom-effects/droplets/0.3.0/Droplets.ZDL differ diff --git a/public/zoom-effects/dustbox/1.0.0/Dustbox.ZDL b/public/zoom-effects/dustbox/1.0.0/Dustbox.ZDL new file mode 100644 index 0000000000..482fe29013 Binary files /dev/null and b/public/zoom-effects/dustbox/1.0.0/Dustbox.ZDL differ diff --git a/public/zoom-effects/flower/2.0.0/Flower.ZDL b/public/zoom-effects/flower/2.0.0/Flower.ZDL new file mode 100644 index 0000000000..26a558d23e Binary files /dev/null and b/public/zoom-effects/flower/2.0.0/Flower.ZDL differ diff --git a/public/zoom-effects/galactic/1.2.0/Galactic.ZDL b/public/zoom-effects/galactic/1.2.0/Galactic.ZDL new file mode 100644 index 0000000000..a6fbfa8329 Binary files /dev/null and b/public/zoom-effects/galactic/1.2.0/Galactic.ZDL differ diff --git a/public/zoom-effects/genloss/1.0.0/GenLoss.ZDL b/public/zoom-effects/genloss/1.0.0/GenLoss.ZDL new file mode 100644 index 0000000000..1c3e47589c Binary files /dev/null and b/public/zoom-effects/genloss/1.0.0/GenLoss.ZDL differ diff --git a/public/zoom-effects/gyre/1.0.0/Gyre.ZDL b/public/zoom-effects/gyre/1.0.0/Gyre.ZDL new file mode 100644 index 0000000000..e6f2b73fef Binary files /dev/null and b/public/zoom-effects/gyre/1.0.0/Gyre.ZDL differ diff --git a/public/zoom-effects/horizon/0.3.0/Horizon.ZDL b/public/zoom-effects/horizon/0.3.0/Horizon.ZDL new file mode 100644 index 0000000000..e42f345c38 Binary files /dev/null and b/public/zoom-effects/horizon/0.3.0/Horizon.ZDL differ diff --git a/public/zoom-effects/horizonl/0.2.0/HorizonL.ZDL b/public/zoom-effects/horizonl/0.2.0/HorizonL.ZDL new file mode 100644 index 0000000000..3c472f3b28 Binary files /dev/null and b/public/zoom-effects/horizonl/0.2.0/HorizonL.ZDL differ diff --git a/public/zoom-effects/howl/2.0.0/Howl.ZDL b/public/zoom-effects/howl/2.0.0/Howl.ZDL new file mode 100644 index 0000000000..08d83500ae Binary files /dev/null and b/public/zoom-effects/howl/2.0.0/Howl.ZDL differ diff --git a/public/zoom-effects/hydra/1.0.0/Hydra.ZDL b/public/zoom-effects/hydra/1.0.0/Hydra.ZDL new file mode 100644 index 0000000000..d4fc1a7022 Binary files /dev/null and b/public/zoom-effects/hydra/1.0.0/Hydra.ZDL differ diff --git a/public/zoom-effects/klang/2.0.0/Klang.ZDL b/public/zoom-effects/klang/2.0.0/Klang.ZDL new file mode 100644 index 0000000000..36e0013ddf Binary files /dev/null and b/public/zoom-effects/klang/2.0.0/Klang.ZDL differ diff --git a/public/zoom-effects/oxide/1.1.0/Oxide.ZDL b/public/zoom-effects/oxide/1.1.0/Oxide.ZDL new file mode 100644 index 0000000000..fd64498e28 Binary files /dev/null and b/public/zoom-effects/oxide/1.1.0/Oxide.ZDL differ diff --git a/public/zoom-effects/rewire/1.0.0/Rewire.ZDL b/public/zoom-effects/rewire/1.0.0/Rewire.ZDL new file mode 100644 index 0000000000..5113d98584 Binary files /dev/null and b/public/zoom-effects/rewire/1.0.0/Rewire.ZDL differ diff --git a/public/zoom-effects/ring/0.3.0/Ring.ZDL b/public/zoom-effects/ring/0.3.0/Ring.ZDL new file mode 100644 index 0000000000..06164ad330 Binary files /dev/null and b/public/zoom-effects/ring/0.3.0/Ring.ZDL differ diff --git a/public/zoom-effects/rooms/2.0.0/Rooms.ZDL b/public/zoom-effects/rooms/2.0.0/Rooms.ZDL new file mode 100644 index 0000000000..4367e715c4 Binary files /dev/null and b/public/zoom-effects/rooms/2.0.0/Rooms.ZDL differ diff --git a/public/zoom-effects/shatter/2.0.0/Shatter.ZDL b/public/zoom-effects/shatter/2.0.0/Shatter.ZDL new file mode 100644 index 0000000000..9cc03a1aab Binary files /dev/null and b/public/zoom-effects/shatter/2.0.0/Shatter.ZDL differ diff --git a/public/zoom-effects/skull/0.6.0/Skull.ZDL b/public/zoom-effects/skull/0.6.0/Skull.ZDL new file mode 100644 index 0000000000..cc2df43c85 Binary files /dev/null and b/public/zoom-effects/skull/0.6.0/Skull.ZDL differ diff --git a/public/zoom-effects/spiral/1.0.0/Spiral.ZDL b/public/zoom-effects/spiral/1.0.0/Spiral.ZDL new file mode 100644 index 0000000000..9a69334a75 Binary files /dev/null and b/public/zoom-effects/spiral/1.0.0/Spiral.ZDL differ diff --git a/public/zoom-effects/spool/1.2.0/Spool.ZDL b/public/zoom-effects/spool/1.2.0/Spool.ZDL new file mode 100644 index 0000000000..367abb6bea Binary files /dev/null and b/public/zoom-effects/spool/1.2.0/Spool.ZDL differ diff --git a/public/zoom-effects/taffy/3.0.0/Taffy.ZDL b/public/zoom-effects/taffy/3.0.0/Taffy.ZDL new file mode 100644 index 0000000000..de9578d6d2 Binary files /dev/null and b/public/zoom-effects/taffy/3.0.0/Taffy.ZDL differ diff --git a/public/zoom-effects/tonic/0.1.0/Tonic.ZDL b/public/zoom-effects/tonic/0.1.0/Tonic.ZDL new file mode 100644 index 0000000000..ea39c47417 Binary files /dev/null and b/public/zoom-effects/tonic/0.1.0/Tonic.ZDL differ diff --git a/scripts/agent-board.mjs b/scripts/agent-board.mjs index 856f792297..6ae0a62385 100644 --- a/scripts/agent-board.mjs +++ b/scripts/agent-board.mjs @@ -396,7 +396,9 @@ async function main(argv) { if (command === 'logout') { await rm(tokenFile(), { force: true }); console.log('Signed out.'); return 0 } if (command === 'whoami') { const name = await whoami(); console.log(name ? '@' + name : 'Not signed in: npm run board -- login'); return name ? 0 : 1 } if (command === 'list') { - const query = new URLSearchParams(Object.entries({ kind: rest[0], key: rest[1], holder: option('--holder'), released: flag('--released') && '1' }).filter(([, value]) => value)) + const holder = option('--holder') + if (flag('--holder') && (!holder?.trim() || holder.startsWith('-'))) throw new Error('Give a GitHub login after --holder.') + const query = new URLSearchParams(Object.entries({ kind: rest[0], key: rest[1], holder, released: flag('--released') && '1' }).filter(([, value]) => value)) const { claims, released } = await boardRequest('/agent-board/claims' + (query.size ? '?' + query : '')) if (!claims.length) console.log('No active claims' + (rest.length ? ' for ' + rest.join(' ') : '') + '.') claims.forEach(print) @@ -465,6 +467,14 @@ async function main(argv) { if (command === 'delete') console.log('Deleted ' + result.deleted + '.'); else console.log(describeThread(result.message).join('\n')) return 0 } + if (command === 'claim-collection') { + if (rest[0] !== 'zoom-multistomp') throw new Error('Usage: npm run board -- claim-collection zoom-multistomp') + const token = await readToken() + if (!token) throw new BoardError('Sign in for the board first: npm run board -- login', 401) + const result = await boardRequest('/agent-board/collections/zoom-multistomp', { method: 'POST', token, body: {} }) + console.log(result.claims.length + ' Zoom effects reserved on ' + result.claims[0].branch + '.') + return 0 + } if (command === 'claim') { const [kind, key] = rest if (!KINDS.includes(kind) || !key) throw new Error('Usage: npm run board -- claim <' + KINDS.join('|') + '> [--note "…"] [--pr ] [--branch ]') diff --git a/scripts/agent-board.test.mjs b/scripts/agent-board.test.mjs index 2ed2c3dc88..9598a3c87d 100644 --- a/scripts/agent-board.test.mjs +++ b/scripts/agent-board.test.mjs @@ -1,5 +1,5 @@ import { afterEach, describe, expect, it } from 'vitest' -import { execFileSync } from 'node:child_process' +import { execFileSync, spawnSync } from 'node:child_process' import { mkdirSync, mkdtempSync, rmSync, writeFileSync } from 'node:fs' import { tmpdir } from 'node:os' import { dirname, join } from 'node:path' @@ -19,6 +19,14 @@ function repository(files) { const events = indices => JSON.stringify({ events: indices.map(index => ({ event: 'ev_' + index, index })) }) const claimRow = (kind, key, holder) => ({ id: crypto.randomUUID(), kind, key, holder, branch: 'work', pullRequest: null, expiresAt: '2026-11-12T00:00:00.000Z' }) +it.each([{ args: [] }, { args: ['--released'] }, { args: [''] }])('rejects a claims filter without a holder ($args)', ({ args }) => { + const result = spawnSync(process.execPath, [join(import.meta.dirname, 'agent-board.mjs'), 'list', '--holder', ...args], { + env: { ...process.env, MODWERK_BOARD: 'off' }, encoding: 'utf8', + }) + expect(result.status).toBe(1) + expect(result.stderr).toContain('Give a GitHub login after --holder') +}) + describe('what a branch needs claimed', () => { it('finds new module folders, hook and table indices, migrations and machine ids, and nothing that was already there', () => { const manifest = (...ids) => JSON.stringify({ platform: { kind: 'elemod', claims: ['ui:x', ...ids.map(id => 'machine:' + id)] } }) diff --git a/scripts/change-scope.mjs b/scripts/change-scope.mjs index 1efd7402d1..f94029e8c3 100644 --- a/scripts/change-scope.mjs +++ b/scripts/change-scope.mjs @@ -114,7 +114,7 @@ function workerCatalog(value) { // Whole trees the Worker compiles from: a test checks that every file worker.ts imports falls under these, so a new // import cannot silently miss the deploy. A few frontend-only files here only cause a harmless extra deploy. const workerTrees = /^(server|migrations|src\/(community|catalog|devices|config|legal))\// -const workerFiles = ['worker.ts', 'wrangler.worker.jsonc', 'package-lock.json', 'src/hosting.ts', 'src/support.ts', 'sdk/catalog.json', 'docs/news/008-beta-invitation.draft.json', '.github/workflows/worker.yml', '.github/module-authors.json'] +const workerFiles = ['worker.ts', 'wrangler.worker.jsonc', 'package-lock.json', 'src/hosting.ts', 'src/support.ts', 'sdk/catalog.json', 'sdk/approvals/zoom-release-waivers.json', 'docs/news/008-beta-invitation.draft.json', '.github/workflows/worker.yml', '.github/module-authors.json'] function workerChange({ path, before, after }) { if (catalogs.has(path) && before !== null && after !== null) return canonical(workerCatalog(json(before))) !== canonical(workerCatalog(json(after))) // The Worker bundles the generated (uncommitted) list of every machine's modules but the Octatrack's diff --git a/scripts/check.mjs b/scripts/check.mjs index ef162eda2d..4f51f9c384 100644 --- a/scripts/check.mjs +++ b/scripts/check.mjs @@ -9,7 +9,7 @@ import { checkChangelog } from './changelog.mjs' import { checkDocs } from './docs.mjs' import { appStagesFit, takeSlot, vitestWorkerBytes, workersFor } from './machine-slots.mjs' import { checkModuleChangelogs } from './module-changelogs.mjs' -import { moduleScopeProblems } from './pr-ready.mjs' +import { localPythonProblem, moduleScopeProblems } from './pr-ready.mjs' const root = fileURLToPath(new URL('../', import.meta.url)) const npmCli = process.env.npm_execpath @@ -116,6 +116,11 @@ async function all(...steps) { // The combined module list and changelog are generated, never committed; write them as npm ci does before anything reads them. let passed = await run('prepare') +// The module gates run in Python 3.10+; an older python3 (macOS's own is 3.9) would crash inside them with no word on why. +if (!buildOnly && !suiteOnly && passed && (plan.metadata || plan.native)) { + const python = localPythonProblem(root) + if (python) { console.error(python); passed = false } +} // Reject stale notices/catalog before generation can overwrite the evidence of staleness. if (!buildOnly && !suiteOnly && passed) { if (plan.metadata) passed = await all(() => run('licenses:check'), () => run('machines:check'), () => run('modules:check', base ? ['--base', base] : [])) diff --git a/scripts/diagnostics-pull.mjs b/scripts/diagnostics-pull.mjs index 9feb4c8c5a..03ba766bbf 100644 --- a/scripts/diagnostics-pull.mjs +++ b/scripts/diagnostics-pull.mjs @@ -22,7 +22,7 @@ const OUT = join(homedir(), '.cache/modwerk-local/diagnostics') /** Module ids (the package's `module`, 8 hex digits) to names, for the unit's `set` records. */ const MODULE_NAMES = new Map((() => { try { return JSON.parse(readFileSync(new URL('src/engine/assets/octatrack-module-packages.json', ROOT), 'utf8')).packages.map(p => [p.module, p.name ?? p.id]) } catch { return [] } })()) const PAGE = 500 -const PROBLEMS = ['sync_failed', 'build_failed', 'browser_error', 'unhandled_rejection', 'unresponsive'] +const PROBLEMS = ['sync_failed', 'link_failed', 'build_failed', 'browser_error', 'unhandled_rejection', 'unresponsive'] /** Pages through every retained record, oldest first; `page(since)` answers with the endpoint's JSON. */ export async function pullAll(page, from) { @@ -43,6 +43,7 @@ export async function pullAll(page, from) { /** This computer's local time, as Discord shows it. */ export const when = iso => new Date(iso).toLocaleString('sv-SE', { dateStyle: 'short', timeStyle: 'short' }) const line = ({ createdAt, username, data }) => [when(createdAt), '@' + username, data.event, data.phase, + data.failure && 'failure=' + data.failure, data.client && [data.client.browser, data.client.major].filter(Boolean).join(' ') + '/' + data.client.os, data.error && 'error=' + data.error, data.result && 'result=' + data.result, data.refusal !== undefined && 'refusal=' + data.refusal, data.buildKind, data.area && 'area=' + data.area, data.kind && 'type=' + data.kind, data.step && 'step=' + data.step, data.reason && 'reason=' + data.reason, data.live?.cpu && 'cpu ' + data.live.cpu.map(percent).join('/'), data.modules?.map(module => module.id + '@' + module.catalogVersion).join(',')].filter(Boolean).join(' ') diff --git a/scripts/diagnostics-pull.test.mjs b/scripts/diagnostics-pull.test.mjs index 01c7297299..165369c321 100644 --- a/scripts/diagnostics-pull.test.mjs +++ b/scripts/diagnostics-pull.test.mjs @@ -34,6 +34,16 @@ describe('diagnostics pull', () => { expect(text).toContain(`${when(failed.createdAt)} @other sync_failed sending error=device refusal=3 poly8@0.3.0`) expect(text).toContain('2026-10-15 failed 1') }) + it('lists failures before a USB connection with the reported reason and optional client', () => { + const link = (n, failure, client) => entry(n, 'tester', { event: 'link_failed', phase: 'idle', failure, client }) + const text = summary({ events: [link(1, 'no-device'), entry(2), link(3, 'claim-failed', { browser: 'chrome', major: 150, os: 'linux' })], counts: [] }) + const problems = text.split('Problems (')[1] + expect(problems.split('\n').slice(0, 3)).toEqual([ + '2, newest first, up to 30):', + ` ${when(entry(3).createdAt)} @tester link_failed idle failure=claim-failed chrome 150/linux`, + ` ${when(entry(1).createdAt)} @tester link_failed idle failure=no-device`, + ]) + }) it('counts restarts from the unit’s log and names what each boot’s restore did, once per change', () => { const base = 'a'.repeat(64) const start = (seq, boot) => ({ seq, boot, second: 0, kind: 'start', a: 0, cpu: 0, dsp1to4: 0, dsp5to8: 0, machines: [], fx: [], keys: [], screen: 0, tempo24: 0, playing: false }) diff --git a/scripts/machine-modules.mjs b/scripts/machine-modules.mjs index d045b71a8c..f8b0350e47 100644 --- a/scripts/machine-modules.mjs +++ b/scripts/machine-modules.mjs @@ -140,7 +140,7 @@ for(const machine of machineProfiles.filter(profile=>profile.sdk?.platform==='el // Only the pull-request check (--base) refuses it: a newly scaffolded module must still pass npm ci's prepare while its developer draws one. if(baseCommit&&dir===folderRoot)for(const item of document.media)if(item.kind==='thumbnail')requireOriginalThumbnail(label,item,await readFile(await file(folder,item.path),'utf8')) for(const path of await walk(folder))if(/\.(bin|syx|elemod|exe|dll|so|dylib|zip|img|hex)$/i.test(path))throw new Error('Prohibited firmware/binary file: '+label+'/'+path) - if(published.some(item=>item.id===document.id)||newVersion){try{requireModwerkPublication(document)}catch(error){throw new Error(label+': '+error.message+(newVersion?' (every new library version passes the publication gate: docs/ADD_A_MODULE.md#digitakt-and-digitone)':''),{cause:error})}} + if(published.some(item=>item.id===document.id)||newVersion){try{requireModwerkPublication(document, zdl ? await json(resolve(root,'sdk/approvals/zoom-release-waivers.json')) : undefined)}catch(error){throw new Error(label+': '+error.message+(newVersion?' (every new library version passes the publication gate: docs/ADD_A_MODULE.md#digitakt-and-digitone)':''),{cause:error})}} if(write)for(const item of document.media){const destination=resolve(root,'public/module-media',machine.id+'-'+document.id,document.version,item.path);await mkdir(dirname(destination),{recursive:true});await copyFile(await file(folder,item.path),destination)} // Only addresses and lengths are needed by the planner; never include stock bytes. const patchSites=!build?{}:Object.fromEntries(Object.entries(build.releases).map(([release,value])=>[release,[...value.sites,...(build.derive?.releases.includes(release)?build.derive.callSites:[])].map(({addr,len})=>({addr,len}))])) diff --git a/scripts/module-pages.ts b/scripts/module-pages.ts index d430be8387..a80b794313 100644 --- a/scripts/module-pages.ts +++ b/scripts/module-pages.ts @@ -37,15 +37,15 @@ export async function moduleThumbnail(id: string, stylesheet: string): Promise /^\s*(?:stroke[\w-]*|fill|opacity|font[\w-]*|letter-spacing)\s*:/.test(declaration)).join(';') return `${rule.selector}{${declarations}}` }).join('\n').replaceAll('var(--signal)', color).replaceAll('var(--signal-rgb)', rgb).replaceAll('var(--mono)', 'monospace') - const detail = DETAILS[id] + const controls = DETAILS[id].controls.slice(0, 3) + const artworkHeight = controls.length ? 558 : 630 const svg = ` - ${escapeHtml(detail.label)} - ${artwork.replace(' `${escapeHtml(control)}`).join('')} + ${artwork.replace(' `${escapeHtml(control)}`).join('')} ` return sharp(Buffer.from(svg)).jpeg({ quality: 90 }).toBuffer() } diff --git a/scripts/octatrack-qualify.py b/scripts/octatrack-qualify.py index 9d7f1b3e4d..33976e03f9 100755 --- a/scripts/octatrack-qualify.py +++ b/scripts/octatrack-qualify.py @@ -6,8 +6,9 @@ Run it on a bank and Part whose working copy equals its saved one (docs/OCTATRACK_DRIVING.md), transport stopped. Installs the set, puts each DSP effect alone on T1 (core 1) and T5 (core 0) and reads the load meters, and each track -machine (a package contributing to ot_machines) on T1 and T5 through SRC SETUP's machine list, playing, with its render -time against its CPU price; then all of them at once while the pattern plays (machines on T1-T8 round the set, beside +machine (a package contributing to ot_machines) on T1 and T5 through SRC SETUP's machine list, recording its peak render +time during playback. A priced machine also gets matched quiet and triggered frame-mean readings. Then all run at once +while the pattern plays (machines on T1-T8 round the set, beside the effects). A machine renders only on trigs: give T1 and T5 trigs. With everything placed, playing: each placed module's knobs swept (a machine's on its SRC page), the four Parts switched three times round (each must run its own effects), a queued pattern change into another bank @@ -89,9 +90,17 @@ def testing_entry(result, day, title='Qualification run', command='device:qualif for m in result['modules']: if m.get('machine'): alone = ', '.join('%s %s' % (track, 'refused' if r == 'refused' else 'core peak %d per mille, CPU %d per mille, its render %s' % ( - r['core1_peak'] if track == 'T1' else r['core0_peak'], r['cpu'], 'not read' if r.get('render') is None else '%.1f %% of a frame' % r['render'])) + r['core1_peak'] if track == 'T1' else r['core0_peak'], r['cpu'], 'not read' if r.get('render') is None else 'peak %.1f %% of a frame' % r['render'])) for track, r in m.items() if track in ('T1', 'T5')) lines.append('- %s (machine) alone, playing: %s' % (m['name'], alone)) + if m.get('price_on_unit_only'): + lines.append('- Mean CPU price check: hardware only.') + for track in ('T1', 'T5'): + reading = m.get(track) + if isinstance(reading, dict) and 'audition' in reading: + pair = reading['audition'] + lines.append('- %s %s, mean frame interrupt: quiet %.1f %%, triggered %.1f %%, added %+.1f points; price %d %%.' % + (m['name'], track, pair['quiet'], pair['triggered'], pair['added'], pair['price'])) continue alone = ', '.join('%s %s' % (track, 'refused' if r == 'refused' else 'peak %d per mille of a frame, admitted in %d ms' % ( r['core1_peak'] if track == 'T1' else r['core0_peak'], r['admit_ms'])) for track, r in m.items() if track in ('T1', 'T5')) @@ -291,11 +300,49 @@ def selftest_reading(failures): return line +def frame_mean(reply): + readings = re.findall(r'in the frame interrupt ([\d.]+) % over (\d+) frames', reply) + if not readings or int(readings[-1][1]) == 0: + raise ValueError('no frame mean in the guard window') + return float(readings[-1][0]) + + +def audition_price(track, price): + """Incremental mean in two equal-duration windows on one stopped Part, with only this track retriggered. + Panel auditions leave the pattern and its parameter locks alone. The sequenced peak is recorded separately.""" + key = 'T%d' % track + if send('state').strip() != 'stopped': + raise ValueError('stop the transport before the audition') + # Holding a track and pressing STOP silences its machine. TRACK+PLAY auditions it without starting the sequencer. + send(key + '+STOP w500') + try: + send('w2500 guard') + quiet = frame_mean(send('w6000 guard')) + send(key + '+PLAY w2500') + renders() + send('guard') + start = time.monotonic() + for i in range(24): + time.sleep(max(0, start + i * 0.25 - time.monotonic())) + send(key + '+PLAY') + time.sleep(max(0, start + 6 - time.monotonic())) + triggered = frame_mean(send('guard')) + peaks = renders() + if not peaks or peaks[track - 1] == 0: + raise ValueError('no guarded render during the audition') + if send('state').strip() != 'stopped': + raise ValueError('transport changed during the audition') + return dict(quiet=quiet, triggered=triggered, added=round(triggered - quiet, 1), price=price) + finally: + send(key + '+STOP w300') + + def machine_alone(machines, m, failures): - """Machine `m` alone on T1 (core 1) and T5 (core 0), playing: the load meters and its track's longest render against - its CPU price (a DSP voice that names none has none), then the track's own machine back.""" + """Measure the sequenced peak separately from the mean cost of triggering the track.""" entry = dict(name=m['label'], slot='SRC', machine=True) price = m['price'] or (0 if m['voice'] else CPU_DEFAULT) + if price and EMULATOR: + entry['price_on_unit_only'] = True for track in (1, 5): back = machines.row_of(part_copy(mem(PART, 1)[0]), track - 1) try: @@ -308,10 +355,15 @@ def machine_alone(machines, m, failures): reading['render'] = took and took[track - 1] entry['T%d' % track] = reading log(' %s on T%d:' % (m['label'], track), reading) - if price and took and took[track - 1] > price: - failures.append('%s rendered %.1f %% of a frame on T%d, over %s of %d %%: measure its price on the unit and ' - 'declare it (docs/MODULE_PERFORMANCE.md)' % (m['label'], took[track - 1], track, - 'its CPU price' if m['price'] else 'the base\'s default price', price)) + if price and not EMULATOR: + try: + pair = audition_price(track, price) + reading['audition'] = pair + if pair['added'] > price: + failures.append('%s on T%d added %.1f points of mean frame time, over its %d %% CPU price' + % (m['label'], track, pair['added'], price)) + except (ValueError, RuntimeError) as error: + failures.append('%s on T%d: CPU price not measured: %s' % (m['label'], track, error)) except RuntimeError as e: send('STOP w300'); failures.append(str(e)); entry['T%d' % track] = 'refused' if machines.pick(track - 1, back) != back: failures.append('T%d did not get its own machine back (row %d)' % (track, back)) diff --git a/scripts/octatrack-test.py b/scripts/octatrack-test.py index 1861883e1c..f7190ec4ce 100755 --- a/scripts/octatrack-test.py +++ b/scripts/octatrack-test.py @@ -5,7 +5,7 @@ npm run device:test -- [--seconds 30] [--soak SECONDS] [--hold SECONDS] [--share SOCKET] [--testing-entry FILE] PKG.mwrm The run of `npm run device:qualify` (the module alone on T1 and T5 with the load meters, an effect in its FX slot and a -machine through SRC SETUP's machine list with its render against its CPU price, then on every track while the +machine through SRC SETUP's machine list with its sequenced peak and its triggered mean cost against its CPU price, then on every track while the pattern plays, its knobs swept, the Parts and a bank switched, an optional soak, the Part restored, the loader, crash and stall counters compared), with these differences: - The package goes in as a trial in RAM through `npm run device -- try` on the session's shared socket, without diff --git a/scripts/pr-check-plan.test.mjs b/scripts/pr-check-plan.test.mjs index 6edb033f27..a14451417a 100644 --- a/scripts/pr-check-plan.test.mjs +++ b/scripts/pr-check-plan.test.mjs @@ -108,6 +108,8 @@ it('starts the workflow’s scope command as a fresh Node process', () => { const workflow = readFileSync(join(root, '.github/workflows/module-pr.yml'), 'utf8') const command = workflow.match(/run: node (scripts\/[\w.-]+) --base "\$OCTAMOD_PR_BASE" --head HEAD >> "\$GITHUB_OUTPUT"/) expect(command).toBeTruthy() + // The base is the merge commit's parent, which the two-commit checkout holds; the event's base.sha may not be in it. + expect(workflow).toMatch(/- id: scope\n {8}env:\n(?: {10}#.*\n)* {10}OCTAMOD_PR_BASE: HEAD\^1\n/) const output = execFileSync(process.execPath, [command[1], '--base', 'HEAD', '--head', 'HEAD'], { cwd: root, encoding: 'utf8' }) expect(output.trim().split('\n')).toEqual([ 'parts=["test:1/2","test:2/2","sdk"]', 'modules=false', 'windows=false', 'elemod=false', 'logger=false', diff --git a/scripts/pr-ready.mjs b/scripts/pr-ready.mjs index 8bfbfae255..9e19eb7d0d 100644 --- a/scripts/pr-ready.mjs +++ b/scripts/pr-ready.mjs @@ -57,6 +57,13 @@ export function pythonProblem({ command = 'python3', version = null, error = nul return `npm run check needs Python 3.10 or newer, and ${found}. Install Python 3.10+ and put it first on PATH, then run this again.` } +/** pythonProblem for the interpreter the gates call (scripts/modules.mjs): python3, or python on Windows. */ +export function localPythonProblem(root) { + const command = process.platform === 'win32' ? 'python' : 'python3' + const probe = spawnSync(command, ['-c', 'import sys; print("%d.%d.%d" % sys.version_info[:3])'], { cwd: root, encoding: 'utf8' }) + return pythonProblem({ command, version: probe.stdout?.trim() || null, error: probe.error?.message ?? (probe.status ? (probe.stderr || '').trim().split('\n').pop() || 'exit ' + probe.status : null) }) +} + /** The verdict from what was found; every problem says what to do. */ export function readiness({ python = null, dirty = [], behind = false, remote = 'upstream', regenerated = [], checkPassed = true, author = null, scope = null, guideEdits = [], gateEdits = [], baseEdits = [], instrument = [], compiled = null, board = null }) { const problems = [...board?.problems ?? []], notes = [...board?.notes ?? []] @@ -162,10 +169,7 @@ async function main(argv) { let head = git('rev-parse', 'HEAD'), dirty = changedFiles() let behind = false try { git('merge-base', '--is-ancestor', base, head) } catch { behind = true } - // The same interpreter the gates call (scripts/modules.mjs). - const pythonCommand = process.platform === 'win32' ? 'python' : 'python3' - const probe = spawnSync(pythonCommand, ['-c', 'import sys; print("%d.%d.%d" % sys.version_info[:3])'], { cwd: root, encoding: 'utf8' }) - const python = pythonProblem({ command: pythonCommand, version: probe.stdout?.trim() || null, error: probe.error?.message ?? (probe.status ? (probe.stderr || '').trim().split('\n').pop() || 'exit ' + probe.status : null) }) + const python = localPythonProblem(root) // Each step runs only when the ones before it passed, so the first problem is the one to fix. let regenerated = [], checkPassed = true, scope = null const check = () => npm('check', '--', '--base', base) diff --git a/scripts/pr-ready.test.mjs b/scripts/pr-ready.test.mjs index c2f795effc..515db218b0 100644 --- a/scripts/pr-ready.test.mjs +++ b/scripts/pr-ready.test.mjs @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest' import { execFileSync, spawnSync } from 'node:child_process' -import { copyFileSync, mkdirSync, mkdtempSync, realpathSync, rmSync, writeFileSync } from 'node:fs' +import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, realpathSync, rmSync, writeFileSync } from 'node:fs' import { tmpdir } from 'node:os' import { join } from 'node:path' import { MODULE_SCOPE_REQUIRED_FROM, baseEdits, checkAndCommit, gateEdits, moduleScopeProblems, pythonProblem, readiness } from './pr-ready.mjs' @@ -55,6 +55,13 @@ describe('pr:ready verdict', () => { expect(verdict.ok).toBe(false) expect(verdict.problems[0]).toBe(old) }) + it('makes npm run check name an old Python before the module gates crash in it', () => { + const check = readFileSync(new URL('./check.mjs', import.meta.url), 'utf8') + const probe = check.indexOf('localPythonProblem(root)') + expect(probe).toBeGreaterThan(-1) + expect(probe).toBeLessThan(check.indexOf("run('modules:check'")) + expect(probe).toBeLessThan(check.indexOf("run('modules:compat')")) + }) it('says how to bring a stale branch up to date from the remote that holds main', () => { expect(readiness({ behind: true, remote: 'upstream' }).problems[0]).toContain('git merge upstream/main') }) diff --git a/sdk/approvals/zoom-release-waivers.json b/sdk/approvals/zoom-release-waivers.json new file mode 100644 index 0000000000..ee80743370 --- /dev/null +++ b/sdk/approvals/zoom-release-waivers.json @@ -0,0 +1,178 @@ +{ + "approvedBy": "repeat98", + "approvedOn": "2026-11-20", + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "reason": "Owner approved these exact software-verified releases for listing with the hardware status displayed as untested.", + "modules": { + "spiral": { + "version": "1.0.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "7982e70502a23cf3f7862f7f5c4e83a2aaf8a26e115444a98e97db47d75ffd71", + "sourcePath": "src/custom/spiral" + }, + "hydra": { + "version": "1.0.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "5e93e918f46005be8e73557c01fc7f51d266b7e3ffc0a0b2937a21b35bc5a519", + "sourcePath": "src/custom/hydra" + }, + "spool": { + "version": "1.2.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "18c7cfc2494453074a0c4e68ee27706c3f46b37673b55a725c1ce1aa7a5f88dc", + "sourcePath": "src/airwindows/tapeecho4" + }, + "dissolve": { + "version": "2.0.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "375d3b5da9efd8629ce210f553e74917cf9847c961ece5862c2f3c628fcf891d", + "sourcePath": "src/custom/dissolve" + }, + "chopdly": { + "version": "1.4.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "22d0052c79b01dcef092b968905f1c7a5287b6c83a54c8609f73bd718082450b", + "sourcePath": "src/custom/chopdly" + }, + "droplets": { + "version": "0.3.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "8f04eef9234caef2427aa62866fd89e4fdf0440e9ac1a04aafdaa61a49e909ef", + "sourcePath": "src/custom/droplets" + }, + "gyre": { + "version": "1.0.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "c7de68b262567e37ecec35a4cdae49b0caf88e0b1ffc495d358b78975c0b621a", + "sourcePath": "src/custom/gyre" + }, + "galactic": { + "version": "1.2.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "7f41a7fe6f1e685abd2aa93f117d58cd62ea9749a722ebb2671006550a3f0353", + "sourcePath": "src/airwindows/galactic" + }, + "rooms": { + "version": "2.0.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "8a08e4048e640ade0c2dbeb6562cc77578b1aa3924a323427c16ede754e5ec1b", + "sourcePath": "src/custom/rooms" + }, + "horizon": { + "version": "0.3.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "e7422a884ad56e13346f2dc186da4e3b2599beee756ebeac2a08970208e600d2", + "sourcePath": "src/custom/horizon" + }, + "horizonl": { + "version": "0.2.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "ca0d9022243ab343ce115aba55560074de6ea30b8e20fdee496f097ed413ee3b", + "sourcePath": "src/custom/horizonl" + }, + "arrakis": { + "version": "2.0.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "5c7957d9d2970378439adcada6dc504dba07118597c70fb7370a13d257294a32", + "sourcePath": "src/custom/arrakis" + }, + "taffy": { + "version": "3.0.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "6dd61dca204c34e8701c614796475c676843382cee8a82f6f675624c09b839ee", + "sourcePath": "src/custom/taffy" + }, + "genloss": { + "version": "1.0.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "04ca88ae2dc7f4e2c2c8d0fe349434736b2ccf49cc75f7b69793369d8264696e", + "sourcePath": "src/custom/genloss" + }, + "shatter": { + "version": "2.0.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "9d80c0b591d920b70f3e7457d0f709e99e2dfa80f41052dece3b95463346eaf0", + "sourcePath": "src/custom/shatter" + }, + "dustbox": { + "version": "1.0.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "46edd0332f2cd18dcebee93ad43e0dc66221719b4f3fdd12df27c8ac3ba58928", + "sourcePath": "src/custom/dustbox" + }, + "corrupt": { + "version": "2.0.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "6b97d1d821a1fdce23d2522f4e8abb20a15dea44935ba579dd6c4555ced326a4", + "sourcePath": "src/custom/corrupt" + }, + "oxide": { + "version": "1.1.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "8f07a8b6d226e980157c45b5b3ebaa1e8ce1f9461d42b9833cbcbdb6daa7d172", + "sourcePath": "src/airwindows/totape9" + }, + "deform": { + "version": "0.4.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "9d2daaaccf6808ab09e4c3b215007c052d86a25cedde6d90eee5503a0c904369", + "sourcePath": "src/custom/deform" + }, + "rewire": { + "version": "1.0.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "fc2297e2665799e58ba1323654fc055eef033dd8f70308ef7359a03ab5949864", + "sourcePath": "src/custom/rewire" + }, + "tonic": { + "version": "0.1.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "388343ba778aa7b89709b0aa3363ec4c4c936a19f511c2de9ceaaf37813cc7a8", + "sourcePath": "src/custom/tonic" + }, + "flower": { + "version": "2.0.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "3075e592e86fe95ff9744112a7997766aac5df127108653dd81746ee7d64ae15", + "sourcePath": "src/custom/flower" + }, + "klang": { + "version": "2.0.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "2f64691a4ab840a2094d558d5f02809ff1c4ca22b8b8cc61ff71a01486335173", + "sourcePath": "src/custom/klang" + }, + "howl": { + "version": "2.0.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "2f8a67f2fc75d1bc37961c7f02db4ef24493362c80786c6e6400b1810254a341", + "sourcePath": "src/custom/howl" + }, + "carillon": { + "version": "0.4.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "327646298c5f164a3df3cd31fee16ebd802331edfb143b2bd3680c85ddcd1f1b", + "sourcePath": "src/custom/carillon" + }, + "chimera": { + "version": "0.3.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "59ba2eb3252fce589fa8741e0fb14c868ee6be238817ab8317ede5f2874a0704", + "sourcePath": "src/custom/chimera" + }, + "ring": { + "version": "0.3.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "7be0ab44802cad6e3ebe08f94c23c51e0dcafc4e0ccaaf9ce596b336ad2d094c", + "sourcePath": "src/custom/ring" + }, + "skull": { + "version": "0.6.0", + "sourceRevision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "binarySha256": "20655be1d98570066a255273296696aeef19675f68a9b184fb6033911384f008", + "sourcePath": "src/custom/skull" + } + }, + "sourceRepository": "https://github.com/themanro/ZoomMultistompZDL" +} diff --git a/sdk/cycle-scan/README.md b/sdk/cycle-scan/README.md index e5a3f36cbe..e5b624275c 100644 --- a/sdk/cycle-scan/README.md +++ b/sdk/cycle-scan/README.md @@ -7,7 +7,10 @@ the idle cycles the core inserts for some sequences (pipeline stalls, sections A Imported from [sambanks/octabam](https://github.com/sambanks/octabam) at `cc7cffc1` (#1169, GPL-3), recorded in [`sdk/imports/octabam-cycle-scan-cc7cffc1.json`](../imports/octabam-cycle-scan-cc7cffc1.json). [CYCLE_SCAN.md](CYCLE_SCAN.md) is upstream's page: its results for octabam's effects and how the model compares with their unit (3.0 % above it on -average over 38 settings of 22 effects). +average over 38 settings of 22 effects). It is kept byte for byte, so its links to `COSTS.md`, the unit's measured +figures, lead nowhere here: read +[upstream's COSTS.md](https://github.com/sambanks/octabam/blob/cc7cffc1a675a763c5b8d6fbe1659f2b322cc540/docs/contributing/COSTS.md) +at the same revision. It lives here, not under `sdk/octabam/tools`, because that folder is part of the module-source fingerprint (`scripts/module-source.mjs`): no compiler reads these files, so they must not make every package count as rebuilt. diff --git a/sdk/digitone/modules/kitbank/LICENSE b/sdk/digitone/modules/kitbank/LICENSE new file mode 100644 index 0000000000..f288702d2f --- /dev/null +++ b/sdk/digitone/modules/kitbank/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/sdk/digitone/modules/kitbank/README.md b/sdk/digitone/modules/kitbank/README.md new file mode 100644 index 0000000000..9c5925d1c8 --- /dev/null +++ b/sdk/digitone/modules/kitbank/README.md @@ -0,0 +1,92 @@ +# kitbank — Digitone + +Modwerk module version: `0.2.0-experimental`. + +## Overview + +kitbank gives the original Digitone and Digitone Keys (OS 1.44) one kit per bank, like the Octatrack's parts, with per-pattern locks. With **KIT PER BANK** ticked in SETTINGS, the 16 patterns of a bank play the kit of the bank's first pattern: A01 to A16 play A01's kit, B01 to B16 play B01's kit, and so on up to H. + +- Change pattern inside a bank: the sounds stay, only the notes change. This holds for queued changes during playback, chains and song mode. +- A sound edit on any pattern of the bank goes to the bank's kit and is heard on all its patterns. +- **Hold PTN and press YES** to lock the active pattern: it takes a copy of the bank's sound and keeps its own from then on (KIT LOCKED). PTN+YES again shares the bank's kit again (KIT SHARED). +- FUNC+YES / FUNC+NO, SAVE TO PROJ / RELOAD FROM PROJ and [T1–4]+[NO] act on the kit the pattern plays. +- A pasted pattern never overwrites its bank's sound: if the pasted sound differs, the pattern becomes locked with it. +- The switch and the locks are saved with the project. Existing projects, and any project saved without kitbank, open with the switch off and play exactly as on the stock OS. +- Nothing is rewritten in the project: every pattern keeps its own kit, so unticking gives each pattern its own sound again. A project saved with kitbank opens on the stock OS with each pattern's own, older kit (see [Changes to stock flows](#changes-to-stock-flows)). + +## Controls + +| Control | What it does | +| --- | --- | +| KIT PER BANK | SETTINGS, last row. Ticked: the patterns of each bank share the kit of the bank's first pattern, except locked patterns. Unticked: every pattern plays its own kit, as on the stock OS. Saved with the project; a change applies from the next pattern change. | +| PTN+YES | While KIT PER BANK is ticked: locks the active pattern to its own copy of the sound (KIT LOCKED) or shares it again (KIT SHARED). On a bank's first pattern it only shows BANK KIT. Unticked, it does what the stock OS does: nothing. | + +## Usage + +Use the access steps below after installing a compatible build. The tutorial gives a first practical pass through the module. + +### Where to find it + +Location: SETTINGS, last row: KIT PER BANK; lock: hold PTN, press YES. + +1. Press SETTINGS and scroll to the last row, KIT PER BANK; press YES to tick it (YES again unticks it). +2. Change pattern, or select the current pattern again: the setting applies from that pattern change. +3. To give the active pattern its own sound, hold PTN and press YES: KIT LOCKED. Hold PTN and press YES again: KIT SHARED. + +These instructions assume the module is already installed in a compatible build. For selecting and building it in Modwerk, see the [Digitone guide](../../../machines/digitone/README.md). + +### Quick tutorial: one kit for a whole bank, one pattern apart + +1. Open SETTINGS, scroll to the bottom and tick KIT PER BANK, then select A01 again. +2. Set up a bass sound on A01, then go to A02 and program different notes: same sound. Turn the filter on A02; A01 changes too. +3. Go to A03, hold PTN and press YES: KIT LOCKED. Change the sound of A03; A01 and A02 keep theirs. +4. Save the project: KIT PER BANK and the lock are saved with it. Hold PTN and press YES on A03 again to share the bank's kit. + +A practical layout: one bank per track (intro, verse, break... as 16 patterns sharing one set of sounds), eight tracks per project, and a lock for the odd pattern that needs a different sound. + +## Compatibility and limitations + +- Original Digitone (Mk1) and Digitone Keys, OS 1.44, with core-dn1 2.0a for 1.44. Not ported to OS 1.43. The Keys runs the same OS file but has not been tried. +- **Project data.** The switch and the locks are one `KBLK` record in the project header's elekloader-format `ELKP` list (bytes 0x1c..0x200, which the stock OS keeps as they are). kitbank rewrites only its own `KBLK` record and keeps every other tool's record where it is; on load it finds `KBLK` anywhere in the list. A header that holds something other than an `ELKP` list is left alone, and the switch and locks are then not saved with that project. +- **The three project save/load sites.** Because core-dn1 2.0a for 1.44 has no project data, kitbank patches these itself: `Project_serialize` at 0x4000eb10 (save: writes the `KBLK` record), `Project_deserialize` at 0x4000e7f4 (load: reads it back; no record means off and no lock) and the new-project routine at 0x4001570e (off, no lock). They become a core hook (`core_projdata`) in a later Digitone core for 1.44, and kitbank will then move to it in an update. Projects saved now stay readable then, because the record format is the core's. +- kitbank patches ten stock OS sites itself: immediate pattern change, the kit lookup used by the screen, edits and pastes, two queued-change sites, kit save, kit reload, sound reload (these three only when called from the pattern menus, so the automatic saves after copy, paste and clear keep each pattern's own slot), and project save, load and new. A mod patching the same bytes cannot be combined; if other mods need kit selection or project data, these sites should become core hooks. +- A pattern pasted into a bank's first pattern replaces the bank's kit, as the stock OS replaces that pattern's kit. +- For under a second after PTN+YES, a knob turn can be ignored while the OS reloads the kit into the tracks (measured in the emulator). +- Undo of a paste was not tried. + +### Changes to stock flows + +Each change below applies only while KIT PER BANK is ticked, except the SETTINGS row itself. Unticking the row (SETTINGS, last row, YES) turns all of them off at the next pattern change, and a project without kitbank's record opens unticked. The flows compared with and without the module are listed in [TESTING.md](TESTING.md). + +- **A per-project row in SETTINGS.** *What changes:* SETTINGS gets a last row, KIT PER BANK, saved with the project rather than with the unit. *Why:* sharing kits is a choice about how a project is laid out, so it belongs to the project; a new page or gesture was not needed for one checkbox. *What you see:* one more row under the stock ones; nothing else moves. *Off:* it is unticked in every new and existing project. +- **FUNC+YES / FUNC+NO and the kit save and reload menus act on the bank's kit.** *What changes:* on a shared pattern, FUNC+YES (save kit), FUNC+NO (reload kit), SAVE TO PROJ / RELOAD FROM PROJ in the pattern menu and [T1–4]+[NO] (reload a sound) save to or reload from the bank's kit, the one the pattern plays. On a locked pattern they act on its own kit, as on the stock OS. *Why:* the stock routines pick the kit by pattern number; left alone, they would save or reload a kit the pattern no longer plays, and the musician would hear nothing change. *What you see:* the stock messages; the result is heard on every shared pattern of the bank. *Off:* untick KIT PER BANK. The automatic saves the OS makes after copy, paste and clear still use each pattern's own slot. +- **A paste can lock a pattern.** *What changes:* pasting a pattern into anything but a bank's first pattern writes its kit into the target's own slot; if that kit differs from the bank's, the target becomes locked (KIT LOCKED behaviour), and if it is the same, the target shares the bank's kit. *Why:* the stock paste writes the kit into the slot the pattern plays, which with sharing would overwrite the whole bank's sound from one pattern. *What you see:* the pasted pattern sounds as the one copied. *Off:* untick KIT PER BANK. Pasting into a bank's first pattern replaces the bank's kit, as on the stock OS. +- **PTN+YES locks or shares the active pattern.** *What changes:* with PTN held, YES locks the active pattern (KIT LOCKED) or shares it again (KIT SHARED); on a bank's first pattern it shows BANK KIT. Then kitbank hands the OS a press of the active pattern's trig while PTN is still held, so the OS reselects the same pattern and does not open the SELECT PTN popup when PTN is released. When a trig was already pressed under the same PTN (a chain being built with PTN+trigs), it hands nothing, so the chain is not changed. *Why:* the lock is per pattern, and PTN is the key a musician holds to act on patterns; on the stock OS, YES does nothing while PTN is held, so no stock gesture moves. *What you see:* the message in the top bar, and the pattern keeps playing. *Off:* untick KIT PER BANK; PTN+YES then does nothing, as on the stock OS. Claimed as `key:PTN+YES`. +- **A project saved with kitbank opens on the stock OS with each pattern's own, older kit.** *What changes:* kitbank never rewrites a pattern's own kit slot; sound edits on a shared pattern go to the bank's first pattern. On the stock OS, or with KIT PER BANK unticked, each pattern plays its own slot again: the kit it had before it started sharing, or when it was last locked. *Why:* keeping each pattern's own slot makes the setting reversible and keeps the project readable by the stock OS. *What you see:* on the stock OS, the patterns of a bank sound as they did before kitbank, and the bank's first pattern has the shared sound. To keep the shared sound on every pattern for the stock OS, copy the bank's first pattern's kit to the others (lock each one with PTN+YES, then save the project) before going back. + +## Tests and measurements + +[TESTING.md](TESTING.md) describes one build, the one submitted here: core-dn1 2.0a + kitbank 0.2.0-experimental for OS 1.44, linked as `XX08`. It records the author's hardware run and the emulator runs on that build: stock behaviour when unticked, bank kits for immediate and queued pattern changes, chains and song mode, edits, kit save and reload, PTN+YES locks, pastes, the switch and locks through a project save and load, other tools' `ELKP` records kept, and a full check against the stock OS. Memory: see TESTING.md. No audio-rate work. + +## Authorship and licences + +- ZOGV — kitbank design and code +- irpina — the SETTINGS row pattern from digihealth (GPL-2.0-or-later), the elekloader core it links with, and the ELKP project-header format + +The module is licensed under [GPL-3.0-or-later](LICENSE). + +## Screens and audio + +Firmware-rendered emulator captures of the submitted build (XX08) on OS 1.44, taken with the reviewed digiemu revision `c1b5735` and the unchanged capture script. The [capture record](media/capture.json) includes build identities, panel inputs, timestamps and PNG hashes. [Capture rights](media/LICENSE.md) preserve the underlying interface rights. The [thumbnail](media/thumbnail.svg) is an illustration. No audio demonstration is claimed. + +![SETTINGS: KIT PER BANK unticked](media/settings-off.png) + +SETTINGS: KIT PER BANK unticked. + +![SETTINGS: KIT PER BANK ticked](media/settings-on.png) + +SETTINGS: KIT PER BANK ticked. + +![PTN+YES on A03: KIT LOCKED](media/kit-locked.png) + +PTN+YES on A03: KIT LOCKED. diff --git a/sdk/digitone/modules/kitbank/TESTING.md b/sdk/digitone/modules/kitbank/TESTING.md new file mode 100644 index 0000000000..96ee72a26e --- /dev/null +++ b/sdk/digitone/modules/kitbank/TESTING.md @@ -0,0 +1,69 @@ +# kitbank testing + +Everything below describes one build, the one submitted: core-dn1 2.0a + kitbank 0.2.0-experimental, linked for OS 1.44 from the stock file (`d4f200d0…`) with `node scripts/link-image.mjs --version XX08`. Built-image SHA-256: `6c94a77ef70ae10ebdde390bce1252dffdc946f47aca168b42cd880b9494c49c`. Firmware and derived images stay private. + +## Hardware (author-reported) + +Build XX08 (SHA-256 `6c94a77e…`, above), flashed with Transfer's protocol on the author's Digitone, OS 1.44, on 2026-11-20. The author (ZOGV) went through the steps one at a time and reported each one; about 10 minutes in all (the author's estimate). Recorded in [evidence/hardware-testing.json](evidence/hardware-testing.json). + +| Step on the unit | Reported | +| --- | --- | +| Power-on with the author's current project, saved by the author's own always-on kit-per-bank OS (which writes kitbank's record with the switch on) | KIT PER BANK ticked, as that record says | +| Switch unticked, A02's filter closed: A01 | unchanged: OK | +| Switch ticked, then A01 and A02 | A02 plays A01's sound: OK | +| Switch unticked again, A02 | muffled again: OK | +| Switch ticked, a filter knob turned on A02, then A01 | A01 has the change too: OK | +| Stopped on A01; PTN held, trigs 5 then 6, YES, PTN released, PLAY | A05 A06 A05 A06, nothing added: OK | +| A03 locked with PTN+YES (KIT LOCKED); project saved as new; power off and on; project reloaded | KIT PER BANK still ticked; PTN+YES on A03 then shows KIT SHARED, so it was still locked: OK | +| An older project loaded | KIT PER BANK unticked, plays as before: OK | + +Not tried on the unit in this run: queued pattern changes while playing, FUNC+YES / FUNC+NO, copy and paste of a locked pattern, song mode (emulator only, below). The XX07 run of 2026-11-14 (one statement, "it worked") is not evidence for this build. + +## Emulator + +digiemu revision `c1b5735835923e328f8b4950d6ba927875e5b669` (the reviewed one), with its six pinned Unicorn patches (`tools/install-patched-unicorn.sh`; `emu.unicorn_compat`: compatible). The scripts drive the unit only through panel keys and encoders, and read the live pattern and engine kit pointers (`0x4138f214`, `0x4138f220`), the 128 live kits and, for the project data, the header the stock save and load routines receive. The emulator is not hardware evidence. + +| Run | Result | +| --- | --- | +| Unticked (power-on, stock project): A02, A16, B01, B05, H16, an edit on A03, queued changes while playing | PASS: every pattern plays and edits its own kit, as on the stock OS | +| Ticked: A01, A02, A16 → kit A01; B01, B05 → kit B01; H16 → kit H01; an edit on A03 changes only kit A01 | PASS | +| Ticked, playing: queued changes A01→A02, →B01, →B02, →A01 each take the bank's kit; unticked again, A02 plays its own kit | PASS | +| Ticked, project saved: FUNC+YES on A02, edit, FUNC+NO → kit A01 back to the saved state; FUNC+NO on A01 → the same | PASS | +| PTN+YES on A03: its kit becomes a copy of A01's, the engine moves to it (KIT LOCKED); an edit on A03 leaves A01 untouched; A02 still plays A01's kit | PASS | +| Project saved as 002; project 001 (no KBLK record) loaded → switch off, A02 plays its own kit; 002 loaded again → switch on, A03 still locked with its edited sound | PASS | +| PTN+YES on A03 again → shared (KIT SHARED); on A01 → BANK KIT, nothing locked; PTN+NO → nothing | PASS | +| Paste A05 (shared) → A06: bank kit untouched, A06 shares it; paste A05 → A01: bank kit unchanged | PASS | +| Paste A03 (locked, edited) → A07: bank kit untouched, A07 locked with A03's sound; paste B02 → A08: bank A untouched, A08 locked with B01's sound | PASS | +| Clear A06: bank kit unchanged, A06 still shares it | PASS | +| Song mode, song A01 → A02 → B01 looping twice: (pattern, kit) = (A01, A01) (A02, A01) (B01, B01); with A02 locked: (A02, A02) | PASS | +| PTN+YES while playing on A05: A05 keeps playing, locked; again: shared | PASS | +| After PTN+YES the SELECT PTN popup does not open (the module reselects the active pattern) | PASS (screens) | +| **Project data, other tools' records.** The header handed to the stock save is set to an `ELKP` list `ZZZ1` (6 B), a stale `KBLK` of 8 B, `ZZZ2` (4 B); saved as 002 | PASS: each of the three serializations of that save holds `ZZZ1`, `ZZZ2`, then a new 20-byte `KBLK` | +| 001 loaded, then 002: the header read from the card is `ZZZ1`, `ZZZ2`, `KBLK`; `KBLK`, third in the list, is found: switch on, A03 locked | PASS | +| A03 shared again, saved as 003: `KBLK` rewritten in place (same size) after `ZZZ1` and `ZZZ2` in the serialization that started from the loaded header; 003 loaded: switch on, A03 shared | PASS. The two later serializations of that save started from a header without the other records, which kitbank does not change | +| A header that is not an `ELKP` list (`XXXX` and 12 bytes) handed to the save: left as it is in every serialization | PASS | +| **Chain with PTN+trigs.** A05 and A06 locked (own kits), A01 playing; PTN held, trigs 5 and 6 held together (the chain gesture digiemu recognises), released: the kits played follow A05 A06 A05 A06 | PASS | +| The same with YES pressed while PTN and the trigs are held | PASS: A05 A06 A05 A06, the chain is unchanged and A01 is not added. The earlier build (XX07, before this fix) played A05 A06 A01 here: its handed trig joined the chain | +| Every run: no halt | PASS | + +Scripts (in the author's working copy, not in this repository): `test_kitbank --stock` (unticked) and `--on`, `test_kitbank_save --on`, `test_kitlock_modwerk`, `test_kitbank_copy`, `test_kitbank_song`, `test_kitbank_projdata`, `test_kitbank_chain`: all PASS on XX08. `test_kitbank_chain` FAILs on XX07, as described. + +## Full check against stock + +`python -m emu.portable --check --baseline --timing` with digiemu `c1b5735`, switch at its default (unticked): **PASS**. Boot, bootloader and run pass; 10 of 10 screens identical to stock (the screen stream first differs at 7.8 s, between captures); **audio identical to stock over 8.3 s**; render margin 40.5 % and CPU busy 58 %, as stock. The stock reference itself is marked FAIL by this emulator for a known read at `0x12a`. + +## Stock flows compared + +With the switch unticked, the full check above compares XX08 with the stock OS (boot, screens, audio). With it ticked, the runs above cover each listed change to a stock flow in the README: the SETTINGS row, FUNC+YES / FUNC+NO and the kit save and reload menus, pastes, PTN+YES (alone, while playing, and while building a chain), and project save, load and new. Neighbouring flows run beside them: pattern changes (immediate, queued, chains, song mode), clear, copy, sound edits. Not run: undo of a paste. + +## Memory + +Object sizes: 1,664 B `.run`, 100 B `.bss`: **1,764 B**, excluding the core and linker alignment. No audio-rate code. + +## Measured limit + +For under a second after PTN+YES, a knob turn can be ignored while the OS reloads the kit into the tracks; the tests wait one second. The stock OS reselecting a pattern by hand does not do this. + +## Not tested + +Undo of a paste; OS 1.43; the Digitone Keys. On the unit (emulator only): queued pattern changes while playing, FUNC+YES / FUNC+NO, copy and paste of a locked pattern, song mode. diff --git a/sdk/digitone/modules/kitbank/build.json b/sdk/digitone/modules/kitbank/build.json new file mode 100644 index 0000000000..fda5a4049b --- /dev/null +++ b/sdk/digitone/modules/kitbank/build.json @@ -0,0 +1,110 @@ +{ + "schemaVersion": 1, + "sources": [ + "src/kitbank.S" + ], + "defsym": {}, + "cflags": [], + "weak": [], + "subscribe": [ + { + "event": "ev_settings", + "fn": "kb_settings", + "order": 50 + }, + { + "event": "ev_key", + "fn": "kb_key", + "order": 50 + } + ], + "contribute": [], + "collections": {}, + "copied": [], + "regions": [], + "claims": [ + "settings:KIT PER BANK", + "projdata:KBLK", + "key:PTN+YES" + ], + "requires": [], + "derive": null, + "releases": { + "1.44": { + "defsym": {}, + "cflags": [], + "sites": [ + { + "addr": "0x40094f14", + "len": 8, + "stockSha256": "4997842f477c42235c625d7ba815c13fc3a07a0c57335d4361007e1288ff0795", + "op": "jmp", + "target": "kb_setpat" + }, + { + "addr": "0x4014df66", + "len": 6, + "stockSha256": "25f6cf58764096a92fba2355b3a003ad25d064d44e1e91102deb6abcadbed9d7", + "op": "jmp", + "target": "kb_getkit" + }, + { + "addr": "0x40095f08", + "len": 6, + "stockSha256": "e546d4a005b1ba895fcdb1eff85edbca6c362d0359e3ce5ed454b6320228bc21", + "op": "jmp", + "target": "kb_qact1" + }, + { + "addr": "0x40096236", + "len": 6, + "stockSha256": "e546d4a005b1ba895fcdb1eff85edbca6c362d0359e3ce5ed454b6320228bc21", + "op": "jmp", + "target": "kb_qact2" + }, + { + "addr": "0x400278f0", + "len": 8, + "stockSha256": "da84c1f842d053771b08911c8ed517551ad95f3019433555c6327cd2698f25d7", + "op": "jmp", + "target": "kb_save" + }, + { + "addr": "0x40027d3a", + "len": 8, + "stockSha256": "e60937176ed83d52936ca7977d2a4082ed1ac3017ff960831e4d5f7ebb5b9250", + "op": "jmp", + "target": "kb_reload" + }, + { + "addr": "0x40029ada", + "len": 8, + "stockSha256": "f7fddeefeac300af619b7028a954dc595076d9d098da7090973c1cbc1f649ec0", + "op": "jmp", + "target": "kb_sndreload" + }, + { + "addr": "0x4000eb10", + "len": 8, + "stockSha256": "52dccc03e103dca3839c839017cffce1d4a1e675d8dfb2804764141e86c63841", + "op": "jmp", + "target": "kb_projsave" + }, + { + "addr": "0x4000e7f4", + "len": 8, + "stockSha256": "3e47fdc2a5af6492a822beaa4ccd4bb53d5f5b2111c689c9f6f1cca2a3df15e2", + "op": "jmp", + "target": "kb_projload" + }, + { + "addr": "0x4001570e", + "len": 8, + "stockSha256": "a04973fb79ed0896aa768e97902a85f61a10ad9d106955b3fe7a112c76d0e51f", + "op": "jmp", + "target": "kb_projnew" + } + ] + } + } +} diff --git a/sdk/digitone/modules/kitbank/evidence/hardware-testing.json b/sdk/digitone/modules/kitbank/evidence/hardware-testing.json new file mode 100644 index 0000000000..fc8563fca0 --- /dev/null +++ b/sdk/digitone/modules/kitbank/evidence/hardware-testing.json @@ -0,0 +1,36 @@ +{ + "schemaVersion": 1, + "reportedOn": "2026-11-20", + "source": "The author's step-by-step answers in the development conversation, read back while the steps were done", + "reporter": "ZOGV", + "status": "hardware-tested-author-reported", + "model": "Digitone", + "release": "1.44", + "moduleVersion": "0.2.0-experimental", + "builds": [ + { + "name": "Core dn1 2.0a + kitbank 0.2.0-experimental (XX08)", + "syxSha256": "6c94a77ef70ae10ebdde390bce1252dffdc946f47aca168b42cd880b9494c49c", + "durationMinutes": 10, + "steps": { + "power-on with an existing project saved by the author's own always-on kit-per-bank OS: KIT PER BANK came up ticked (that project carries kitbank's record with the switch on)": "as expected", + "switch unticked, A02's filter closed: A01 unchanged; ticked, A02 plays A01's sound; unticked again, A02 muffled again": "OK", + "switch ticked, a filter knob turned on A02: A01 changes too": "OK", + "stopped on A01, PTN held, trigs 5 then 6, then YES, PTN released, PLAY: the chain plays A05 A06 A05 A06, no A01 added (the XX07 defect)": "OK", + "A03 locked with PTN+YES (KIT LOCKED), project saved as new, power cycle, project reloaded: KIT PER BANK still ticked, A03 still locked (PTN+YES then showed KIT SHARED)": "OK", + "an older project loaded: KIT PER BANK unticked, it plays as before": "OK" + }, + "notTried": [ + "queued pattern changes while playing (PTN+2 then PTN+1)", + "FUNC+YES / FUNC+NO kit save and reload", + "copy and paste of a locked pattern", + "song mode" + ] + } + ], + "limitations": [ + "About 10 minutes, as estimated by the author.", + "Queued changes while playing, FUNC+YES/NO, copy and paste of a locked pattern and song mode were not tried on the unit in this run; they are covered by the emulator runs only.", + "The earlier XX07 run (2026-11-14, reported as one statement) is not evidence for this build." + ] +} diff --git a/sdk/digitone/modules/kitbank/evidence/source-identity.json b/sdk/digitone/modules/kitbank/evidence/source-identity.json new file mode 100644 index 0000000000..0861147b1a --- /dev/null +++ b/sdk/digitone/modules/kitbank/evidence/source-identity.json @@ -0,0 +1,118 @@ +{ + "schemaVersion": 1, + "algorithm": "sha256 of canonical sorted JSON {sources,build}; UTF-8, compact separators", + "sha256": "39c58b6f3fd96ff7783dc7a3bfc17e2b75dfcc09db7cd78d9e3183c449f9f559", + "sources": { + "src/kitbank.S": "d294d9d6cf06b0cead0ae7315126c303dc9aaae6f392d7d020405e7c966ccfc9" + }, + "build": { + "schemaVersion": 1, + "sources": [ + "src/kitbank.S" + ], + "defsym": {}, + "cflags": [], + "weak": [], + "subscribe": [ + { + "event": "ev_settings", + "fn": "kb_settings", + "order": 50 + }, + { + "event": "ev_key", + "fn": "kb_key", + "order": 50 + } + ], + "contribute": [], + "collections": {}, + "copied": [], + "regions": [], + "claims": [ + "settings:KIT PER BANK", + "projdata:KBLK", + "key:PTN+YES" + ], + "requires": [], + "derive": null, + "releases": { + "1.44": { + "defsym": {}, + "cflags": [], + "sites": [ + { + "addr": "0x40094f14", + "len": 8, + "stockSha256": "4997842f477c42235c625d7ba815c13fc3a07a0c57335d4361007e1288ff0795", + "op": "jmp", + "target": "kb_setpat" + }, + { + "addr": "0x4014df66", + "len": 6, + "stockSha256": "25f6cf58764096a92fba2355b3a003ad25d064d44e1e91102deb6abcadbed9d7", + "op": "jmp", + "target": "kb_getkit" + }, + { + "addr": "0x40095f08", + "len": 6, + "stockSha256": "e546d4a005b1ba895fcdb1eff85edbca6c362d0359e3ce5ed454b6320228bc21", + "op": "jmp", + "target": "kb_qact1" + }, + { + "addr": "0x40096236", + "len": 6, + "stockSha256": "e546d4a005b1ba895fcdb1eff85edbca6c362d0359e3ce5ed454b6320228bc21", + "op": "jmp", + "target": "kb_qact2" + }, + { + "addr": "0x400278f0", + "len": 8, + "stockSha256": "da84c1f842d053771b08911c8ed517551ad95f3019433555c6327cd2698f25d7", + "op": "jmp", + "target": "kb_save" + }, + { + "addr": "0x40027d3a", + "len": 8, + "stockSha256": "e60937176ed83d52936ca7977d2a4082ed1ac3017ff960831e4d5f7ebb5b9250", + "op": "jmp", + "target": "kb_reload" + }, + { + "addr": "0x40029ada", + "len": 8, + "stockSha256": "f7fddeefeac300af619b7028a954dc595076d9d098da7090973c1cbc1f649ec0", + "op": "jmp", + "target": "kb_sndreload" + }, + { + "addr": "0x4000eb10", + "len": 8, + "stockSha256": "52dccc03e103dca3839c839017cffce1d4a1e675d8dfb2804764141e86c63841", + "op": "jmp", + "target": "kb_projsave" + }, + { + "addr": "0x4000e7f4", + "len": 8, + "stockSha256": "3e47fdc2a5af6492a822beaa4ccd4bb53d5f5b2111c689c9f6f1cca2a3df15e2", + "op": "jmp", + "target": "kb_projload" + }, + { + "addr": "0x4001570e", + "len": 8, + "stockSha256": "a04973fb79ed0896aa768e97902a85f61a10ad9d106955b3fe7a112c76d0e51f", + "op": "jmp", + "target": "kb_projnew" + } + ] + } + } + } +} diff --git a/sdk/digitone/modules/kitbank/media/LICENSE.md b/sdk/digitone/modules/kitbank/media/LICENSE.md new file mode 100644 index 0000000000..376ba83e29 --- /dev/null +++ b/sdk/digitone/modules/kitbank/media/LICENSE.md @@ -0,0 +1,7 @@ +# kitbank UI documentation captures + +The contributor dedicates their original capture contribution to the public domain under CC0-1.0. This declaration covers the act of capture and accompanying original captions, not the depicted firmware interface. + +Elektron retains rights in its underlying interface and firmware. Module interface additions retain their author’s terms in [../LICENSE](../LICENSE). No firmware, extracted stock code, raw memory/framebuffer data, card images or audio samples are included. The images are unmodified firmware-rendered pixels at integer scale. + +Manifest identifier: `LicenseRef-Digi-UI-Documentation`. Capture identity and inputs: [capture.json](capture.json). diff --git a/sdk/digitone/modules/kitbank/media/capture-plan.txt b/sdk/digitone/modules/kitbank/media/capture-plan.txt new file mode 100644 index 0000000000..0b39e68daa --- /dev/null +++ b/sdk/digitone/modules/kitbank/media/capture-plan.txt @@ -0,0 +1,32 @@ +wait 1000 +tap GLOBAL +tap DOWN +tap DOWN +tap DOWN +tap DOWN +tap DOWN +tap DOWN +tap DOWN +tap DOWN +tap DOWN +tap DOWN +tap DOWN +tap DOWN +snap settings-off +tap YES +snap settings-on +tap NO +tap NO +press PTN +tap 1 +release PTN +wait 700 +press PTN +tap 3 +release PTN +wait 700 +press PTN +tap YES 80 200 +release PTN +wait 300 +snap kit-locked diff --git a/sdk/digitone/modules/kitbank/media/capture.json b/sdk/digitone/modules/kitbank/media/capture.json new file mode 100644 index 0000000000..4b60f6638f --- /dev/null +++ b/sdk/digitone/modules/kitbank/media/capture.json @@ -0,0 +1,249 @@ +{ + "schemaVersion": 1, + "machine": "digitone", + "moduleId": "kitbank", + "moduleVersion": "0.2.0-experimental", + "capturedAt": "2026-11-16", + "firmware": "1.44", + "imageSha256": "6c94a77ef70ae10ebdde390bce1252dffdc946f47aca168b42cd880b9494c49c", + "stockSha256": "d4f200d04484333d82822db7744e6484d0def8f2db8ddf55ee2b780cc13c9659", + "build": { + "tool": "node scripts/link-image.mjs --version XX08", + "modules": [ + { + "id": "core", + "version": "2.0a", + "sha256": "5707a38e98047854eb12e5870430fb323126224f25b2a10b725badb93b97a41a" + }, + { + "id": "kitbank", + "version": "0.2.0-experimental", + "source": "sdk/digitone/modules/kitbank (this folder)" + } + ], + "outputVersion": "XX08" + }, + "emulator": { + "repository": "https://github.com/irpina/digiemu", + "revision": "c1b5735835923e328f8b4950d6ba927875e5b669", + "python": "3.12.13", + "platform": "macOS arm64", + "hle": false, + "audioRecording": false, + "cycleTiming": false, + "framebuffer": "firmware front LCD buffer at panel_diff flush", + "scale": 6, + "frameSelection": "Most populated actual LCD frame within the final 250 ms after the latest panel action; 6x integer scaling.", + "unicorn": "Six pinned patches installed with tools/install-patched-unicorn.sh; .venv/bin/python -m emu.unicorn_compat: compatible", + "captureScript": "scripts/capture-digi-module-ui.py, unchanged, run under sandbox-exec (deny network*)" + }, + "setup": { + "project": "Disposable first-boot A01, stock initial state; no owner projects or samples.", + "fixture": "None.", + "sandbox": "No network (sandbox-exec deny network*); private temporary output only." + }, + "inputs": [ + [ + 1000.029, + "press 7" + ], + [ + 1100.032, + "release 7" + ], + [ + 1400.041, + "press 16" + ], + [ + 1500.044, + "release 16" + ], + [ + 1800.052, + "press 16" + ], + [ + 1900.056, + "release 16" + ], + [ + 2200.064, + "press 16" + ], + [ + 2300.067, + "release 16" + ], + [ + 2600.076, + "press 16" + ], + [ + 2700.079, + "release 16" + ], + [ + 3000.088, + "press 16" + ], + [ + 3100.09, + "release 16" + ], + [ + 3400.099, + "press 16" + ], + [ + 3500.102, + "release 16" + ], + [ + 3800.111, + "press 16" + ], + [ + 3900.114, + "release 16" + ], + [ + 4200.122, + "press 16" + ], + [ + 4300.126, + "release 16" + ], + [ + 4600.134, + "press 16" + ], + [ + 4700.137, + "release 16" + ], + [ + 5000.146, + "press 16" + ], + [ + 5100.148, + "release 16" + ], + [ + 5400.157, + "press 16" + ], + [ + 5500.16, + "release 16" + ], + [ + 5800.169, + "press 16" + ], + [ + 5900.172, + "release 16" + ], + [ + 6200.181, + "press 13" + ], + [ + 6300.183, + "release 13" + ], + [ + 6600.192, + "press 14" + ], + [ + 6700.195, + "release 14" + ], + [ + 7000.204, + "press 14" + ], + [ + 7100.206, + "release 14" + ], + [ + 7400.215, + "press 4" + ], + [ + 7500.218, + "press 26" + ], + [ + 7600.222, + "release 26" + ], + [ + 7900.23, + "release 4" + ], + [ + 8700.253, + "press 4" + ], + [ + 8800.256, + "press 28" + ], + [ + 8900.259, + "release 28" + ], + [ + 9200.268, + "release 4" + ], + [ + 10000.291, + "press 4" + ], + [ + 10100.294, + "press 13" + ], + [ + 10180.768, + "release 13" + ], + [ + 10380.768, + "release 4" + ] + ], + "captures": [ + { + "path": "media/settings-off.png", + "sha256": "546fd24aafd699b3d5ac20b25bd47477ca99b7688ca79917bcd2894b452c8444", + "plan": "wait 1000\ntap GLOBAL\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\nsnap settings-off\ntap YES\nsnap settings-on\ntap NO\ntap NO\npress PTN\ntap 1\nrelease PTN\nwait 700\npress PTN\ntap 3\nrelease PTN\nwait 700\npress PTN\ntap YES 80 200\nrelease PTN\nwait 300\nsnap kit-locked\n", + "atMs": 6200.180769230769, + "requestedAtMs": 6200.180769230769 + }, + { + "path": "media/settings-on.png", + "sha256": "cece0825ac5c705eaba1c122acf9f2ab2bfd379f89ab4554c1440fe1de53475b", + "plan": "wait 1000\ntap GLOBAL\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\nsnap settings-off\ntap YES\nsnap settings-on\ntap NO\ntap NO\npress PTN\ntap 1\nrelease PTN\nwait 700\npress PTN\ntap 3\nrelease PTN\nwait 700\npress PTN\ntap YES 80 200\nrelease PTN\nwait 300\nsnap kit-locked\n", + "atMs": 6600.19188034188, + "requestedAtMs": 6600.19188034188 + }, + { + "path": "media/kit-locked.png", + "sha256": "5f581de32bc59874ae6462dd212d5de28dbc682b6b6943d7e20b859cae0a363c", + "plan": "wait 1000\ntap GLOBAL\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\ntap DOWN\nsnap settings-off\ntap YES\nsnap settings-on\ntap NO\ntap NO\npress PTN\ntap 1\nrelease PTN\nwait 700\npress PTN\ntap 3\nrelease PTN\nwait 700\npress PTN\ntap YES 80 200\nrelease PTN\nwait 300\nsnap kit-locked\n", + "atMs": 10783.647435897436, + "requestedAtMs": 10783.647435897436 + } + ], + "limitations": [ + "UI documentation of the SETTINGS row and of the KIT LOCKED message after PTN+YES; the kit behaviour is covered by the emulator tests in TESTING.md." + ] +} diff --git a/sdk/digitone/modules/kitbank/media/kit-locked.png b/sdk/digitone/modules/kitbank/media/kit-locked.png new file mode 100644 index 0000000000..a0c0deea49 Binary files /dev/null and b/sdk/digitone/modules/kitbank/media/kit-locked.png differ diff --git a/sdk/digitone/modules/kitbank/media/settings-off.png b/sdk/digitone/modules/kitbank/media/settings-off.png new file mode 100644 index 0000000000..090968e8d4 Binary files /dev/null and b/sdk/digitone/modules/kitbank/media/settings-off.png differ diff --git a/sdk/digitone/modules/kitbank/media/settings-on.png b/sdk/digitone/modules/kitbank/media/settings-on.png new file mode 100644 index 0000000000..540e3c0ad6 Binary files /dev/null and b/sdk/digitone/modules/kitbank/media/settings-on.png differ diff --git a/sdk/digitone/modules/kitbank/media/thumbnail.svg b/sdk/digitone/modules/kitbank/media/thumbnail.svg new file mode 100644 index 0000000000..56827fba8c --- /dev/null +++ b/sdk/digitone/modules/kitbank/media/thumbnail.svg @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sdk/digitone/modules/kitbank/modwerk.module.json b/sdk/digitone/modules/kitbank/modwerk.module.json new file mode 100644 index 0000000000..6426697bc2 --- /dev/null +++ b/sdk/digitone/modules/kitbank/modwerk.module.json @@ -0,0 +1,215 @@ +{ + "schemaVersion": 3, + "id": "kitbank", + "name": "kitbank", + "version": "0.2.0-experimental", + "machine": "digitone", + "category": "system", + "exclusive": false, + "author": { + "github": "ZOGV", + "credits": [ + "ZOGV — kitbank design and code", + "irpina — digihealth SETTINGS row pattern, elekloader core" + ] + }, + "maintainers": [ + "ZOGV" + ], + "presentation": { + "label": "KIT PER BANK", + "family": "Sequencing", + "summary": "One kit per bank, like the Octatrack's parts, with per-pattern locks: the 16 patterns of a bank share one sound, and [PTN]+[YES] gives a pattern its own.", + "overview": "With KIT PER BANK ticked in SETTINGS, the 16 patterns of a bank share one kit, the kit of the bank's first pattern: A01 to A16 play A01's kit, B01 to B16 play B01's kit, and so on. Change pattern inside a bank and the sound stays; a sound edit on any pattern of the bank is heard on all of them. Hold PTN and press YES to LOCK the active pattern: it takes a copy of the bank's sound and keeps its own from then on; PTN+YES again shares the bank's kit again. A pasted pattern whose sound differs from its bank's becomes locked with that sound, so a paste never overwrites the bank. The switch and the locks are saved with the project; a project without them, and every existing project, opens with the switch off and plays as on the stock OS.", + "highlights": [ + "Octatrack-style shared kits: change pattern inside a bank, keep the sound.", + "PTN+YES locks a pattern to its own copy of the sound; PTN+YES again shares the bank's kit.", + "Saved per project; existing projects open unchanged with KIT PER BANK off.", + "Nothing is rewritten: unticked, every pattern plays its own kit again, and the project still opens on the stock OS." + ], + "usage": [ + "Open SETTINGS, scroll to the bottom and tick KIT PER BANK, then select A01 again.", + "Set up a bass sound on A01, then go to A02 and program different notes: same sound. Turn the filter on A02; A01 changes too.", + "Go to A03, hold PTN and press YES: KIT LOCKED. Change the sound of A03; A01 and A02 keep theirs.", + "Save the project: KIT PER BANK and the lock are saved with it. Hold PTN and press YES on A03 again to share the bank's kit." + ] + }, + "access": { + "location": "SETTINGS, last row: KIT PER BANK; lock: hold PTN, press YES", + "steps": [ + "Press SETTINGS and scroll to the last row, KIT PER BANK; press YES to tick it (YES again unticks it).", + "Change pattern, or select the current pattern again: the setting applies from that pattern change.", + "To give the active pattern its own sound, hold PTN and press YES: KIT LOCKED. Hold PTN and press YES again: KIT SHARED." + ], + "screenshots": [ + "media/settings-off.png", + "media/settings-on.png", + "media/kit-locked.png" + ] + }, + "controls": [ + { + "name": "KIT PER BANK", + "default": 0, + "doc": "SETTINGS, last row. Ticked: the patterns of each bank share the kit of the bank's first pattern, except locked patterns. Unticked: every pattern plays its own kit, as on the stock OS. Saved with the project (off for a project saved without it); a change applies from the next pattern change.", + "labels": [ + "off", + "on" + ] + }, + { + "name": "PTN+YES", + "default": null, + "doc": "While KIT PER BANK is ticked: locks the active pattern (it takes a copy of the bank's kit and keeps its own sound; message KIT LOCKED) or shares it again (KIT SHARED). On a bank's first pattern it only shows BANK KIT. Locks are saved with the project. Unticked, PTN+YES does what the stock OS does (nothing).", + "labels": null + } + ], + "compatibility": { + "releases": [ + "1.44" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Built for Digitone OS 1.44 with the vendored core-dn1 2.0a (os1.44); not ported to OS 1.43. The Digitone Keys runs the same OS file but has not been tried.", + "The switch and locks are one KBLK record in the project header's ELKP list (bytes 0x1c..0x200), written by kitbank's own save, load and new hooks: core-dn1 2.0a for 1.44 has no project data. Other records are kept; KBLK is found anywhere on load. These sites become a core_projdata hook in a later 1.44 core, and kitbank will move to it in an update.", + "It patches ten stock OS sites itself (kit selection, queued pattern change, kit save/reload/sound reload, project save/load/new); a mod patching the same bytes cannot be combined. If other mods need kit selection or project data, these sites should become core hooks.", + "A pattern pasted into a bank's first pattern replaces the bank's kit, as the stock OS replaces that pattern's kit. Pasted elsewhere, it never overwrites the bank: it is locked with the pasted sound when that sound differs.", + "For under a second after PTN+YES, a knob turn can be ignored while the OS reloads the kit into the tracks (measured in the emulator; the stock OS reselecting a pattern by hand does not do this).", + "A project saved with kitbank opens on the stock OS, or with kitbank unticked, with each pattern's own kit: the kit it had when it was last saved from its own slot, usually older than the bank's kit it played.", + "Undo of a paste was not tried." + ] + }, + "platform": { + "kind": "elemod", + "core": "2.0a", + "build": "build.json", + "events": [ + "ev_key", + "ev_settings" + ], + "claims": [ + "settings:KIT PER BANK", + "projdata:KBLK", + "key:PTN+YES" + ] + }, + "resources": { + "memoryBytes": 1764, + "fastBytes": 0, + "load": { + "display": "None while playing", + "method": "static", + "conditions": "No audio-rate code: the redirections run on pattern changes, screen and edit kit lookups, the pattern menus' kit save and reload, project save and load, pastes and the PTN+YES key." + } + }, + "evidence": { + "tier": "author-hardware", + "moduleVersion": "0.2.0-experimental", + "sourceSha256": "39c58b6f3fd96ff7783dc7a3bfc17e2b75dfcc09db7cd78d9e3183c449f9f559", + "reports": [ + "evidence/hardware-testing.json", + "evidence/source-identity.json", + "TESTING.md" + ], + "hardware": { + "model": "Digitone", + "release": "1.44", + "testedOn": "2026-11-20", + "tester": "ZOGV", + "durationMinutes": 10, + "summary": "The author flashed the submitted build (core dn1 2.0a + kitbank 0.2.0-experimental, XX08, SHA-256 6c94a77e…) on their Digitone, OS 1.44, and went through it step by step for about 10 minutes: the KIT PER BANK switch off and on with a different sound on A02, an edit on A02 heard on A01, a chain built with PTN+trigs and YES (A05 A06, nothing added), a pattern locked with PTN+YES kept through a project save, a power cycle and a reload with the switch still ticked, and an older project opening with the switch off and playing as before. All passed.", + "limitations": [ + "About 10 minutes, as estimated by the author.", + "Queued changes while playing, FUNC+YES/NO, copy and paste of a locked pattern and song mode were not tried on the unit in this run; they are covered by the emulator runs only.", + "The earlier XX07 run (2026-11-14, reported as one statement) is not evidence for this build." + ] + }, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Build XX08 (core-dn1 2.0a + this version, OS 1.44). Hardware: see evidence/hardware-testing.json. Emulator (digiemu c1b5735): unticked behaves like the stock OS (full check against stock); ticked, bank kits for immediate and queued changes, chains and song mode, edits, kit save/reload, PTN+YES locks (also while building a chain with PTN+trigs), pastes, the switch and locks through project save and load, and other tools' ELKP records kept; see TESTING.md.", + "documentation": { + "tutorial": { + "title": "Quick tutorial: one kit for a whole bank, one pattern apart", + "steps": [ + "Open SETTINGS, scroll to the bottom and tick KIT PER BANK, then select A01 again.", + "Set up a bass sound on A01, then go to A02 and program different notes: same sound. Turn the filter on A02; A01 changes too.", + "Go to A03, hold PTN and press YES: KIT LOCKED. Change the sound of A03; A01 and A02 keep theirs.", + "Save the project: KIT PER BANK and the lock are saved with it. Hold PTN and press YES on A03 again to share the bank's kit." + ] + }, + "screenshots": [ + "media/settings-off.png", + "media/settings-on.png", + "media/kit-locked.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "GPL-3.0-or-later", + "file": "LICENSE", + "declaration": "Original work by ZOGV. The SETTINGS row follows digihealth's SYSTEM INFO row by irpina (GPL-2.0-or-later), with OS 1.44 addresses." + }, + "media": [ + { + "path": "media/thumbnail.svg", + "kind": "thumbnail", + "caption": "kitbank thumbnail", + "alt": "Two kit boxes, each feeding a row of sixteen pattern steps.", + "credit": "ZOGV", + "license": "GPL-3.0-or-later", + "source": "Original illustration" + }, + { + "path": "media/settings-off.png", + "kind": "screenshot", + "caption": "SETTINGS: KIT PER BANK unticked", + "alt": "SETTINGS menu on the Digitone LCD with the KIT PER BANK row unticked", + "credit": "Emulator documentation capture by ZOGV; Elektron interface; kitbank module", + "license": "LicenseRef-Digi-UI-Documentation", + "source": "original", + "capture": { + "type": "emulator", + "release": "1.44", + "moduleVersion": "0.2.0-experimental", + "imageSha256": "6c94a77ef70ae10ebdde390bce1252dffdc946f47aca168b42cd880b9494c49c", + "setup": "XX08 build, digiemu c1b5735 (reviewed), disposable first-boot project, network-denied sandbox; see media/capture.json." + } + }, + { + "path": "media/settings-on.png", + "kind": "screenshot", + "caption": "SETTINGS: KIT PER BANK ticked", + "alt": "SETTINGS menu on the Digitone LCD with the KIT PER BANK row ticked", + "credit": "Emulator documentation capture by ZOGV; Elektron interface; kitbank module", + "license": "LicenseRef-Digi-UI-Documentation", + "source": "original", + "capture": { + "type": "emulator", + "release": "1.44", + "moduleVersion": "0.2.0-experimental", + "imageSha256": "6c94a77ef70ae10ebdde390bce1252dffdc946f47aca168b42cd880b9494c49c", + "setup": "XX08 build, digiemu c1b5735 (reviewed), disposable first-boot project, network-denied sandbox; see media/capture.json." + } + }, + { + "path": "media/kit-locked.png", + "kind": "screenshot", + "caption": "PTN+YES on A03: KIT LOCKED", + "alt": "The Digitone main screen with the KIT LOCKED message in the top bar", + "credit": "Emulator documentation capture by ZOGV; Elektron interface; kitbank module", + "license": "LicenseRef-Digi-UI-Documentation", + "source": "original", + "capture": { + "type": "emulator", + "release": "1.44", + "moduleVersion": "0.2.0-experimental", + "imageSha256": "6c94a77ef70ae10ebdde390bce1252dffdc946f47aca168b42cd880b9494c49c", + "setup": "XX08 build, digiemu c1b5735 (reviewed), disposable first-boot project, network-denied sandbox; see media/capture.json." + } + } + ] +} diff --git a/sdk/digitone/modules/kitbank/src/kitbank.S b/sdk/digitone/modules/kitbank/src/kitbank.S new file mode 100644 index 0000000000..722cc856c5 --- /dev/null +++ b/sdk/digitone/modules/kitbank/src/kitbank.S @@ -0,0 +1,619 @@ +| SPDX-License-Identifier: GPL-3.0-or-later +| kitbank: the 16 patterns of a bank play the kit of the bank's first pattern (A01..A16 -> A01's kit, +| B01..B16 -> B01's kit...), like the Octatrack's parts. A SETTINGS row, KIT PER BANK, turns it on for the +| project; a change applies at the next pattern change (the engine and the screen switch together). +| [PTN]+[YES] on a pattern LOCKS it: it takes a copy of the bank's kit and keeps its own sound from then on; +| [PTN]+[YES] again shares the bank's kit again. The switch and the 128 locks are saved in the project header +| (an elekloader-format ELKP block tagged KBLK, in the bytes 0x1c..0x200 the OS keeps as they are); a project +| without the block opens with the switch off and no lock, so every pattern plays its own kit as on the stock OS. +| Digitone mk1 / Keys, OS 1.44 only. +| +| Every place the OS picks "kit k" for pattern k gets "kit k & 0x70" while the switch is latched on: +| set_pattern 0x40094f14 immediate pattern change -> the sound engine's kit pointer 0x4138f220 +| KitActive::getKit 0x4014df66 screen, edits, sound loads +| 0x40095f08, 0x40096236 a queued pattern change taking effect (playback, chains, song) +| 0x4000eb10 / 0x4000e7f4 / 0x4001570e project save / load / new: the KBLK block +| 0x400278f0 / 0x40027d3a / 0x40029ada kit save, kit reload, sound reload, only when called from the +| pattern menus (return address 0x40027a00..0x4002a200), so the automatic saves after +| copy / paste / clear keep their own slot. +| Every pattern keeps its own kit in the project, untouched: switched off, each pattern plays its own kit again. +| Handlers touch only d0/d1/a0/a1 (free at a gcc m68k function entry) or save what they use. +| The SETTINGS row follows digihealth's SYSTEM INFO row (GPL-2.0-or-later), with OS 1.44 addresses. + + .equ PATS, 0x407fd414 | the 128 live patterns + .equ PSTRIDE, 0x1611d + .equ KITS, 0x41306294 | the 128 live kits + .equ KSTRIDE, 0x988 + .equ PAT_ACT, 0x4138f214 | active pattern + .equ KIT_ACT, 0x4138f220 | the sound engine's kit + .equ MENU_LO, 0x40027a00 + .equ MENU_HI, 0x4002a200 + .equ STR_CTOR, 0x4018afc8 | std::string(this, const char*, alloc&) + .equ INVALIDATE, 0x400e539e | View::invalidate(view) + .equ BLIT, 0x400de4c0 | blit(dst, src, x, y, centre) + .equ CHECKBOXES, 0x419ee988 | -> Bitmap[2], 0x1c each: empty, ticked + .equ GET_UI, 0x4014a060 | -> the UI (for messages) + .equ SHOW_MSG, 0x400ae25c | (ui, text): the short message in the top bar + .equ KA_LOAD, 0x4001da46 | KitActive::load(this, index, 1, 0): the tracks take kit index + .equ PROJ_PTR, 0x419f0de0 | -> the project; KitActive = project + 0x250 + .equ KEY_PTN, 4 + .equ PASTE_WRITE, 0x40028146 | return address of the paste routine's getKit before writing the kit + .equ PASTE_KIT, 0x16121 | the kit inside the clipboard + .equ KEY_YES, 13 + .equ KEY_STEP1, 26 | trig keys 1-16: 26..41 + .equ BRAIN_KEY, 0x40016fc0 | the stock key handler (core-dn1 2.0a hooks its call site, not its entry) + .equ GAP, 0x1c | project header bytes the OS keeps: elekloader's ELKP area + .equ GAP_END, 0x200 + .equ ELKP, 0x454c4b50 + .equ KBLK, 0x4b424c4b + .equ BLK_SIZE, 20 | kb_on (4) + 128 lock bits (16) + + .section .run, "ax" + +| ---- ev_settings: the KIT PER BANK row -------------------------------------------------------------- + .globl kb_settings +kb_settings: + pea kb_row + move.l 8(%sp), -(%sp) | the menu + jsr core_additem + addq.l #8, %sp + rts + +| label() -> std::string, returned through a0 +kb_label: + link %a6, #-4 + move.l %d2, -(%sp) + pea -1(%a6) + pea kb_str + move.l %a0, %d2 + move.l %a0, -(%sp) + jsr STR_CTOR + lea 12(%sp), %sp + move.l %d2, %d0 + move.l -8(%a6), %d2 + unlk %a6 + rts + +| select(payload, item): toggle, then redraw the menu +kb_select: + movea.l 4(%sp), %a0 + movea.l (%a0), %a0 + moveq #0, %d0 + tst.b kb_on + seq %d0 + andi.l #1, %d0 + move.b %d0, kb_on + lea 0x38(%a0), %a0 + move.l %a0, 4(%sp) + jmp INVALIDATE + +| change(payload, item, delta): RIGHT on, LEFT off +kb_change: + movea.l 4(%sp), %a0 + movea.l (%a0), %a0 + move.l 12(%sp), %d0 + beq.s 1f + sgt %d0 + andi.l #1, %d0 + move.b %d0, kb_on + lea 0x38(%a0), %a0 + move.l %a0, 4(%sp) + jmp INVALIDATE +1: rts + +| draw(payload, item, bmp, x, y): the checkbox +kb_draw: + moveq #0, %d0 + tst.b kb_on + beq.s 1f + moveq #0x1c, %d0 +1: add.l CHECKBOXES, %d0 + move.l 12(%sp), %d1 + move.l %d1, 4(%sp) + move.l %d0, 8(%sp) + move.l 16(%sp), %d1 + move.l %d1, 12(%sp) + move.l 20(%sp), %d1 + move.l %d1, 16(%sp) + clr.l 20(%sp) + jmp BLIT + +| ---- d0 = pattern pointer -> d0 = its bank kit pointer, or 0 when d0 is no live pattern (d1 destroyed) ---- +bankkit: + sub.l #PATS, %d0 + bcs.s 8f + cmp.l #PSTRIDE*128, %d0 + bcc.s 8f + move.l #PSTRIDE, %d1 + divu.l %d1, %d0 | pattern number + bsr.w resolve | the bank's first pattern, or itself when locked + mulu.w #KSTRIDE, %d0 + add.l #KITS, %d0 + rts +8: moveq #0, %d0 + rts + +| ---- set_pattern: latch the switch, then the bank's kit for the request --------------------------------- + .globl kb_setpat +kb_setpat: + move.b kb_on, %d0 + move.b %d0, kb_live + beq.s 1f + move.l 4(%sp), %d0 | pattern* + bsr.w bankkit + tst.l %d0 + beq.s 1f + move.l %d0, 8(%sp) | kit* +1: lea -24(%sp), %sp | the 8 stock bytes, replayed + movem.l %d2-%d4/%a2-%a4, (%sp) + jmp 0x40094f1c + +| ---- KitActive::getKit(this, index) --------------------------------------------------------------------- + .globl kb_getkit +kb_getkit: + tst.b kb_live + beq.s 2f + move.l 8(%sp), %d0 | index + cmp.l #128, %d0 + bcc.s 2f + move.l (%sp), %d1 + cmp.l #PASTE_WRITE, %d1 + beq.s 3f + bsr.w resolve + move.l %d0, 8(%sp) +2: move.l %d2, -(%sp) | the 6 stock bytes, replayed + movea.l 8(%sp), %a0 + jmp 0x4014df6c +3: bsr.w pastefix | pasting: the pattern's own slot, locked when the sound differs + bra.s 2b + +| ---- a pattern paste writes the clipboard's kit into getKit(k) (caller 0x40028146; the clipboard's kit is at +| *(fp-16) + 0x16121, fp being the paste routine's frame). Into a bank's first pattern it replaces the bank's +| kit, as the stock OS replaces that pattern's kit. Into another pattern it goes to the pattern's own slot, which +| is left as it is in 8(sp), and the pattern is locked when the pasted kit differs from the bank's kit, shared +| when it is the same: the bank's kit is never overwritten from another pattern. +pastefix: + move.l %d0, %d1 + andi.l #15, %d1 + beq.w 9f | a bank's first pattern: its slot is the bank's kit + lea -16(%sp), %sp + movem.l %d2-%d3/%a2-%a3, (%sp) + move.l %d0, %d3 | d3 = k, kept to the end + movea.l -16(%fp), %a2 + adda.l #PASTE_KIT, %a2 | the clipboard's kit + andi.l #0x70, %d0 + mulu.w #KSTRIDE, %d0 + add.l #KITS, %d0 + movea.l %d0, %a3 | the bank's kit + move.l #KSTRIDE/4, %d1 +1: move.l (%a2)+, %d0 + cmp.l (%a3)+, %d0 + bne.s 2f + subq.l #1, %d1 + bne.s 1b + moveq #0, %d1 | the same sound: shared + bra.s 3f +2: moveq #1, %d1 | another sound: locked +3: move.l %d3, %d0 + lsr.l #3, %d0 + lea kb_locks, %a2 + adda.l %d0, %a2 | a2 = the byte + move.l %d3, %d0 + andi.l #7, %d0 | d0 = the bit + moveq #0, %d2 + move.b (%a2), %d2 + bclr %d0, %d2 + tst.l %d1 + beq.s 4f + bset %d0, %d2 +4: move.b %d2, (%a2) + move.l PAT_ACT, %d0 | pasting into the active pattern: the engine follows its kit now + sub.l #PATS, %d0 + bcs.s 5f + move.l #PSTRIDE, %d1 + divu.l %d1, %d0 + cmp.l %d3, %d0 + bne.s 5f + bsr.w resolve + mulu.w #KSTRIDE, %d0 + add.l #KITS, %d0 + move.l %d0, KIT_ACT +5: move.l %d3, %d0 | k again for the caller + movem.l (%sp), %d2-%d3/%a2-%a3 + lea 16(%sp), %sp +9: rts + +| ---- a queued pattern change taking effect: fp = 0x4138f224 (the waiting kit), PAT_ACT already new ------- +qfix: + lea -8(%sp), %sp + movem.l %d0-%d1, (%sp) + move.b kb_on, %d0 + move.b %d0, kb_live + beq.s 3f + move.l PAT_ACT, %d0 + bsr.w bankkit + tst.l %d0 + beq.s 3f + move.l %d0, (%fp) +3: movem.l (%sp), %d0-%d1 + lea 8(%sp), %sp + rts + + .globl kb_qact1, kb_qact2 +kb_qact1: + bsr.w qfix + move.l (%fp), KIT_ACT | the 6 stock bytes, replayed + jmp 0x40095f0e +kb_qact2: + bsr.w qfix + move.l (%fp), KIT_ACT + jmp 0x4009623c + +| ---- kit save / kit reload / sound reload (project, flag, k...): k -> the bank's first pattern ---------- +| at the bsr: 0(sp) back here, 4(sp) the caller's return, 8 project, 12 flag, 16(sp) k +fixk: + tst.b kb_live + beq.s 9f + move.l 4(%sp), %d0 + cmp.l #MENU_LO, %d0 + bcs.s 9f + cmp.l #MENU_HI, %d0 + bcc.s 9f + move.l 16(%sp), %d0 + cmp.l #128, %d0 + bcc.s 9f + bsr.w resolve + move.l %d0, 16(%sp) +9: rts + + .globl kb_save, kb_reload, kb_sndreload +kb_save: + bsr.w fixk + link.w %fp, #-28 | the 8 stock bytes, replayed + movem.l %d2-%d5/%a2-%a3, (%sp) + jmp 0x400278f8 +kb_reload: + bsr.w fixk + link.w %fp, #-32 + movem.l %d2-%d6/%a2-%a3, (%sp) + jmp 0x40027d42 +kb_sndreload: + bsr.w fixk + link.w %fp, #-60 + movem.l %d2-%d7/%a2-%a5, (%sp) + jmp 0x40029ae2 + + +| ---- resolve: d0 = pattern 0..127 -> the kit index it plays while on (d1 destroyed) ---------------------- +resolve: + move.l %a0, -(%sp) + move.l %d0, %d1 + lsr.l #3, %d1 + lea kb_locks, %a0 + move.b (%a0,%d1.l), %d1 + movea.l (%sp)+, %a0 + move.l %d0, -(%sp) + andi.l #7, %d0 + btst %d0, %d1 + bne.s 1f + move.l (%sp)+, %d0 + andi.l #0x70, %d0 | shared: the bank's first pattern + rts +1: move.l (%sp)+, %d0 | locked: its own kit + rts + +| ---- ev_key(brain, ev): [PTN]+[YES] locks or shares the active pattern while on ------------------------------- +| ev+12 key code, ev+16 flags (bit 0 press, bit 1 FUNC held, bit 3 a held key's repeat). PTN presses and releases +| go to the OS as usual (they only track whether PTN is held); a YES press while PTN is held is taken, then the +| active pattern's trig is handed to the OS so that it reselects it and opens no popup when PTN is released. On the +| stock OS, YES does nothing while PTN is held. + .globl kb_key +kb_key: + movea.l 8(%sp), %a0 + move.l 12(%a0), %d1 | key code + move.l 16(%a0), %d0 | flags + moveq #KEY_PTN, %d1 + cmp.l 12(%a0), %d1 + bne.s 1f + andi.l #1, %d0 + move.b %d0, kb_ptn | PTN held or not + clr.b kb_trig | no trig pressed under this PTN yet + bra.s 8f +1: move.l 12(%a0), %d1 | a trig pressed while PTN is held (a chain being built): noted + sub.l #KEY_STEP1, %d1 + moveq #16, %d0 + cmp.l %d0, %d1 + bcc.s 11f + tst.b kb_ptn + beq.s 8f + move.l 16(%a0), %d0 + btst #0, %d0 + beq.s 8f + moveq #1, %d0 + move.b %d0, kb_trig + bra.s 8f +11: move.l 16(%a0), %d0 | flags again + moveq #KEY_YES, %d1 + cmp.l 12(%a0), %d1 + bne.s 8f + tst.b kb_ptn + beq.s 8f + tst.b kb_live + beq.s 8f | off: the stock OS gets it + btst #0, %d0 + beq.s 7f | the release: taken + btst #3, %d0 + bne.s 7f | a held key's repeat: taken, nothing done + bsr.w toggle + bsr.w reselect +7: moveq #1, %d0 + rts +8: moveq #0, %d0 + rts + +| PTN is held and YES was taken: hand the OS a press and a release of the active pattern's trig (KEY_STEP1 + k%16), +| built from this event in kb_ev, through the stock key handler. The OS reselects the same pattern, as PTN + trig by +| hand does, and so does not open the SELECT PTN popup when PTN is released. Then the message. +| at the bsr: 0(sp) back to kb_key, 4(sp) kb_key's return, 8 brain, 12(sp) ev +reselect: + tst.b kb_trig | a trig was already pressed under this PTN: the OS opens no popup, + bne.w 9f | and a trig handed now would join the chain being built + move.l PAT_ACT, %d0 + sub.l #PATS, %d0 + bcs.s 9f + move.l #PSTRIDE, %d1 + divu.l %d1, %d0 + andi.l #15, %d0 + add.l #KEY_STEP1, %d0 + move.l %d0, -(%sp) | the trig's code + movea.l 16(%sp), %a0 | ev + lea kb_ev, %a1 + moveq #16, %d1 | two copies of 32 bytes +1: move.l (%a0)+, (%a1)+ + subq.l #1, %d1 + cmp.l #8, %d1 + bne.s 2f + movea.l 16(%sp), %a0 +2: tst.l %d1 + bne.s 1b + move.l (%sp)+, %d0 + lea kb_ev, %a0 + move.l %d0, 12(%a0) + move.l %d0, 32+12(%a0) + moveq #1, %d0 + move.l %d0, 16(%a0) | press + clr.l 32+16(%a0) | release + pea kb_ev + move.l 12(%sp), -(%sp) | brain + jsr BRAIN_KEY + addq.l #8, %sp + pea kb_ev+32 + move.l 12(%sp), -(%sp) + jsr BRAIN_KEY + addq.l #8, %sp +9: move.l kb_msg, -(%sp) | KIT LOCKED / KIT SHARED / BANK KIT, over the redrawn screen + jsr GET_UI + move.l %d0, -(%sp) + jsr SHOW_MSG + addq.l #8, %sp + rts + +toggle: + lea -16(%sp), %sp + movem.l %d2-%d3/%a2-%a3, (%sp) + move.l PAT_ACT, %d2 + sub.l #PATS, %d2 + bcs.w 9f + cmp.l #PSTRIDE*128, %d2 + bcc.w 9f + move.l #PSTRIDE, %d1 + divu.l %d1, %d2 | d2 = the active pattern + move.l %d2, %d0 + andi.l #15, %d0 + bne.s 1f + pea msg_first | a bank's first pattern: its kit is the bank's kit + bra.w 6f +1: move.l %d2, %d3 + lsr.l #3, %d3 + lea kb_locks, %a2 + adda.l %d3, %a2 | a2 = the byte + move.l %d2, %d3 + andi.l #7, %d3 | d3 = the bit + moveq #0, %d0 + move.b (%a2), %d0 + btst %d3, %d0 + beq.s 2f + bclr %d3, %d0 | share again + move.b %d0, (%a2) + pea msg_shared + bra.s 5f +2: move.l %d0, -(%sp) | lock: copy the bank's kit into the pattern's own slot first + move.l %d2, %d0 + andi.l #0x70, %d0 + mulu.w #KSTRIDE, %d0 + add.l #KITS, %d0 + movea.l %d0, %a0 + move.l %d2, %d0 + mulu.w #KSTRIDE, %d0 + add.l #KITS, %d0 + movea.l %d0, %a1 + move.l #KSTRIDE/4, %d1 +3: move.l (%a0)+, (%a1)+ + subq.l #1, %d1 + bne.s 3b + move.l (%sp)+, %d0 + bset %d3, %d0 + move.b %d0, (%a2) + pea msg_locked +5: move.l %d2, %d0 | the engine and the tracks move to the kit it now plays + bsr.w resolve + move.l %d0, %d3 + mulu.w #KSTRIDE, %d0 + add.l #KITS, %d0 + move.l %d0, KIT_ACT + clr.l -(%sp) + pea 1 + move.l %d3, -(%sp) + movea.l PROJ_PTR, %a0 + pea 0x250(%a0) + jsr KA_LOAD + lea 16(%sp), %sp +6: move.l (%sp)+, kb_msg | shown after the reselection (reselect) +9: movem.l (%sp), %d2-%d3/%a2-%a3 + lea 16(%sp), %sp + rts + +| ---- project save: Project_serialize(file, project, ...) writes the KBLK record into the file header ------- +| The header's gap 0x1c..0x200 holds elekloader's project data list: 'ELKP', then per record its tag, its size +| and its bytes, then a zero tag (core-dn1 / core-dt2 store.c). kitbank rewrites only its own KBLK record and +| keeps every other tag where it is: a KBLK of the right size is overwritten in place; one of another size is +| taken out (the records after it move down) and a new one is added before the zero tag. An empty gap gets a +| new list. A gap holding something else, a list that runs past 0x200 or one with no room left is not touched. + .globl kb_projsave +kb_projsave: + lea -16(%sp), %sp + movem.l %d2-%d3/%a2-%a3, (%sp) + movea.l 20(%sp), %a0 | file + lea GAP(%a0), %a2 | a2 = the gap + lea GAP_END(%a0), %a3 | a3 = its end + move.l (%a2), %d0 + bne.s 1f + move.l #ELKP, (%a2) | an empty gap: a new list + clr.l 4(%a2) + bra.s 2f +1: cmp.l #ELKP, %d0 + bne.w 9f | another tool's data: left alone +2: lea 4(%a2), %a0 | a0 = the record +3: move.l %a3, %d0 + sub.l %a0, %d0 | d0 = bytes left in the gap + moveq #8, %d1 + cmp.l %d1, %d0 + bcs.w 9f | no zero tag before the end: left alone + move.l (%a0), %d1 | tag + beq.s 6f | the zero tag: add ours here + move.l 4(%a0), %d2 | size + subq.l #8, %d0 + cmp.l %d2, %d0 + bcs.w 9f | runs past the gap: left alone + cmp.l #KBLK, %d1 + beq.s 4f + lea 8(%a0,%d2.l), %a0 | another tool's record: kept, next + bra.s 3b +4: moveq #BLK_SIZE, %d1 | ours + cmp.l %d1, %d2 + bne.s 5f + addq.l #8, %a0 | the same size: overwritten in place + bsr.w putblk + bra.s 9f +5: move.l %a0, %d3 | another size: taken out, what follows moves down + lea 8(%a0,%d2.l), %a1 +51: cmpa.l %a3, %a1 + bcc.s 52f + move.b (%a1)+, (%a0)+ + bra.s 51b +52: cmpa.l %a3, %a0 + bcc.s 53f + clr.b (%a0)+ + bra.s 52b +53: movea.l %d3, %a0 + bra.s 3b +6: move.l %a3, %d0 | the zero tag at a0: tag, size, the block and a new zero tag + sub.l %a0, %d0 + moveq #8+BLK_SIZE+4, %d1 + cmp.l %d1, %d0 + bcs.s 9f | no room left: not saved + move.l #KBLK, (%a0)+ + moveq #BLK_SIZE, %d0 + move.l %d0, (%a0)+ + bsr.w putblk + clr.l (%a0) | a zero tag ends the list +9: movem.l (%sp), %d2-%d3/%a2-%a3 + lea 16(%sp), %sp + lea -44(%sp), %sp | the 8 stock bytes, replayed + movem.l %d2-%d7/%a2-%a6, (%sp) + jmp 0x4000eb18 + +| a0 = where the block goes -> a0 just after it (d1, a1 destroyed) +putblk: + lea kb_on, %a1 + moveq #BLK_SIZE/4, %d1 +1: move.l (%a1)+, (%a0)+ + subq.l #1, %d1 + bne.s 1b + rts + +| ---- project load: Project_deserialize(project, file, ...) finds KBLK anywhere in the list; none -> off, no lock + .globl kb_projload +kb_projload: + bsr.w clear + move.l %d2, -(%sp) + movea.l 12(%sp), %a0 | file + move.l %a0, %d0 + beq.s 4f + lea GAP_END(%a0), %a1 | a1 = the gap's end + lea GAP(%a0), %a0 + move.l (%a0)+, %d0 + cmp.l #ELKP, %d0 + bne.s 4f +1: move.l %a1, %d0 + sub.l %a0, %d0 | bytes left + moveq #8, %d1 + cmp.l %d1, %d0 + bcs.s 4f + move.l (%a0)+, %d1 | tag + beq.s 4f | the zero tag: no KBLK + move.l (%a0)+, %d2 | size + subq.l #8, %d0 + cmp.l %d2, %d0 + bcs.s 4f | runs past the gap: stop + cmp.l #KBLK, %d1 + beq.s 2f + adda.l %d2, %a0 | another tool's record: next + bra.s 1b +2: moveq #BLK_SIZE, %d0 | ours: at most BLK_SIZE bytes, the rest stays 0 + cmp.l %d0, %d2 + bcc.s 3f + move.l %d2, %d0 +3: lea kb_on, %a1 +31: tst.l %d0 + beq.s 4f + move.b (%a0)+, (%a1)+ + subq.l #1, %d0 + bra.s 31b +4: move.l (%sp)+, %d2 + lea -36(%sp), %sp | the 8 stock bytes, replayed + movem.l %d2-%d5/%a2-%a6, (%sp) + jmp 0x4000e7fc + +| ---- new project: off, no lock ----------------------------------------------------------------------------- + .globl kb_projnew +kb_projnew: + bsr.s clear + lea -20(%sp), %sp + movem.l %d2-%d4/%a2-%a3, (%sp) + jmp 0x40015716 + +clear: + lea kb_on, %a0 + moveq #BLK_SIZE/4, %d0 +1: clr.l (%a0)+ + subq.l #1, %d0 + bne.s 1b + rts + +kb_row: .long kb_label, kb_select, kb_draw, kb_change +kb_str: .asciz "KIT PER BANK" +msg_locked: .asciz "KIT LOCKED" +msg_shared: .asciz "KIT SHARED" +msg_first: .asciz "BANK KIT" + .balign 4 + + .section .bss + .balign 4 +kb_on: .skip 4 | byte 0: the project's KIT PER BANK switch (saved, with kb_locks) +kb_locks: .skip 16 | 128 bits: pattern k = byte k/8, bit k%8 +kb_live: .skip 4 | byte 0: the switch as of the last pattern change +kb_ptn: .skip 4 | byte 0: PTN held +kb_trig: .skip 4 | byte 0: a trig pressed while PTN is held +kb_msg: .skip 4 | the last PTN+YES message +kb_ev: .skip 64 | the two trig events handed to the OS diff --git a/sdk/imports/elekloader-kitbank-2026-11-14.json b/sdk/imports/elekloader-kitbank-2026-11-14.json new file mode 100644 index 0000000000..01ead81da5 --- /dev/null +++ b/sdk/imports/elekloader-kitbank-2026-11-14.json @@ -0,0 +1,34 @@ +{ + "schema": 1, + "kind": "elekloader-catalog", + "revision": "kitbank-2026-11-14", + "about": "Modwerk source-only kitbank package for Digitone OS 1.44, compiled from sdk/digitone/modules/kitbank.", + "cores": [], + "mods": [ + { + "file": "kitbank-0.2.0-experimental-os1.44.elemod", + "sha256": "2f1784acc1fc40d5cf4a1240a131150547c20dfbd5dad0a324a16f9bb69acd42", + "id": "kitbank", + "version": "0.2.0-experimental", + "device": "digitone-mk1", + "os": "1.44", + "license": "GPL-3.0-or-later", + "source": { + "repo": "repeat98/modwerk", + "commit": "59c80be281dda64b7b3dcf868634a9455ae8bb61", + "path": "sdk/imports/packages/kitbank/kitbank-0.2.0-experimental-os1.44.elemod" + }, + "title": "Kit per bank", + "requires": [ + "core" + ], + "conflicts": [], + "summary": "One kit per bank, like the Octatrack's parts: the 16 patterns of a bank play the kit of its first pattern, with per-pattern locks.", + "description": "KIT PER BANK in SETTINGS (off at power-on) gives the 16 patterns of a bank the kit of its first pattern (A01 for A01 to A16). Pattern changes inside a bank keep the sound, including queued changes, chains and song mode. Hold PTN and press YES to lock a pattern to its own copy of the sound. The switch and locks are saved with the project; old projects open with the switch off and play as stock.", + "category": "Sequencer", + "author": "ZOGV", + "needs_core": "2.0a", + "on_unit": "The author ran this exact build (core dn1 2.0a + kitbank 0.2.0-experimental, XX08, SHA-256 6c94a77e…) on a Digitone, OS 1.44 (2026-11-20, about 10 minutes): the switch off and on, an edit shared by the bank, a chain built with PTN+trigs and YES, a lock kept through a project save, a power cycle and a reload, and an older project opening with the switch off. Not tried on the unit: queued changes, FUNC+YES/NO, paste, song mode." + } + ] +} diff --git a/sdk/imports/packages/kitbank/kitbank-0.2.0-experimental-os1.44.elemod b/sdk/imports/packages/kitbank/kitbank-0.2.0-experimental-os1.44.elemod new file mode 100644 index 0000000000..b2eb489a5a --- /dev/null +++ b/sdk/imports/packages/kitbank/kitbank-0.2.0-experimental-os1.44.elemod @@ -0,0 +1,748 @@ +{ + "elemod": 2, + "id": "kitbank", + "version": "0.2.0-experimental", + "title": "kitbank", + "description": "One kit per bank, like the Octatrack's parts, with per-pattern locks: the 16 patterns of a bank share one sound, and [PTN]+[YES] gives a pattern its own.", + "category": "system", + "author": "ZOGV", + "license": "GPL-3.0-or-later", + "target": { + "device": "digitone-mk1", + "product": "Digitone mk1", + "os": "1.44", + "syx_sha256": "d4f200d04484333d82822db7744e6484d0def8f2db8ddf55ee2b780cc13c9659", + "section3_sha256": "fce648a97c6c5d93b961732e8f8db6b02e0820c6d344c7e2131fa05a4b3168e4", + "section3_len": 2736304 + }, + "sections": { + ".run": { + "align": 4, + "len": 1664, + "parts": [ + [ + "hex", + "487a06402f2f00084eb900000000508f4e754e56fffc2f02486effff487a063424082f084eb94018afc84fef000c2002242efff84e5e4e75206f0004205070004a390000000057c002800000000113c00000000041e800382f4800044ef9400e539e206f00042050202f000c671c5ec002800000000113c00000000041e800382f4800044ef9400e539e4e7570004a39000000006702701cd0b9419ee988222f000c2f4100042f400008222f00102f41000c222f00142f41001042af00144ef9400de4c00480407fd41465220c8000b08e80641a223c0001611d4c410000610001d4c0fc09880680413062944e7570004e7510390000000013c0000000006710202f00046100ffbe4a8067042f4000084fefffe848d71c1c4ef940094f1c4a3900000000671e202f00080c8000000080641222170c81400281466714610001762f4000082f02206f00084ef94014df6c6100000460ee220002810000000f6700009a4feffff048d70c0c2600246efff0d5fc00016121028000000070c0fc09880680413062942640223c00000262201ab09b6608538166f67200600272012003e68845f900000000d5c020030280000000077400141201824a81670201c2148220394138f2140480407fd4146522223c0001611d4c410000b0836614610000d6c0fc098806804130629423c04138f22020034cd70c0c4fef00104e754feffff848d7000310390000000013c000000000671020394138f2146100feaa4a8067022c804cd700034fef00084e756100ffce23d64138f2204ef940095f0e6100ffbe23d64138f2204ef94009623c4a39000000006728202f00040c8040027a00651c0c804002a2006414202f00100c800000008064086100003e2f4000104e756100ffcc4e56ffe448d70c3c4ef9400278f86100ffba4e56ffe048d70c7c4ef940027d426100ffa84e56ffc448d73cfc4ef940029ae22f082200e68941f90000000012301800205f2f000280000000070101660a201f0280000000704e75201f4e75206f00082228000c202800107204b2a8000c661402800000000113c00000000042390000000060602228000c04810000001a7010b280641c4a390000000067482028001008000000673e700113c000000000603420280010720db2a8000c66284a390000000067204a3900000000671808000000670e080000036608610000b46100000a70014e7570004e754a39000000006600008620394138f2140480407fd4146576223c0001611d4c41000002800000000f06800000001a2f00206f001043f900000000721022d853810c81000000086604206f00104a8166ec201f41f9000000002140000c2140002c70012140001042a800304879000000002f2f000c4eb940016fc0508f4879000000002f2f000c4eb940016fc0508f2f39000000004eb94014a0602f004eb9400ae25c508f4e754feffff048d70c0c24394138f2140482407fd414650000c20c8200b08e80640000b8223c0001611d4c412002200202800000000f6608487a022b600000962602e68b45f900000000d5c32602028300000007700010120700670a07801480487a01f8603a2f002002028000000070c0fc098806804130629420402002c0fc09880680413062942240223c0000026222d8538166fa201f07c01480487a01b120026100fe002600c0fc098806804130629423c04138f22042a7487800012f032079419f0de0486802504eb94001da464fef001023df000000004cd70c0c4fef00104e754feffff048d70c0c206f001445e8001c47e802002012660c24bc454c4b5042aa0004600a0c80454c4b506600007241ea0004200b90887208b0816500006222106742242800045180b082650000520c814b424c4b670641f0280860d67214b481660850886100004e6034260843f02808b3cb640410d960f8b1cb6404421860f8204360ae200b90887220b081651020fc4b424c4b701420c06100001a42904cd70c0c4fef00104fefffd448d77cfc4ef94000eb1843f900000000720520d9538166fa4e75610000782f02206f000c2008674c43e8020041e8001c20180c80454c4b50663a200990887208b08165302218672c24185180b08265240c814b424c4b6704d1c260de7014b4806402200243f9000000004a80670612d8538060f6241f4fefffdc48d77c3c4ef94000e7fc610e4fefffec48d70c1c4ef94001571641f90000000070054298538066fa4e75000000000000000000000000000000004b4954205045522042414e4b004b4954204c4f434b4544004b4954205348415245440042414e4b204b4954000000" + ] + ] + }, + ".bss": { + "align": 4, + "size": 100 + } + }, + "symbols": { + "PATS": [ + "abs", + 1082119188 + ], + "PSTRIDE": [ + "abs", + 90397 + ], + "KITS": [ + "abs", + 1093690004 + ], + "KSTRIDE": [ + "abs", + 2440 + ], + "PAT_ACT": [ + "abs", + 1094251028 + ], + "KIT_ACT": [ + "abs", + 1094251040 + ], + "MENU_LO": [ + "abs", + 1073904128 + ], + "MENU_HI": [ + "abs", + 1073914368 + ], + "STR_CTOR": [ + "abs", + 1075359688 + ], + "INVALIDATE": [ + "abs", + 1074680734 + ], + "BLIT": [ + "abs", + 1074652352 + ], + "CHECKBOXES": [ + "abs", + 1100933512 + ], + "GET_UI": [ + "abs", + 1075093600 + ], + "SHOW_MSG": [ + "abs", + 1074455132 + ], + "KA_LOAD": [ + "abs", + 1073863238 + ], + "PROJ_PTR": [ + "abs", + 1100942816 + ], + "KEY_PTN": [ + "abs", + 4 + ], + "PASTE_WRITE": [ + "abs", + 1073905990 + ], + "PASTE_KIT": [ + "abs", + 90401 + ], + "KEY_YES": [ + "abs", + 13 + ], + "KEY_STEP1": [ + "abs", + 26 + ], + "BRAIN_KEY": [ + "abs", + 1073835968 + ], + "GAP": [ + "abs", + 28 + ], + "GAP_END": [ + "abs", + 512 + ], + "ELKP": [ + "abs", + 1162627920 + ], + "KBLK": [ + "abs", + 1262636107 + ], + "BLK_SIZE": [ + "abs", + 20 + ], + "kb_row": [ + ".run", + 1602 + ], + "kb_label": [ + ".run", + 18 + ], + "kb_str": [ + ".run", + 1618 + ], + "kb_select": [ + ".run", + 56 + ], + "kb_on": [ + ".bss", + 0 + ], + "kb_change": [ + ".run", + 98 + ], + "kb_draw": [ + ".run", + 140 + ], + "bankkit": [ + ".run", + 196 + ], + "resolve": [ + ".run", + 692 + ], + "kb_live": [ + ".bss", + 20 + ], + "pastefix": [ + ".run", + 342 + ], + "kb_locks": [ + ".bss", + 4 + ], + "qfix": [ + ".run", + 508 + ], + "fixk": [ + ".run", + 588 + ], + "kb_ptn": [ + ".bss", + 24 + ], + "kb_trig": [ + ".bss", + 28 + ], + "toggle": [ + ".run", + 1042 + ], + "reselect": [ + ".run", + 876 + ], + "kb_ev": [ + ".bss", + 36 + ], + "kb_msg": [ + ".bss", + 32 + ], + "msg_first": [ + ".run", + 1653 + ], + "msg_shared": [ + ".run", + 1642 + ], + "msg_locked": [ + ".run", + 1631 + ], + "putblk": [ + ".run", + 1448 + ], + "clear": [ + ".run", + 1586 + ], + "kb_settings": [ + ".run", + 0 + ], + "kb_key": [ + ".run", + 736 + ], + "kb_setpat": [ + ".run", + 242 + ], + "kb_projload": [ + ".run", + 1464 + ], + "kb_qact1": [ + ".run", + 556 + ], + "kb_projsave": [ + ".run", + 1268 + ], + "kb_save": [ + ".run", + 638 + ], + "kb_projnew": [ + ".run", + 1570 + ], + "kb_reload": [ + ".run", + 656 + ], + "kb_qact2": [ + ".run", + 572 + ], + "kb_getkit": [ + ".run", + 286 + ], + "kb_sndreload": [ + ".run", + 674 + ] + }, + "exports": [ + "kb_getkit", + "kb_key", + "kb_projload", + "kb_projnew", + "kb_projsave", + "kb_qact1", + "kb_qact2", + "kb_reload", + "kb_save", + "kb_setpat", + "kb_settings", + "kb_sndreload" + ], + "imports": [ + "core_additem" + ], + "weak": [], + "relocs": [ + [ + ".run", + 10, + "abs32", + "sym:core_additem", + 0 + ], + [ + ".run", + 66, + "abs32", + "sec:.bss", + 0 + ], + [ + ".run", + 80, + "abs32", + "sec:.bss", + 0 + ], + [ + ".run", + 120, + "abs32", + "sec:.bss", + 0 + ], + [ + ".run", + 144, + "abs32", + "sec:.bss", + 0 + ], + [ + ".run", + 244, + "abs32", + "sec:.bss", + 0 + ], + [ + ".run", + 250, + "abs32", + "sec:.bss", + 20 + ], + [ + ".run", + 288, + "abs32", + "sec:.bss", + 20 + ], + [ + ".run", + 420, + "abs32", + "sec:.bss", + 4 + ], + [ + ".run", + 518, + "abs32", + "sec:.bss", + 0 + ], + [ + ".run", + 524, + "abs32", + "sec:.bss", + 20 + ], + [ + ".run", + 590, + "abs32", + "sec:.bss", + 20 + ], + [ + ".run", + 700, + "abs32", + "sec:.bss", + 4 + ], + [ + ".run", + 764, + "abs32", + "sec:.bss", + 24 + ], + [ + ".run", + 770, + "abs32", + "sec:.bss", + 28 + ], + [ + ".run", + 794, + "abs32", + "sec:.bss", + 24 + ], + [ + ".run", + 814, + "abs32", + "sec:.bss", + 28 + ], + [ + ".run", + 834, + "abs32", + "sec:.bss", + 24 + ], + [ + ".run", + 842, + "abs32", + "sec:.bss", + 20 + ], + [ + ".run", + 878, + "abs32", + "sec:.bss", + 28 + ], + [ + ".run", + 930, + "abs32", + "sec:.bss", + 36 + ], + [ + ".run", + 960, + "abs32", + "sec:.bss", + 36 + ], + [ + ".run", + 984, + "abs32", + "sec:.bss", + 36 + ], + [ + ".run", + 1002, + "abs32", + "sec:.bss", + 68 + ], + [ + ".run", + 1020, + "abs32", + "sec:.bss", + 32 + ], + [ + ".run", + 1110, + "abs32", + "sec:.bss", + 4 + ], + [ + ".run", + 1254, + "abs32", + "sec:.bss", + 32 + ], + [ + ".run", + 1450, + "abs32", + "sec:.bss", + 0 + ], + [ + ".run", + 1540, + "abs32", + "sec:.bss", + 0 + ], + [ + ".run", + 1588, + "abs32", + "sec:.bss", + 0 + ], + [ + ".run", + 1602, + "abs32", + "sec:.run", + 18 + ], + [ + ".run", + 1606, + "abs32", + "sec:.run", + 56 + ], + [ + ".run", + 1610, + "abs32", + "sec:.run", + 140 + ], + [ + ".run", + 1614, + "abs32", + "sec:.run", + 98 + ] + ], + "sites": [ + { + "addr": "0x40094f14", + "len": 8, + "stock_sha256": "4997842f477c42235c625d7ba815c13fc3a07a0c57335d4361007e1288ff0795", + "new": "4ef9000000004e71", + "kind": "code", + "relocs": [ + [ + 2, + "abs32", + "sym:kb_setpat", + 0 + ] + ] + }, + { + "addr": "0x4014df66", + "len": 6, + "stock_sha256": "25f6cf58764096a92fba2355b3a003ad25d064d44e1e91102deb6abcadbed9d7", + "new": "4ef900000000", + "kind": "code", + "relocs": [ + [ + 2, + "abs32", + "sym:kb_getkit", + 0 + ] + ] + }, + { + "addr": "0x40095f08", + "len": 6, + "stock_sha256": "e546d4a005b1ba895fcdb1eff85edbca6c362d0359e3ce5ed454b6320228bc21", + "new": "4ef900000000", + "kind": "code", + "relocs": [ + [ + 2, + "abs32", + "sym:kb_qact1", + 0 + ] + ] + }, + { + "addr": "0x40096236", + "len": 6, + "stock_sha256": "e546d4a005b1ba895fcdb1eff85edbca6c362d0359e3ce5ed454b6320228bc21", + "new": "4ef900000000", + "kind": "code", + "relocs": [ + [ + 2, + "abs32", + "sym:kb_qact2", + 0 + ] + ] + }, + { + "addr": "0x400278f0", + "len": 8, + "stock_sha256": "da84c1f842d053771b08911c8ed517551ad95f3019433555c6327cd2698f25d7", + "new": "4ef9000000004e71", + "kind": "code", + "relocs": [ + [ + 2, + "abs32", + "sym:kb_save", + 0 + ] + ] + }, + { + "addr": "0x40027d3a", + "len": 8, + "stock_sha256": "e60937176ed83d52936ca7977d2a4082ed1ac3017ff960831e4d5f7ebb5b9250", + "new": "4ef9000000004e71", + "kind": "code", + "relocs": [ + [ + 2, + "abs32", + "sym:kb_reload", + 0 + ] + ] + }, + { + "addr": "0x40029ada", + "len": 8, + "stock_sha256": "f7fddeefeac300af619b7028a954dc595076d9d098da7090973c1cbc1f649ec0", + "new": "4ef9000000004e71", + "kind": "code", + "relocs": [ + [ + 2, + "abs32", + "sym:kb_sndreload", + 0 + ] + ] + }, + { + "addr": "0x4000eb10", + "len": 8, + "stock_sha256": "52dccc03e103dca3839c839017cffce1d4a1e675d8dfb2804764141e86c63841", + "new": "4ef9000000004e71", + "kind": "code", + "relocs": [ + [ + 2, + "abs32", + "sym:kb_projsave", + 0 + ] + ] + }, + { + "addr": "0x4000e7f4", + "len": 8, + "stock_sha256": "3e47fdc2a5af6492a822beaa4ccd4bb53d5f5b2111c689c9f6f1cca2a3df15e2", + "new": "4ef9000000004e71", + "kind": "code", + "relocs": [ + [ + 2, + "abs32", + "sym:kb_projload", + 0 + ] + ] + }, + { + "addr": "0x4001570e", + "len": 8, + "stock_sha256": "a04973fb79ed0896aa768e97902a85f61a10ad9d106955b3fe7a112c76d0e51f", + "new": "4ef9000000004e71", + "kind": "code", + "relocs": [ + [ + 2, + "abs32", + "sym:kb_projnew", + 0 + ] + ] + } + ], + "collections": {}, + "contribute": [ + { + "to": "ev_settings", + "order": 50, + "data": "00000000", + "relocs": [ + [ + 0, + "abs32", + "sym:kb_settings", + 0 + ] + ], + "claims": [] + }, + { + "to": "ev_key", + "order": 50, + "data": "00000000", + "relocs": [ + [ + 0, + "abs32", + "sym:kb_key", + 0 + ] + ], + "claims": [] + } + ], + "copied": [], + "resources": { + "regions": [], + "names": [ + "settings:KIT PER BANK", + "projdata:KBLK", + "key:PTN+YES" + ], + "core": "2.0a" + }, + "requires": [ + "core" + ], + "conflicts": [], + "signature": null +} diff --git a/sdk/machines/octatrack/HOOKS.md b/sdk/machines/octatrack/HOOKS.md index e8fa502ecc..62388826a5 100644 --- a/sdk/machines/octatrack/HOOKS.md +++ b/sdk/machines/octatrack/HOOKS.md @@ -22,7 +22,11 @@ A module **rests** until a track uses it: one that subscribes `ev_in_use` and an every hook whose kind says `rests`, so the frame interrupt never enters its code there; its other hooks (keys, pages, tables, project files) stay, so its setup still works. The base asks each module on its own from the UI tick and puts it back, in its (order, module id) place, at the first nonzero answer. A module -that does not subscribe never rests. Installing, replacing or removing a module wakes its position. +that contributes a machine (`ot_machines`) and does not subscribe is answered for by the base: it rests while +no track of any Part of the project, working or saved, is that machine, and wakes before a pick of it +commits. So is a module with a DSP effect: it rests while no slot of the project names its effect id and no +live slot runs it, and wakes before a pick of it is written. Any other module that does not subscribe never +rests. Installing, replacing or removing a module wakes its position. A module can let its own detours rest too: `"rests": ["0x…"]` in its runtime.json names them, and while it answers 0 the base puts stock's bytes back there, then its patch at the next nonzero answer (never under a paused task's resume address). Stock runs those sites unpatched until the next UI tick wakes the module, so @@ -57,7 +61,7 @@ next base build, which renames them; the base loads them by those paths. | `ev_project_load` | take | 0x400866cc | a project load starts | `struct modwerk_take, jmp entry, claims(nothing)` | The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. | 10-29: a machine claiming its own tracks (claims set); 30-49: a machine's bundled feature; 50-69: a standalone feature module. The first record that claims the call takes it. | a task (UI, MIDI or project file): short, no firmware call that can block | | `ev_project_line` | take | 0x400867a2 | the project loader meets a line | `struct modwerk_take, jmp entry, claims(nothing)` | The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. | 10-29: a machine claiming its own tracks (claims set); 30-49: a machine's bundled feature; 50-69: a standalone feature module. The first record that claims the call takes it. | a task (UI, MIDI or project file): short, no firmware call that can block | | `ev_project_write` | take | 0x400888aa | the project writer writes the settings lines | `struct modwerk_take, jmp entry, claims(nothing)` | The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. | 10-29: a machine claiming its own tracks (claims set); 30-49: a machine's bundled feature; 50-69: a standalone feature module. The first record that claims the call takes it. | a task (UI, MIDI or project file): short, no firmware call that can block | -| `ot_machines` | table | none | the machine chooser, SRC SETUP, the page resolver, the Part validator, the UI tick, pool navigation and the FLEX renderer ask the contributed machines, in row order: chooser rows 5 on | `80-byte record` | Contribute one struct modwerk_machine (every field but abi, sig and label optional, 0). A Part keeps its signature when the machine is absent and reads as stock. Leaving a PROTECT machine that has no assign of its own puts stock's FLEX defaults back in both Part copies before the signature goes. A priced machine (source_kind) is charged on its track's core before the track becomes it, and every owned track at each UI tick; a track the core cannot carry renders stock's silent source. Removal is refused while a Part, a UI root or a paused task still holds the machine. A SETUP_PAGE machine contributes a struct modwerk_machine_setup (88 bytes): while SRC SETUP's cursor is on its row and the current track is its own, the drawer shows the page its page function returns and encoders A-F go to its knob function before stock edits the backing pool's setup; a base without the flag ignores it and reads 80 bytes, so the machine keeps stock's setup there. A NATIVE_FLEX machine must contribute START and its own render callback. It keeps its native FLEX voice active while the base clears its retrig count; refused STARTs, unpaid owners and missing machines still stop it. Translate and restore custom controls around native START and render calls. Use a matching base: older bases ignore this flag and stop the voice. | lower first, then module id: the chooser's row order. 10 POLY8, 20 Analog BD, 30 VECTOR, 40 FM Synth (the order of POLY8's shared controller); others 50-90. | the UI task and the audio render (render only): short, no firmware call that can block | +| `ot_machines` | table | none | the machine chooser, SRC SETUP, the page resolver, the Part validator, the UI tick, pool navigation and the FLEX renderer ask the contributed machines, in row order: chooser rows 5 on | `80-byte record` | Contribute one struct modwerk_machine (every field but abi, sig and label optional, 0). A Part keeps its signature when the machine is absent and reads as stock. Leaving a PROTECT machine that has no assign of its own puts stock's FLEX defaults back in both Part copies before the signature goes. A priced machine (source_kind) is charged on its track's core before the track becomes it, and every owned track at each UI tick; a track the core cannot carry renders stock's silent source. Removal is refused while a Part, a UI root or a paused task still holds the machine. A SETUP_PAGE machine contributes a struct modwerk_machine_setup (88 bytes): while SRC SETUP's cursor is on its row and the current track is its own, the drawer shows the page its page function returns and encoders A-F go to its knob function before stock edits the backing pool's setup; a base without the flag ignores it and reads 80 bytes, so the machine keeps stock's setup there. A NATIVE_FLEX machine must contribute START and its own render callback. It keeps its native FLEX voice active while the base clears its retrig count; refused STARTs, unpaid owners and missing machines still stop it. Translate and restore custom controls around native START and render calls. Use a matching base: older bases ignore this flag and stop the voice. A machine's module that does not subscribe ev_in_use rests while no track of any Part of the project, working or saved, is the machine (the base answers for it, HOOKS.md): its handlers leave the hooks that rest and its detours marked rests hold stock's bytes, its table records and setup stay. A RENDER_FLEX machine never rests. A track that names a resting machine renders stock's silent source until the module wakes, at the next UI tick or before a pick of it commits. | lower first, then module id: the chooser's row order. 10 POLY8, 20 Analog BD, 30 VECTOR, 40 FM Synth (the order of POLY8's shared controller); others 50-90. | the UI task and the audio render (render only): short, no firmware call that can block | | `ot_sequencer_rows` | table | none | PROJECT > CONTROL > SEQUENCER lists stock's three rows, then one per contributed label | `4-byte record` | Contribute one struct modwerk_sequencer_rows: its rows, in order. The window shows stock's three rows and up to eight more; a row with a label an earlier row has is not shown; the getter and setter follow stock's rows' convention (CHAIN AFTER's 0x400659ec). | lower first, then module id: the rows' order. 40 FM Synth's bundled quantizer, 50 Scale Quantizer. | the UI task | | `ev_tail_kill` | call, rests | 0x40004d0c | STOP's tail kill (STOP, STOP, STOP) holds a track: each frame, for each held track, before stock tests the track's FX2 against its three reverbs and clears theirs | `void f(uint8_t *record, unsigned track)` | A notification: every handler runs, then stock's own test. record is the track's 64-byte frame record its DSP instances read (32 halfwords): the halfword at +56 is the FX2 id stock tests, the byte at +53 FX2 SETUP's slot 11, which stock zeroes for its reverbs while the kill holds. A handler may zero its own effect's bytes there the same way (check +56 first). d2-d7/a2-a6 are the builder's and must be kept. | lower first, then module id; 10-90. | the frame interrupt: short, no firmware call that can block | | `ot_midi_generators` | table | none | MIDI NOTE SETUP (double-tap SRC, or double-tap TRACK in MIDI mode) lists ARP (stock's arpeggiator: no generator) and the contributed generators in its empty left half, five rows at a time (UP/DOWN scroll); a MIDI track running one shows that generator's pages on the MIDI pages it takes (always ARP; FUNC+AMP: the ARP page's second) | `36-byte record` | Contribute one struct modwerk_midi_generator (every field but abi, label and id optional, 0). Choosing it puts 'M' and its id in the track's arp step mask (Part 0x1822 + 2 t, high byte first), which stock's validator never reads and only ARP SETUP edits; stock's default there is ffff. On every change of generator the base first puts the track's arpeggiator back to stock's defaults (MODE OFF, every note 0), then calls the old generator's assign(t, 0) and the new one's assign(t, 1). While a generator runs a track it owns that track's 16 arpeggiator note bytes (Part 0x1832 + 16 t, each -64..63, the range stock's validator keeps), so the ARP page is always its own and FUNC+AMP never opens ARP SETUP there. Its pages show while no trig or scene is held (stock's then, so locks stay stock's); the base takes encoders A-F, YES and, on the second ARP page, NO there. Values behind the pages it takes stay stock's and keep their meaning (a NOTE page's NOT2-4 still add chord notes): set or show them itself. Layout A (owner, 24 October 2026): generators take SRC and AMP; FX1 and FX2 are kept for MIDI effects. A track whose id has no installed generator reads as stock. | lower first, then module id: the list's order. 30 for the first generator; others 40-90. | the UI task | diff --git a/sdk/machines/octatrack/base-binding.json b/sdk/machines/octatrack/base-binding.json index ae7fa3e299..9304802d7f 100644 --- a/sdk/machines/octatrack/base-binding.json +++ b/sdk/machines/octatrack/base-binding.json @@ -1,13 +1,13 @@ { "schema": 1, - "identity": "bd1ed4323f053874308bd42f9c96a332f3c3c90aab8636038455e6077e4fe409", - "arena": 1089834464, - "pool": 1087863184, + "identity": "a08a1557c5bd7d04b6b0615361f059ac99ba2bc40f8a7e3b86842db2ccbbb5bd", + "arena": 1089840608, + "pool": 1087865744, "symbols": { "modwerk_controller_write_begin": 1084872556, "modwerk_controller_write_end": 1084872584, - "modwerk_cue_cfg_clamp": 1085111036, - "modwerk_raise_ev_mute_keep": 1085113934 + "modwerk_cue_cfg_clamp": 1085113256, + "modwerk_raise_ev_mute_keep": 1085116154 }, "controllers": { "sidechain-compressor": "9f4958b6c195e96c8c5ca432e308c1550a1b656df6f74c6bccc092b6715b4b77", @@ -15,12 +15,12 @@ "analog-bassdrum": "1d7057407595fc5b1c6a853d6cce2b24de5b8673ec345a5e1cea96a5d2557c99" }, "variants": { - "tracks-main-cue": "bd1ed4323f053874308bd42f9c96a332f3c3c90aab8636038455e6077e4fe409", - "tracks": "1a6cbb0037edc5f2160d28071d27b79095397b5a68b3872064285d32f3f054ca", - "tracks-post": "239d55a42bcba500a5f2f2cb3b2e7eff0332dc7f9ed98b390175c5c6ed52d901", - "main-cue": "9a5a8d71e043c90677f061534eb83561b7c9074115313c78ca1ece12ab237cda", - "main": "74e6960203037c8aed242930fc060e83ca2c40f8435f716319a9e2899f119ef4", - "master": "cea8f8149dc3721abf9def824841563f1e96e9580dacad76ca17aa202a107bce", - "off": "cc623ac90952209767aa6297cb16eba5eb3f23f72ed3d1d0bf872db38a99bfa3" + "tracks-main-cue": "a08a1557c5bd7d04b6b0615361f059ac99ba2bc40f8a7e3b86842db2ccbbb5bd", + "tracks": "298b9da5a45f44f088bd2df577ed86461cdd4edcf0f040ea7a497e72859a6f4f", + "tracks-post": "17fb39b79eac7152cac21ba91234f876c77bf44799ecd9bfffbacd1760f90016", + "main-cue": "76fe1ef56fa88e9a35448c1ad7c0b6da77a794102b0514a69c82e8374b1c7c76", + "main": "aa58c1c1b8bb87798f50c9d82cb59d813596271fa278563531d7b9959501ca4f", + "master": "eb54c0cfa1bc277366071918f1c67d12107104ed59c605ae5cf2adb7887a8ce0", + "off": "7e472f6d0e342f09819223afe4a02540632e129bb838c34eb5feda55228c3f0a" } } diff --git a/sdk/machines/octatrack/base-sizes.json b/sdk/machines/octatrack/base-sizes.json index f6a41345e5..78207e405d 100644 --- a/sdk/machines/octatrack/base-sizes.json +++ b/sdk/machines/octatrack/base-sizes.json @@ -377,35 +377,35 @@ }, { "base": "0.7.11", - "identity": "bd1ed4323f053874308bd42f9c96a332f3c3c90aab8636038455e6077e4fe409", + "identity": "a08a1557c5bd7d04b6b0615361f059ac99ba2bc40f8a7e3b86842db2ccbbb5bd", "layouts": { "tracks-main-cue": { - "main": 1326129, - "container": 806748 + "main": 1327492, + "container": 808332 }, "tracks": { - "main": 1325978, - "container": 806608 + "main": 1327347, + "container": 808128 }, "tracks-post": { - "main": 1327581, - "container": 808352 + "main": 1328952, + "container": 809860 }, "main-cue": { - "main": 1325889, - "container": 806496 + "main": 1327259, + "container": 808048 }, "main": { - "main": 1325755, - "container": 806356 + "main": 1327122, + "container": 807916 }, "master": { - "main": 1325782, - "container": 806360 + "main": 1327146, + "container": 807928 }, "off": { - "main": 1324348, - "container": 804804 + "main": 1325717, + "container": 806276 } } } diff --git a/sdk/machines/octatrack/base-versions.json b/sdk/machines/octatrack/base-versions.json index f2866ff99c..17a57e0b53 100644 --- a/sdk/machines/octatrack/base-versions.json +++ b/sdk/machines/octatrack/base-versions.json @@ -124,13 +124,13 @@ { "version": "0.7.11", "identities": [ - "bd1ed4323f053874308bd42f9c96a332f3c3c90aab8636038455e6077e4fe409", - "1a6cbb0037edc5f2160d28071d27b79095397b5a68b3872064285d32f3f054ca", - "239d55a42bcba500a5f2f2cb3b2e7eff0332dc7f9ed98b390175c5c6ed52d901", - "9a5a8d71e043c90677f061534eb83561b7c9074115313c78ca1ece12ab237cda", - "74e6960203037c8aed242930fc060e83ca2c40f8435f716319a9e2899f119ef4", - "cea8f8149dc3721abf9def824841563f1e96e9580dacad76ca17aa202a107bce", - "cc623ac90952209767aa6297cb16eba5eb3f23f72ed3d1d0bf872db38a99bfa3" + "a08a1557c5bd7d04b6b0615361f059ac99ba2bc40f8a7e3b86842db2ccbbb5bd", + "298b9da5a45f44f088bd2df577ed86461cdd4edcf0f040ea7a497e72859a6f4f", + "17fb39b79eac7152cac21ba91234f876c77bf44799ecd9bfffbacd1760f90016", + "76fe1ef56fa88e9a35448c1ad7c0b6da77a794102b0514a69c82e8374b1c7c76", + "aa58c1c1b8bb87798f50c9d82cb59d813596271fa278563531d7b9959501ca4f", + "eb54c0cfa1bc277366071918f1c67d12107104ed59c605ae5cf2adb7887a8ce0", + "7e472f6d0e342f09819223afe4a02540632e129bb838c34eb5feda55228c3f0a" ] } ] diff --git a/sdk/machines/octatrack/elekloader/README.md b/sdk/machines/octatrack/elekloader/README.md index f80a6189e0..ab240f5ca1 100644 --- a/sdk/machines/octatrack/elekloader/README.md +++ b/sdk/machines/octatrack/elekloader/README.md @@ -342,6 +342,18 @@ filter never comes back to exact zero after a send, so this drops a residue belo bit-identical. A send that opens starts from silent taps. A module that takes the routine's seam before it (Tape Echo, `0x4000361a`) restarts the count. A pick is still judged as if every quiet delay were awake (`modwerk_status_cpu_load` adds a point a quiet track), since a scene that opens the sends takes the whole saving back from the next frame: the skip buys margin, never admission. The A/B harness and the unit figures are in `delay-harness/`. +`machine_registry.c` rests the module of a machine no track of the project uses (the loader asks it through +`modwerk_machine_in_use`, events.json's judged `ot_machines`): its handlers leave the hooks that rest and its detours +marked `rests` hold stock's bytes, so an installed machine nobody plays costs the frame interrupt nothing of its own. +The machine map's scan (every two seconds, at once after a change) reads every Part of the project, working and saved, +so pattern, Part and bank changes never need a wake; a module rests after two scans in a row find none of its tracks, +never on a scan taken while a project loads, and every machine stays awake for two scans after the set changes. A pick +of a resting machine wakes it before the pick commits and is judged with `mw_wake_mille` (3 meter points) on top of its +price, for its hooks coming back into the frame; a track that names one without a pick renders stock's silent source +and starts no voice until the next UI tick wakes it. A RENDER_FLEX machine never rests. The module of a DSP effect rests the same way while no slot of the project names its effect id (fxmap.c's +map of every bank's Parts) and no live slot runs it; judges a pick of it with the same +margin and wakes it before stock writes the pick. + `status.c` also keeps the frame interrupt's share of each frame from the frame guard's sums, over the last four seconds (the last play's while stopped), and the box after a pick shows it in its CPU row against `mw_frame_line`, the share where the guard starts to drop renders. `status.c` measures, all the time, the ColdFire's load (main's idle spin, timed on DTIM3, `status.s`), each diff --git a/sdk/machines/octatrack/elekloader/machine_registry.c b/sdk/machines/octatrack/elekloader/machine_registry.c index 46868d1e13..b65558168e 100644 --- a/sdk/machines/octatrack/elekloader/machine_registry.c +++ b/sdk/machines/octatrack/elekloader/machine_registry.c @@ -10,6 +10,7 @@ #include "loader.h" #include "modwerk_events.h" #include "status.h" /* MODWERK_MACHINE_MAP and the machine map's calls */ +#include "fxids.h" /* the effect ids a project names (effect modules that rest) */ #ifndef MW_HOST /* test_machine_registry.c maps these onto a model of the unit's memory */ #define U8(a) (*(volatile uint8_t *)(uintptr_t)(a)) #define U32(a) (*(volatile uint32_t *)(uintptr_t)(a)) @@ -183,6 +184,11 @@ static unsigned owner(const Machine *const *m, unsigned n, const Part *part, uns * under the line played over it, and the frame guard then dropped its renders (shared diagnostics, 11 to 14 * November 2026: 166 skip records on 24 units beside 5 refusals). */ volatile uint32_t mw_cpu_hot = 850u; /* per mille; development bases may change it */ +/* A pick that wakes a resting machine's module (below, "Machines that rest") is judged with this on top of its price: + * what the module's hooks and detours cost the frame again once awake, which the meter cannot show before. The most + * of the 24 packages measured at rest on an MKII (20 November 2026, base 0.7.10 twin, playing): POLY8 0.3.3, 2.3 + * points of the frame interrupt and 2.6 of the CPU meter. Per mille of the meter. */ +volatile uint32_t mw_wake_mille = 30u; volatile uint32_t mw_cpu_allowance = 45u, mw_cpu_booked; /* percent of a frame; development bases may change the allowance */ volatile uint8_t mw_cpu_refused; /* the current Part's tracks past the allowance: the frame interrupt reads it whole */ static uint8_t cpu_warned; /* ... whose box already showed, as `warned` */ @@ -320,8 +326,122 @@ static unsigned sequencer(void) * FLEX track; walking the machine table and comparing every machine's signature each time was most of its own cost. * Written in the frame interrupt only. The descriptors it names are the rows': looked_up is cleared masked when the * rows change (modwerk_machine_tables_changed), before a machine that left loses its memory. */ -enum { NOBODY, OWNED, ORPHAN }; +enum { NOBODY, OWNED, ORPHAN, ASLEEP }; static struct { const Part *part; uint32_t bytes; const Machine *who; unsigned kind; } looked[8]; +/* ---- Machines that rest (owner, 20 November 2026: an installed module no track uses costs nothing) ----------------- + * A machine's module that does not answer ev_in_use itself is answered for here (events.json's judged ot_machines, + * loader.h modwerk_machine_in_use): it is in use while a track of any Part of the project, working or saved, is the + * machine, so a pattern, Part or bank change never needs it woken; the scan is the machine map's (mc_scan), every two + * seconds or at once after a change. It rests after REST_AFTER scans in a row find no such track: its handlers leave + * the hooks that rest (the frame interrupt's ev_play_increment, ev_voice_bind and ev_tail_kill) and its detours marked + * rests hold stock's bytes. A track that names a resting machine all the same (a paste, a project just loaded) renders + * stock's silent source and asks for it (wake_who) until the next UI tick wakes it; a pick wakes it before it commits. + * A RENDER_FLEX machine is offered FLEX tracks nobody owns, so it never rests. */ +#define REST_AFTER 2u +int modwerk_fxmap_loading(void); /* fxmap.c: a project load runs */ +static const Machine *use_who[ROWS - 5u]; /* the rows' machines at the last scan, and how many scans in a row found */ +static uint8_t use_idle[ROWS - 5u]; /* no track of the project on each (UI task) */ +static unsigned use_n; +static uint32_t use_epoch; /* the loader's owner epoch at the last scan: a set installed, removed or undone + * since keeps every machine awake until REST_AFTER scans of the new set */ +static const Machine *volatile wake_who[8]; /* the frame interrupt: track t names this resting machine */ +static const Machine *volatile pick_who; /* mw_assign: this resting machine is being picked */ +static const Machine *asleep_who[ROWS - 5u]; /* the rows' machines whose module rests: written masked (tables changed) */ +static unsigned asleep_n; +static int asleep(const Machine *who) +{ + for (unsigned k = 0; k < asleep_n; ++k) if (asleep_who[k] == who) return 1; + return 0; +} +static void asleep_refresh(void) /* masked: the loader just changed the rows or the resting set */ +{ + asleep_n = 0; + for (uintptr_t volatile *row = modwerk_runtime_event_row[MACHINES]; *row && asleep_n < ROWS - 5u; ++row) + if (modwerk_runtime_resting_at(*row)) asleep_who[asleep_n++] = (const Machine *)*row; +} +/* Effect modules rest the same way (owner, 20 November 2026): a module with a DSP effect and no ev_in_use of its own is + * in use while a slot of the project names its effect id (fxmap.c's modwerk_fxmap_used: every bank's Parts, working + * and saved, and what runs) or a live slot runs it (checked at every ask, so a paste or a load wakes it within a tick). + * Its ColdFire detours marked rests (Euclid's frame hook, Tape Echo's delay seam) hold stock's bytes meanwhile; its DSP + * code is the DSP's, resident on demand as before. A pick of it wakes it before stock writes the pick (status.c's + * modwerk_status_effect_busy). */ +#define LIVE_FX 0x80000ec4u /* what each slot runs: FX1 T1-T8, then FX2 */ +fx_set modwerk_fxmap_used(void); /* fxmap.c */ +int modwerk_fxmap_handle(uint32_t module); +static uint8_t fx_idle[MODWERK_FX_IDS]; /* idle scans in a row for each effect id (UI task) */ +static uint32_t fx_epoch; +static volatile int fx_wanted = -1; /* an effect id being picked while its module rests */ +static int effect_id(const struct runtime_module *module) +{ + int id = modwerk_fxmap_handle(module->id); + return id >= 0 ? id : (int)module->dsp.id; +} +static int effect_in_use(const struct runtime_module *module) +{ + int id = effect_id(module); + if (id < 0 || (unsigned)id >= MODWERK_FX_IDS || id == fx_wanted || modwerk_runtime_owner_epoch() != fx_epoch) return 1; + for (unsigned k = 0; k < 16u; ++k) if (U8(LIVE_FX + k) == (unsigned)id) return 1; + return fx_idle[id] < REST_AFTER; +} +static void fx_scanned(void) /* the machine map's refresh, with its whole scan */ +{ + fx_set used = modwerk_fxmap_used(); + uint32_t epoch = modwerk_runtime_owner_epoch(); + int loading = modwerk_fxmap_loading(), same_set = epoch == fx_epoch; + fx_epoch = epoch; + for (unsigned id = 0; id < MODWERK_FX_IDS; ++id) { + unsigned was = same_set ? fx_idle[id] : 0u; + fx_idle[id] = (uint8_t)(fx_in(used, id) ? 0u : loading || was == 255u ? was : was + 1u); + } + if (fx_wanted >= 0 && (fx_in(used, (unsigned)fx_wanted) || fx_idle[fx_wanted] >= REST_AFTER)) fx_wanted = -1; +} +/* status.c, before stock writes an effect pick: whether the module behind `id` rests, and its wake. */ +int modwerk_machine_effect_resting(unsigned id) +{ + for (unsigned p = 0; p < RUNTIME_MODULES; ++p) { + const struct runtime_module *m = modwerk_runtime_module(p); + if (m && m->dsp.count && !m->hook[MODWERK_OT_MACHINES] && effect_id(m) == (int)id) + return modwerk_runtime_resting_at((uintptr_t)m); + } + return 0; +} +void modwerk_machine_effect_wake(unsigned id) +{ + if (id >= MODWERK_FX_IDS) return; + fx_wanted = (int)id, fx_idle[id] = 0; + modwerk_runtime_rest_poll(); +} +int modwerk_machine_in_use(const struct runtime_module *module) +{ + const Machine *who = (const Machine *)module->hook[MODWERK_OT_MACHINES]; + if (!who && module->dsp.count) return effect_in_use(module); + if (!who || who->abi != MODWERK_MACHINE_ABI || who->flags & MODWERK_MACHINE_RENDER_FLEX || pick_who == who || + modwerk_runtime_owner_epoch() != use_epoch) return 1; + for (unsigned t = 0; t < 8u; ++t) if (wake_who[t] == who) return 1; + for (unsigned k = 0; k < use_n; ++k) if (use_who[k] == who) return use_idle[k] < REST_AFTER; + return 1; /* not scanned since it came: awake until a scan says otherwise */ +} +/* The machine map's scan found `mine` (bit k: a track of the project is m[k]): the count of idle scans for each. */ +static void use_scanned(const Machine *const *m, unsigned n, uint32_t mine) +{ + uint8_t idle[ROWS - 5u]; + uint32_t epoch = modwerk_runtime_owner_epoch(); + int same_set = epoch == use_epoch, loading = modwerk_fxmap_loading(); + use_epoch = epoch; + for (unsigned k = 0; k < n; ++k) { + unsigned was = 0; + for (unsigned j = 0; same_set && j < use_n; ++j) if (use_who[j] == m[k]) was = use_idle[j]; + /* While a project loads, stock rewrites the banks a Part at a time (fxmap.c): a scan then counts what it sees + * used, never an idle scan, so nothing rests on a half-loaded project. */ + idle[k] = mine >> k & 1u ? 0u : loading ? (uint8_t)was : (uint8_t)(was < 255u ? was + 1u : 255u); + if (!(mine >> k & 1u) && idle[k] < REST_AFTER) continue; + /* used, or idle long enough: a wake asked for it is answered either way */ + if (pick_who == m[k]) pick_who = 0; + for (unsigned t = 0; t < 8u; ++t) if (wake_who[t] == m[k]) wake_who[t] = 0; + } + for (unsigned k = 0; k < n; ++k) use_who[k] = m[k], use_idle[k] = idle[k]; + use_n = n; +} static const Machine *flex_machine; /* the first RENDER_FLEX machine with a render: it takes unowned FLEX tracks */ static uint32_t looked_up; /* bit t: looked[t] stands; bit 8: flex_machine does */ /* Those bytes are slow to read: the Part index is in battery RAM, about half a microsecond a read, and the bank's @@ -351,6 +471,7 @@ void modwerk_machine_tables_changed(void) } for (unsigned k = 5; k < ROWS; ++k) mw_src_names[k] = (const char *)(uintptr_t)U32(0x400a78c8u + 4), mw_pb_table[k] = FLEX_PAGE; counts(n, sequencer()); + asleep_refresh(); } const char *mw_name(unsigned row) @@ -455,9 +576,12 @@ unsigned mw_assign(Part *part, unsigned track, unsigned row) if (next) { if (next->admit_track && !next->admit_track(part, track)) return (unsigned)-1; warned &= (uint8_t)~(1u << track); /* a pick is a new ask: say so again if it is refused again */ + int waking = old != next && asleep(next); if (old != next) { /* a unit this machine's renders would make busy does not take it */ uint32_t cpu = modwerk_status_cpu_load(); - if (cpu + 10u * cpu_price(next) >= mw_cpu_hot) { + /* A resting machine's module also brings its hooks and detours back into the frame: the meter does not + * hold them yet, so its pick is judged with them (mw_wake_mille) on top. */ + if (cpu + 10u * cpu_price(next) + (waking ? mw_wake_mille : 0u) >= mw_cpu_hot) { mw_cpu_refusals = mw_cpu_refusals + 1u, mw_cpu_refusal_tracks |= 1u << track; modwerk_status_cpu_hot(track, next->label, cpu); return (unsigned)-1; @@ -471,6 +595,10 @@ unsigned mw_assign(Part *part, unsigned track, unsigned row) } } if (next->source_kind && old != next && !claim(track, next)) return (unsigned)-1; + if (waking) { /* awake before the track becomes it: its hooks see the commit; else silent until the next tick */ + pick_who = next; + modwerk_runtime_rest_poll(); + } if (old != next) mc_assigned(next); if (old && old != next) leave(part, mirror, track, old); if (absent) flex_defaults(part, mirror, track); @@ -712,6 +840,10 @@ int mw_source_start_impl(unsigned track, unsigned sample, unsigned flags, Source start_refused[track] = 0; return orphan(current_part(), track) ? 0 : fallback ? fallback(track, sample, flags) : 0; } + if (asleep(who)) { /* as an absent machine's track, until it wakes */ + start_refused[track] = 0, wake_who[track] = who; + return 0; + } if (!(who->flags & MODWERK_MACHINE_START)) { start_refused[track] = 0; return fallback ? fallback(track, sample, flags) : 0; @@ -751,7 +883,7 @@ SourceStart *mw_source_start_select(unsigned track, SourceStart *fallback) const Machine *m[ROWS - 5u], *who = 0; unsigned n = machines(m); if (owner(m, n, current_part(), track, &who)) { - if (who->flags & MODWERK_MACHINE_START) return source_start_dispatch; + if (who->flags & MODWERK_MACHINE_START || asleep(who)) return source_start_dispatch; } else if (orphan(current_part(), track)) { return source_start_dispatch; } @@ -854,7 +986,7 @@ static unsigned look(unsigned t, const Machine **who) uint32_t bytes = (uint32_t)part[0x22 + t] << 24 | (uint32_t)s[0] << 16 | (uint32_t)s[1] << 8 | s[2]; if (!(looked_up >> t & 1u) || looked[t].part != part || looked[t].bytes != bytes) { const Machine *m[ROWS - 5u]; unsigned n = render_rows(m); - looked[t].kind = owner(m, n, part, t, &looked[t].who) ? OWNED : orphan(part, t) ? ORPHAN : NOBODY; + looked[t].kind = owner(m, n, part, t, &looked[t].who) ? asleep(looked[t].who) ? ASLEEP : OWNED : orphan(part, t) ? ORPHAN : NOBODY; looked[t].part = part, looked[t].bytes = bytes, looked_up |= 1u << t; } frame_seen |= 1u << t; @@ -889,7 +1021,8 @@ int mw_source_render_impl(unsigned track, unsigned ping, unsigned start, unsigne } Render *f = who->render ? who->render : STOCK(Render *, 0x40004008u); /* POLY8's voices render inside stock's */ return who->source_kind ? f(track, ping, start, end) : guarded(f, STOCK(Render *, 0x400047f0u), track, ping, start, end); - } else if (kind == ORPHAN) { /* its bytes are the absent machine's, not FLEX's */ + } else if (kind == ORPHAN || kind == ASLEEP) { /* its bytes are the absent machine's, not FLEX's */ + if (kind == ASLEEP) wake_who[track] = who; /* resting: its detours hold stock's bytes until it wakes */ stop_stock(track); return STOCK(Render *, 0x400047f0u)(track, ping, start, end); } @@ -919,7 +1052,8 @@ int mw_foreign_render(unsigned track, unsigned ping, unsigned start, unsigned en if (kind == NOBODY) /* THRU, NEIGHBOR and PICKUP have no stand-in here */ return frame_part && frame_part[0x22 + track] <= 1u ? guarded(f, STOCK(Render *, 0x40004008u), track, ping, start, end) : f(track, ping, start, end); - if (kind == ORPHAN || start_refused[track] == who || mw_cpu_refused >> track & 1u || + if (kind == ASLEEP) wake_who[track] = who; + if (kind == ORPHAN || kind == ASLEEP || start_refused[track] == who || mw_cpu_refused >> track & 1u || (who->source_kind && charged[track] != who)) return STOCK(Render *, 0x400047f0u)(track, ping, start, end); return who->source_kind ? f(track, ping, start, end) : guarded(f, STOCK(Render *, 0x400047f0u), track, ping, start, end); @@ -1053,7 +1187,9 @@ void modwerk_machine_map_refresh(void) if (!mc_stale && (mc_refreshes & 3u)) return; mc_stale = 0; const Machine *m[ROWS - 5u]; unsigned n = machines(m); - uint32_t named = mc_scan(0, 0, 0), absent = 0; + uint32_t mine, named = mc_scan(m, n, &mine), absent = 0; + use_scanned(m, n, mine); /* which machines' modules may rest (modwerk_machine_in_use) */ + fx_scanned(); /* and which effect modules */ for (unsigned k = 0; k < MODWERK_MACHINE_MAP; ++k) { const volatile struct mc_entry *e = &MCMAP->e[k]; if (!(named >> k & 1u)) continue; diff --git a/sdk/machines/octatrack/elekloader/runtime_events.h b/sdk/machines/octatrack/elekloader/runtime_events.h index 659287f1b0..2c7ff371d4 100644 --- a/sdk/machines/octatrack/elekloader/runtime_events.h +++ b/sdk/machines/octatrack/elekloader/runtime_events.h @@ -11,6 +11,8 @@ #define RUNTIME_SITE_EVENT_RESTS { 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } /* the event the base asks each module from the UI tick (loader.c rest_poll) */ #define RUNTIME_SITE_EVENT_IN_USE 50u +/* the table whose contributors the base answers ev_in_use for (loader.c judged) */ +#define RUNTIME_SITE_EVENT_JUDGED 24u #define RUNTIME_SITE_EVENT_WORDS (21u * (RUNTIME_MODULES + 1u) + 266u) #define RUNTIME_SITE_EVENT_ROWS(r) { (r) + 0u * (RUNTIME_MODULES + 1u) + 0u, (r) + 1u * (RUNTIME_MODULES + 1u) + 0u, (r) + 2u * (RUNTIME_MODULES + 1u) + 0u, (r) + 3u * (RUNTIME_MODULES + 1u) + 0u, (r) + 4u * (RUNTIME_MODULES + 1u) + 0u, (r) + 4u * (RUNTIME_MODULES + 1u) + 9u, (r) + 4u * (RUNTIME_MODULES + 1u) + 18u, (r) + 4u * (RUNTIME_MODULES + 1u) + 27u, (r) + 4u * (RUNTIME_MODULES + 1u) + 36u, (r) + 4u * (RUNTIME_MODULES + 1u) + 45u, (r) + 4u * (RUNTIME_MODULES + 1u) + 54u, (r) + 4u * (RUNTIME_MODULES + 1u) + 63u, (r) + 4u * (RUNTIME_MODULES + 1u) + 72u, (r) + 4u * (RUNTIME_MODULES + 1u) + 81u, (r) + 4u * (RUNTIME_MODULES + 1u) + 90u, (r) + 4u * (RUNTIME_MODULES + 1u) + 99u, (r) + 4u * (RUNTIME_MODULES + 1u) + 108u, (r) + 4u * (RUNTIME_MODULES + 1u) + 117u, (r) + 4u * (RUNTIME_MODULES + 1u) + 126u, (r) + 4u * (RUNTIME_MODULES + 1u) + 135u, (r) + 4u * (RUNTIME_MODULES + 1u) + 144u, (r) + 4u * (RUNTIME_MODULES + 1u) + 153u, (r) + 4u * (RUNTIME_MODULES + 1u) + 162u, (r) + 4u * (RUNTIME_MODULES + 1u) + 171u, (r) + 4u * (RUNTIME_MODULES + 1u) + 180u, (r) + 4u * (RUNTIME_MODULES + 1u) + 189u, (r) + 4u * (RUNTIME_MODULES + 1u) + 198u, (r) + 5u * (RUNTIME_MODULES + 1u) + 198u, (r) + 5u * (RUNTIME_MODULES + 1u) + 215u, (r) + 5u * (RUNTIME_MODULES + 1u) + 224u, (r) + 5u * (RUNTIME_MODULES + 1u) + 233u, (r) + 5u * (RUNTIME_MODULES + 1u) + 242u, (r) + 6u * (RUNTIME_MODULES + 1u) + 242u, (r) + 6u * (RUNTIME_MODULES + 1u) + 247u, (r) + 6u * (RUNTIME_MODULES + 1u) + 256u, (r) + 7u * (RUNTIME_MODULES + 1u) + 256u, (r) + 8u * (RUNTIME_MODULES + 1u) + 256u, (r) + 9u * (RUNTIME_MODULES + 1u) + 256u, (r) + 10u * (RUNTIME_MODULES + 1u) + 256u, (r) + 11u * (RUNTIME_MODULES + 1u) + 256u, (r) + 12u * (RUNTIME_MODULES + 1u) + 256u, (r) + 13u * (RUNTIME_MODULES + 1u) + 256u, (r) + 14u * (RUNTIME_MODULES + 1u) + 256u, (r) + 15u * (RUNTIME_MODULES + 1u) + 256u, (r) + 16u * (RUNTIME_MODULES + 1u) + 256u, (r) + 17u * (RUNTIME_MODULES + 1u) + 256u, (r) + 18u * (RUNTIME_MODULES + 1u) + 256u, (r) + 19u * (RUNTIME_MODULES + 1u) + 256u, (r) + 20u * (RUNTIME_MODULES + 1u) + 256u, (r) + 20u * (RUNTIME_MODULES + 1u) + 258u, (r) + 20u * (RUNTIME_MODULES + 1u) + 266u } #define RUNTIME_OWNED_SITES 69u diff --git a/sdk/machines/octatrack/elekloader/status.c b/sdk/machines/octatrack/elekloader/status.c index 12ef24d0c8..7472aa4b5b 100644 --- a/sdk/machines/octatrack/elekloader/status.c +++ b/sdk/machines/octatrack/elekloader/status.c @@ -1121,12 +1121,21 @@ void modwerk_status_cpu_hot(unsigned track, const char *label, uint32_t cpu) * effect (`id`, on slot 0-15: FX1 T1-T8, then FX2) while the unit is busy, and the pick is then not made. A module * effect's control code, hooks and frame work are ColdFire time no price covers. Stock's effects and NONE always pass, * so a busy unit can always be made lighter. The box names the slot as an effect's ("Tn FXn"). */ -extern volatile uint32_t mw_cpu_hot, mw_cpu_refusals, mw_cpu_refusal_tracks; /* machine_registry.c */ +extern volatile uint32_t mw_cpu_hot, mw_cpu_refusals, mw_cpu_refusal_tracks, mw_wake_mille; /* machine_registry.c */ void modwerk_fxmap_name(unsigned id, char *out); /* fxmap.c: 16 bytes */ +int modwerk_machine_effect_resting(unsigned id); /* machine_registry.c: effect modules that rest */ +void modwerk_machine_effect_wake(unsigned id); int modwerk_status_effect_busy(unsigned slot, unsigned id) { uint32_t cpu = modwerk_status_cpu_load(); - if (slot > 15u || !fx_in(modwerk_fx_modules, id) || cpu < mw_cpu_hot) return 0; + if (slot > 15u || !fx_in(modwerk_fx_modules, id)) return 0; + /* A resting effect module brings its ColdFire hooks back into the frame: judged with them on top, then woken + * before stock writes the pick, so its first frame on the slot has its detours. */ + int waking = modwerk_machine_effect_resting(id); + if (cpu + (waking ? mw_wake_mille : 0u) < mw_cpu_hot) { + if (waking) modwerk_machine_effect_wake(id); + return 0; + } char name[16]; modwerk_fxmap_name(id, name); mw_cpu_refusals = mw_cpu_refusals + 1u, mw_cpu_refusal_tracks |= 1u << (slot & 7u); diff --git a/sdk/machines/octatrack/elekloader/test_machine_registry.c b/sdk/machines/octatrack/elekloader/test_machine_registry.c index ba4fb25723..cf2a51acf0 100644 --- a/sdk/machines/octatrack/elekloader/test_machine_registry.c +++ b/sdk/machines/octatrack/elekloader/test_machine_registry.c @@ -12,6 +12,7 @@ static unsigned failures; #define CHECK(x) do { if (!(x)) { failures++; fprintf(stderr, "%s:%d: %s\n", __FILE__, __LINE__, #x); } } while (0) static uint8_t stock_voices[8 * 168]; /* stock's voice records (0x800049d8 + 168 * track): byte 0 is "playing" */ static uint32_t render_states[8 * 10]; /* stock's render states (0x80004898 + 40 * track): +4 the RTRG count */ +static uint8_t live_fx[16]; /* what each slot runs (0x80000ec4): FX1 T1-T8, then FX2 */ /* Synthetic memory: a few segments at the addresses the registry reads. */ struct segment { uint32_t base, size; uint8_t *bytes; }; @@ -25,6 +26,7 @@ static struct segment segments[] = { {0x40079240u, 0x10, code}, {0x400585f0u, 0x10, code + 0x10}, {0x4003c950u, 4, code + 0x20}, {0x40078678u, 4, code + 0x24}, {0x400786ccu, 4, code + 0x28}, {0x40079904u, 4, code + 0x2c}, {0x40065c7cu, 4, code + 0x30}, {0x40078c20u, sizeof clamps, clamps}, {0x800049d8u, sizeof stock_voices, stock_voices}, {0x80004898u, sizeof render_states, (uint8_t *)render_states}, + {0x80000ec4u, sizeof live_fx, live_fx}, }; static uint8_t *host_at(uint32_t a) { @@ -60,8 +62,17 @@ static void *host_stock(uint32_t a) void mg_tick(void); /* midi_generators.c, checked by test_midi_generators.c */ void mg_tick(void) {} -static unsigned rest_polls; /* the loader's resting poll, checked by sdk/runtime/loader/tests/events_test.c */ -int modwerk_runtime_rest_poll(void) { return ++rest_polls, 0; } +static unsigned rest_polls; /* the loader's resting poll, checked by sdk/runtime/loader/tests/events_test.c; modelled below */ +static int project_loading; /* fxmap.c's: a project load runs */ +int modwerk_fxmap_loading(void); +int modwerk_fxmap_loading(void) { return project_loading; } +/* fxmap.c's effect ids: the ids the project names (bit id of project_fx), and module 700 + id holds id. */ +#include "fxids.h" +static uint32_t project_fx; +fx_set modwerk_fxmap_used(void); +fx_set modwerk_fxmap_used(void) { fx_set s = {{0}}; for (unsigned id = 0; id < 32u; ++id) if (project_fx >> id & 1u) s = fx_with(s, id); return s; } +int modwerk_fxmap_handle(uint32_t module); +int modwerk_fxmap_handle(uint32_t module) { return module >= 700u && module < 732u ? (int)(module - 700u) : -1; } /* The loader's side: the table rows and the machine glue. */ #include "loader.h" volatile uint32_t modwerk_machine_assigned; /* controller_board.c's, not linked here */ @@ -106,6 +117,39 @@ uint32_t modwerk_runtime_owner_epoch(void) { return owner_epoch; } #include "machine_registry.c" #undef modwerk_runtime_event_row +/* The loader's resting, modelled (loader.c rest_poll and judged; the rows and sites are events_test.c's): each judged + * module is a runtime_module whose ot_machines hook is its machine; at each poll it rests or wakes as + * modwerk_machine_in_use answers, and a change calls modwerk_machine_tables_changed masked, as the loader does. Off + * (model_rests 0) every machine stays awake and the poll only counts. */ +static struct runtime_module judged_mod[3]; static unsigned judged_n, rest_changes; static int model_rests; +static uintptr_t resting_rec[3]; +int modwerk_runtime_resting_at(uintptr_t a) +{ + for (unsigned i = 0; i < judged_n; ++i) if (a && resting_rec[i] == a) return 1; + return 0; +} +int modwerk_runtime_rest_poll(void) +{ + ++rest_polls; + if (!model_rests) return 0; + int changed = 0; + for (unsigned i = 0; i < judged_n; ++i) { + uintptr_t record = judged_mod[i].hook[MODWERK_OT_MACHINES] ? judged_mod[i].hook[MODWERK_OT_MACHINES] : (uintptr_t)&judged_mod[i]; + int rest = !modwerk_machine_in_use(&judged_mod[i]); + if ((resting_rec[i] != 0) != rest) resting_rec[i] = rest ? record : 0, changed = 1; + } + if (changed) { masked = 1; modwerk_machine_tables_changed(); masked = 0; ++rest_changes; } + return changed; +} +static void judge(unsigned i, const struct modwerk_machine *m) +{ + memset(&judged_mod[i], 0, sizeof judged_mod[i]); + judged_mod[i].id = 900u + i, judged_mod[i].hook[MODWERK_OT_MACHINES] = (uintptr_t)m, resting_rec[i] = 0; +} +static int resting(unsigned i) { return resting_rec[i] != 0; } +/* One machine-map scan (twice a second on the unit, a whole scan at once after a change), then a UI tick. */ +static void scan_tick(void) { mc_stale = 1; modwerk_machine_map_refresh(); mw_ui_tick(); } + /* The DSP budget's source stage (dsp.c, synthetic): a core carries `room` voices; a claim replaces the track's voice, * and an engine off frees its machine's engine and every voice it held. */ static unsigned room = 1, claims_made, releases, engine_offs; static uint8_t voices; static uint32_t voice_of[8], last_off; @@ -530,6 +574,132 @@ static void check_machine_map(void) rows(0, 0, 0, 0); memcpy(bank, bank_copy, sizeof bank), memcpy(sram, sram_copy, sizeof sram); } +/* Machines that rest (machine_registry.c, HOOKS.md): a machine's module no track of the project uses rests after two + * scans and costs the frame nothing; it wakes before its pick commits, at the next tick when a track names it without a + * pick (a paste, a load, a pattern while playing), and after any set change until two scans of the new set. */ +static void clear_sigs(void) +{ + for (unsigned p = 0; p < 4u; ++p) + for (unsigned t = 0; t < 8u; ++t) { + memset(host_at(0x46000000u + PART_OFF + p * PART_STRIDE + SIG + 30u * t), 0, 3); + memset(host_at(0x46000000u + SAVED_OFF + p * PART_STRIDE + SIG + 30u * t), 0, 3); + *host_at(0x46000000u + PART_OFF + p * PART_STRIDE + 0x22 + t) = 1; + *host_at(0x46000000u + SAVED_OFF + p * PART_STRIDE + 0x22 + t) = 1; + } +} +static void check_resting_machines(void) +{ + static const struct modwerk_machine Q = {MODWERK_MACHINE_ABI, {'Q', '8'}, 1, 1, "POLY", 0, 0, a_defaults, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, {0}}; /* renders inside stock's */ + extern volatile uint32_t mw_cpu_hot, mw_wake_mille; + const void *aq[] = {&A, &Q}; + clear_sigs(); misc[0x0f] = 0; /* Part 1 */ + fresh(); a_admit = 1; cpu_now = 0; mw_cpu_allowance = 45; mw_cpu_refused = 0; + rows(0, 0, 0, 0); + int flex0 = stock_renders, a0 = a_renders; + for (unsigned t = 0; t < 8u; ++t) CHECK(later(t) == -7); + int flex_none = stock_renders - flex0; CHECK(flex_none == 8 && a_renders == a0); + + /* Installed, used nowhere: awake until two scans of the new set have found no track on them, then resting. */ + judged_n = 2; judge(0, &A); judge(1, &Q); model_rests = 1; + rows(aq, 2, 0, 0); ++owner_epoch; + mw_ui_tick(); CHECK(!resting(0) && !resting(1)); /* a new set: not scanned yet */ + scan_tick(); CHECK(!resting(0) && !resting(1)); /* one idle scan */ + scan_tick(); CHECK(resting(0) && resting(1) && asleep_n == 2); /* two: both rest */ + /* Resting, they cost the frame what no machine costs: every unowned FLEX track straight to stock's render. */ + flex0 = stock_renders, a0 = a_renders; + for (unsigned t = 0; t < 8u; ++t) CHECK(later(t) == -7); + CHECK(stock_renders - flex0 == flex_none && a_renders == a0); + for (unsigned t = 0; t < 8u; ++t) CHECK(!wake_who[t]); + scan_tick(); CHECK(resting(0) && resting(1) && !pick_who); /* stays so */ + + /* A pick wakes its module before it commits; the other stays at rest. */ + unsigned polls = rest_polls; + CHECK(mw_assign(part0(), 2, 5) == 1 && rest_polls == polls + 1u && !resting(0) && resting(1) && pick_who == &A); + a0 = a_renders; CHECK(later(2) == a0 + 1); /* A renders its own track at once */ + scan_tick(); CHECK(!resting(0) && resting(1) && !pick_who); /* the scan finds it used */ + scan_tick(); scan_tick(); CHECK(!resting(0) && resting(1)); + + /* A busy unit: a pick that would wake a module is judged with its hooks back on top (mw_wake_mille). */ + { unsigned boxes = hot_boxes; + cpu_now = mw_cpu_hot - 10u * CPU_DEFAULT - mw_wake_mille; + CHECK(mw_assign(part0(), 3, 6) == (unsigned)-1 && hot_boxes == boxes + 1 && resting(1) && !pick_who); + cpu_now = mw_cpu_hot - 10u * CPU_DEFAULT - mw_wake_mille - 1u; + CHECK(mw_assign(part0(), 3, 6) == 1 && hot_boxes == boxes + 1 && !resting(1)); + CHECK(mw_assign(part0(), 3, 1) == 1); cpu_now = 0; } /* back to FLEX */ + + /* The last track leaves: two scans later it rests again. */ + CHECK(mw_assign(part0(), 2, 1) == 1); + scan_tick(); CHECK(!resting(0)); + scan_tick(); CHECK(resting(0) && resting(1)); + + /* A track that names a resting machine without a pick (a paste, a Part or bank change while playing, a load): + * stock's silent source and no START until the next tick wakes it; then the machine plays it. */ + memcpy((void *)(part0() + SIG + 30u * 4u), "AB\1", 3); + stock_voices[4 * 168] = 1; + { int silent = silent_renders; a0 = a_renders; + CHECK(later(4) == -9 && silent_renders == silent + 1 && a_renders == a0 && stock_voices[4 * 168] == 0 && wake_who[4] == &A); + unsigned calls = fallback_calls; + CHECK(mw_source_start_select(4, fallback_start) != fallback_start && !selected_start(4, 127, 0xc0, fallback_start) && fallback_calls == calls); + mw_ui_tick(); CHECK(!resting(0) && resting(1)); /* one tick */ + CHECK(later(4) == a0 + 1); + scan_tick(); CHECK(!resting(0) && !wake_who[4]); /* the scan finds it: awake while it is used */ + } + memset((void *)(part0() + SIG + 30u * 4u), 0, 3); + /* A saved copy alone keeps it awake (RELOAD brings it back), and so does another Part (a pattern change). */ + memcpy(host_at(0x46000000u + SAVED_OFF + 2u * PART_STRIDE + SIG + 30u * 6u), "AB\1", 3); + scan_tick(); scan_tick(); scan_tick(); CHECK(!resting(0)); + memset(host_at(0x46000000u + SAVED_OFF + 2u * PART_STRIDE + SIG + 30u * 6u), 0, 3); + memcpy(host_at(0x46000000u + PART_OFF + 3u * PART_STRIDE + SIG + 30u * 1u), "Q8\1", 3); + scan_tick(); CHECK(!resting(1)); /* Q woken by the scan, before any frame */ + memset(host_at(0x46000000u + PART_OFF + 3u * PART_STRIDE + SIG + 30u * 1u), 0, 3); + scan_tick(); scan_tick(); CHECK(resting(0) && resting(1)); + /* A project load: scans while it runs count no idle scan, so a machine used before it does not rest on a + * half-written bank; it still wakes for what the scans see used. */ + memcpy((void *)(part0() + SIG + 30u * 5u), "AB\1", 3); + scan_tick(); CHECK(!resting(0)); + memset((void *)(part0() + SIG + 30u * 5u), 0, 3); project_loading = 1; + scan_tick(); scan_tick(); scan_tick(); CHECK(!resting(0) && resting(1)); + project_loading = 0; scan_tick(); CHECK(!resting(0)); scan_tick(); CHECK(resting(0)); + + /* A set change (install, removal, Undo or a rolled-back trial) wakes every machine until two scans of the new set; + * a module that registers late is awake until then too. A RENDER_FLEX machine never rests. */ + judged_n = 3; judge(2, &F); + const void *aqf[] = {&A, &Q, &F}; + rows(aqf, 3, 0, 0); ++owner_epoch; /* F's position switched; A and Q still rest */ + CHECK(asleep_n == 2); + mw_ui_tick(); CHECK(!resting(0) && !resting(1) && !resting(2) && !asleep_n); + scan_tick(); CHECK(!resting(0) && !resting(1) && !resting(2)); + scan_tick(); CHECK(resting(0) && resting(1) && !resting(2)); + /* Removed while resting (Undo of the trial that brought it): no resting machine left in the frame's list. */ + rows(aq, 2, 0, 0); ++owner_epoch; judged_n = 2; + CHECK(asleep_n == 2); + const void *q_only[] = {&Q}; + resting_rec[0] = 0; rows(q_only, 1, 0, 0); ++owner_epoch; + CHECK(asleep_n == 1 && asleep_who[0] == &Q); + mw_ui_tick(); CHECK(!resting(1)); /* the set changed: Q awake again */ + + /* An effect module (DSP code, no machine): in use while any slot of the project names its id or a live slot runs + * it; it rests after two idle scans, wakes within a tick of a slot running it, and at once for a pick. */ + rows(0, 0, 0, 0); judged_n = 1; memset(&judged_mod[0], 0, sizeof judged_mod[0]); + judged_mod[0].id = 705u, judged_mod[0].dsp.count = 64u, judged_mod[0].dsp.id = 9u, resting_rec[0] = 0; /* its handle is 5 */ + memset(live_fx, 0, sizeof live_fx); project_fx = 0; ++owner_epoch; + mw_ui_tick(); CHECK(!resting(0)); /* a new set: awake until scanned */ + scan_tick(); CHECK(!resting(0)); + scan_tick(); CHECK(resting(0)); /* two idle scans: rests */ + live_fx[11] = 5; mw_ui_tick(); CHECK(!resting(0)); /* T4 FX2 runs it (a paste, a load): one tick */ + live_fx[11] = 0; project_fx = 1u << 5; scan_tick(); CHECK(!resting(0)); /* another Part names it */ + scan_tick(); scan_tick(); CHECK(!resting(0)); + project_fx = 0; scan_tick(); CHECK(!resting(0)); scan_tick(); CHECK(resting(0)); + project_loading = 1; project_fx = 0; scan_tick(); CHECK(resting(0)); project_loading = 0; + modwerk_machine_effect_wake(5); CHECK(!resting(0) && fx_wanted == 5); /* a pick: awake before stock writes it */ + scan_tick(); scan_tick(); CHECK(resting(0) && fx_wanted < 0); /* the pick never landed: rests again */ + project_fx = 1u << 9; live_fx[0] = 9; scan_tick(); CHECK(resting(0)); /* another id: not this module */ + live_fx[0] = 0; project_fx = 0; + + model_rests = 0; judged_n = 0; rows(0, 0, 0, 0); clear_sigs(); + CHECK(!asleep_n && !masked); +} int main(void) { put_u32(0x46c82456u, 0x46000000u); @@ -990,9 +1160,11 @@ int main(void) check_native_flex_voice(); check_cpu_budget(); check_engine_price(); + check_resting_machines(); if (failures) { fprintf(stderr, "%u registry checks failed\n", failures); return 1; } puts("Machine registry: rows by table order, admission before mutation, signatures and defaults in both copies, absent " "machines as stock, the validator's protection and wrapper chain, render routing, keyed SEQUENCER rows, chooser " - "counts and cursor clamps, SETUP_PAGE machines' own SRC SETUP, the frame guard and the CPU budget passed."); + "counts and cursor clamps, SETUP_PAGE machines' own SRC SETUP, the frame guard, the CPU budget and resting " + "machines (rest when unused, wake on pick, on a track and after a set change) passed."); return 0; } diff --git a/sdk/machines/octatrack/elekloader/test_status.c b/sdk/machines/octatrack/elekloader/test_status.c index 0d4688a262..d5cd6c9b06 100644 --- a/sdk/machines/octatrack/elekloader/test_status.c +++ b/sdk/machines/octatrack/elekloader/test_status.c @@ -114,7 +114,11 @@ volatile uint32_t modwerk_modset_result; uint8_t modwerk_test_live_fx[16]; volatile uint32_t dl_selection_completed, modwerk_boot_accepted; const fx_set modwerk_fx_modules = {{1u << 27 | 1u << 29}}; -volatile uint32_t mw_cpu_hot = 850u, mw_cpu_refusals, mw_cpu_refusal_tracks; /* machine_registry.c's */ +volatile uint32_t mw_cpu_hot = 850u, mw_cpu_refusals, mw_cpu_refusal_tracks, mw_wake_mille = 30u; /* machine_registry.c's */ +/* machine_registry.c's effect modules that rest: effect 27's module rests while effect_rests; a wake records its id. */ +static int effect_rests; static unsigned effect_wakes, effect_woken; +int modwerk_machine_effect_resting(unsigned id) { return effect_rests && id == 27u; } +void modwerk_machine_effect_wake(unsigned id) { ++effect_wakes, effect_woken = id, effect_rests = 0; } void modwerk_fxmap_name(unsigned id, char *out) { for (unsigned i = 0; i < 16u; ++i) out[i] = 0; out[0] = 'F', out[1] = 'X', out[2] = (char)('0' + id % 10u); } static int budget_on; /* the pick box's DSP rows, so its CPU row draws */ int modwerk_dsp_budget(unsigned slot, struct modwerk_dsp_budget *out) @@ -478,6 +482,17 @@ int main(void) for (unsigned i = 0; i < 180u; ++i) memory_tick(); for (unsigned t = 0; t < 8u; ++t) mw_delay[17u + t] = 0; for (unsigned i = 0; i < 8u; ++i) cpu_recent[i] = 0; } + /* A pick of an effect whose module rests: judged with its hooks back on top (mw_wake_mille), and woken before + * stock writes the pick when it passes; an awake module or a stock effect is never woken. */ + { for (unsigned i = 0; i < 8u; ++i) cpu_recent[i] = 830u; + effect_rests = 1; effect_wakes = 0; + CHECK(modwerk_status_effect_busy(11, 27) == 1 && !effect_wakes && effect_rests); /* 83 % + 3: refused, still resting */ + for (unsigned i = 0; i < 180u; ++i) memory_tick(); + for (unsigned i = 0; i < 8u; ++i) cpu_recent[i] = 819u; + CHECK(!modwerk_status_effect_busy(11, 27) && effect_wakes == 1 && effect_woken == 27u && !effect_rests); + CHECK(!modwerk_status_effect_busy(11, 27) && effect_wakes == 1); /* awake: no second wake */ + CHECK(!modwerk_status_effect_busy(11, 8) && effect_wakes == 1); /* a stock effect */ + for (unsigned i = 0; i < 8u; ++i) cpu_recent[i] = 0; } /* The frame share: the frame guard's sums between two readings, per mille of a frame. The guard's development read * clears them: that reading is left out. */ { mw_frame_count = 1000u, mw_frame_busy = 187u * 600u; frame_note(0); diff --git a/sdk/machines/octatrack/events.json b/sdk/machines/octatrack/events.json index 0addd7fde1..3431b8d0ba 100644 --- a/sdk/machines/octatrack/events.json +++ b/sdk/machines/octatrack/events.json @@ -1289,10 +1289,11 @@ "record": 80, "key": null, "room": 8, + "judged": true, "declaration": "struct modwerk_machine {\n uint32_t abi; /* MODWERK_MACHINE_ABI */\n uint8_t sig[2], sig_lo, sig_hi; /* the Part signature at 60 + 30 * track: two letters and a version range */\n const char *label; /* its chooser and SRC SETUP name */\n uint32_t flags; /* MODWERK_MACHINE_* */\n uint32_t page; /* its parameter page without track_page; 0: stock's FLEX page */\n const uint8_t *defaults; /* without assign: the 12 FLEX bytes a track takes when it becomes this machine */\n unsigned (*assign)(volatile uint8_t *part, unsigned track, unsigned on); /* it signs and unsigns its tracks itself */\n unsigned (*admit_track)(const volatile uint8_t *part, unsigned track); /* 0 refuses the track */\n unsigned (*chooser_type)(unsigned type, const volatile uint8_t *slot); /* 5: its row is the track's */\n uint32_t (*track_page)(const volatile uint8_t *slot);\n void (*ui_tick)(void);\n void (*leave)(unsigned track); /* the track becomes another machine */\n void (*pool_open)(void); /* RIGHT or double-tap TRACK on its row; 0: stock's sample pool */\n void (*pool_left)(unsigned key, unsigned edge);\n void (*choice_left)(unsigned key, unsigned edge);\n const void *list_draw; /* its pool list drawer, entered as stock's 0x4006d784 */\n int (*render)(unsigned track, unsigned ping, unsigned start, unsigned end);\n int (*validate)(uint8_t *part, int (*next)(uint8_t *part));\n uint16_t source_voice, source_engine; /* a DSP voice that replaces its track's stock source: its price per voice */\n uint8_t source_kind, reserved[3]; /* and per core while one runs, of this kind (loader.h runtime_cycles); 0 none */\n /* reserved[0] is the machine's CPU price (the base's CPU budget): its worst render on one track, both passes of a\n * frame, in percent of a frame, measured on a unit. 0: the base's default, or nothing for a DSP voice. It stays\n * in reserved[] so that every descriptor written `{0}` there still compiles: a priced one ends `{PERCENT}`. */\n};\n#define MODWERK_MACHINE_ABI 1u\n#define MODWERK_MACHINE_PROTECT 1u /* stock's validator never sees its tracks' 12 FLEX bytes */\n#define MODWERK_MACHINE_POOL 2u /* its row has a pool or engine list (the title's chevron) */\n#define MODWERK_MACHINE_RENDER_FLEX 4u /* its render is also offered FLEX tracks no machine owns */\n#define MODWERK_MACHINE_BACKING 8u /* its page is STATIC's when its track's backing pool is STATIC */\n#define MODWERK_MACHINE_SETUP_ALL 16u /* all six SRC SETUP encoders edit its slots; without it encoder E (slot 10) stays read-only, POLY8's hidden slot */\n#define MODWERK_MACHINE_LIST 32u /* its track window (TRACK double tap) opens on the machine list, as PICKUP's; for a machine without a pool */\n#define MODWERK_MACHINE_SETUP_PAGE 64u /* it draws and edits its own SRC SETUP rows: its record is a struct modwerk_machine_setup */\n/* A SETUP_PAGE machine contributes this 88-byte record: SRC SETUP on its row, on a track it owns (0: stock's, the backing\n * pool's setup). A base without the flag reads its first 80 bytes, the machine. */\nstruct modwerk_machine_setup {\n struct modwerk_machine machine; /* its flags have MODWERK_MACHINE_SETUP_PAGE */\n uint32_t (*page)(uint32_t stock); /* the page the drawer shows instead of stock's */\n unsigned (*knob)(unsigned index, int delta); /* encoder A-F (0-5) turned: nonzero takes it, 0 lets stock edit the pool's slot */\n};\n#define MODWERK_MACHINE_START 256u /* requires its separate versioned START record */\n#define MODWERK_MACHINE_NATIVE_FLEX 512u /* render consumes the native FLEX voice; requires START and its own translating render */", "when": "the machine chooser, SRC SETUP, the page resolver, the Part validator, the UI tick, pool navigation and the FLEX renderer ask the contributed machines, in row order: chooser rows 5 on", "context": "the UI task and the audio render (render only): short, no firmware call that can block", - "contract": "Contribute one struct modwerk_machine (every field but abi, sig and label optional, 0). A Part keeps its signature when the machine is absent and reads as stock. Leaving a PROTECT machine that has no assign of its own puts stock's FLEX defaults back in both Part copies before the signature goes. A priced machine (source_kind) is charged on its track's core before the track becomes it, and every owned track at each UI tick; a track the core cannot carry renders stock's silent source. Removal is refused while a Part, a UI root or a paused task still holds the machine. A SETUP_PAGE machine contributes a struct modwerk_machine_setup (88 bytes): while SRC SETUP's cursor is on its row and the current track is its own, the drawer shows the page its page function returns and encoders A-F go to its knob function before stock edits the backing pool's setup; a base without the flag ignores it and reads 80 bytes, so the machine keeps stock's setup there. A NATIVE_FLEX machine must contribute START and its own render callback. It keeps its native FLEX voice active while the base clears its retrig count; refused STARTs, unpaid owners and missing machines still stop it. Translate and restore custom controls around native START and render calls. Use a matching base: older bases ignore this flag and stop the voice.", + "contract": "Contribute one struct modwerk_machine (every field but abi, sig and label optional, 0). A Part keeps its signature when the machine is absent and reads as stock. Leaving a PROTECT machine that has no assign of its own puts stock's FLEX defaults back in both Part copies before the signature goes. A priced machine (source_kind) is charged on its track's core before the track becomes it, and every owned track at each UI tick; a track the core cannot carry renders stock's silent source. Removal is refused while a Part, a UI root or a paused task still holds the machine. A SETUP_PAGE machine contributes a struct modwerk_machine_setup (88 bytes): while SRC SETUP's cursor is on its row and the current track is its own, the drawer shows the page its page function returns and encoders A-F go to its knob function before stock edits the backing pool's setup; a base without the flag ignores it and reads 80 bytes, so the machine keeps stock's setup there. A NATIVE_FLEX machine must contribute START and its own render callback. It keeps its native FLEX voice active while the base clears its retrig count; refused STARTs, unpaid owners and missing machines still stop it. Translate and restore custom controls around native START and render calls. Use a matching base: older bases ignore this flag and stop the voice. A machine's module that does not subscribe ev_in_use rests while no track of any Part of the project, working or saved, is the machine (the base answers for it, HOOKS.md): its handlers leave the hooks that rest and its detours marked rests hold stock's bytes, its table records and setup stay. A RENDER_FLEX machine never rests. A track that names a resting machine renders stock's silent source until the module wakes, at the next UI tick or before a pick of it commits.", "order": "lower first, then module id: the chooser's row order. 10 POLY8, 20 Analog BD, 30 VECTOR, 40 FM Synth (the order of POLY8's shared controller); others 50-90.", "subscribers": [ { diff --git a/sdk/machines/octatrack/events.py b/sdk/machines/octatrack/events.py index 92a03cc666..a042c78640 100644 --- a/sdk/machines/octatrack/events.py +++ b/sdk/machines/octatrack/events.py @@ -24,6 +24,8 @@ loader writes the address into a zero word of its image at install, so no package is bound to one base build. A call event marked "rests" leaves out the handlers of a module that answers ev_in_use 0 (the loader's RUNTIME_SITE_EVENT_RESTS, loader.c rest_poll). +A table marked "judged" (one at most) names the modules the base answers ev_in_use for: a contributor that does not +subscribe ev_in_use rests when the base says no track uses it (RUNTIME_SITE_EVENT_JUDGED, modwerk_machine_in_use). Three kinds of hook (HOOKS.md): a `call` hook (the default) runs C handlers at its site; a `take` hook gives its site to one subscriber, whose detour-ABI entry @@ -83,6 +85,8 @@ def load(path=REGISTRY): raise ValueError('events.json: %s room is 1-128 subscribers' % name) if type(e.get('rests', False)) is not bool or (e.get('rests') and (kind != 'call' or e.get('site') is None)): raise ValueError('events.json: %s rests (true or false) only as a call event at a site' % name) + if type(e.get('judged', False)) is not bool or (e.get('judged') and kind != 'table'): + raise ValueError('events.json: %s judged (true or false) only as a table' % name) if kind == 'call' and e.get('site') is None: # raised by a module through modwerk_raise_, or asked by the base ("each") if e.get('length') or e['args'] or e['results'] not in ('or', 'each') or not re.fullmatch('ev_[a-z0-9_]+', name) or room is not None: raise ValueError('events.json: raised event %s needs the next hook index, no length, room or arguments, ' @@ -135,6 +139,8 @@ def load(path=REGISTRY): raise ValueError('events.json: a take event shares no site with call events') if sum(e.get('results') == 'each' for e in events) > 1: raise ValueError('events.json: one event the base asks each module (results "each"), at most') + if sum(bool(e.get('judged')) for e in events) > (1 if any(e.get('results') == 'each' for e in events) else 0): + raise ValueError('events.json: one judged table at most, and only beside the event the base asks each module') return dict(sites=sites, events=events, owned=owned) @@ -315,6 +321,7 @@ def loader(reg): tables = ', '.join('1' if e['kind'] == 'table' else '0' for e in reg['events']) rests = ', '.join('1' if e.get('rests') else '0' for e in reg['events']) asked = [e['index'] - FIRST for e in reg['events'] if e.get('results') == 'each'] + judged = [e['index'] - FIRST for e in reg['events'] if e.get('judged')] owned = reg['owned'] return ('/* SPDX-License-Identifier: GPL-3.0-or-later\n' ' * Generated by sdk/machines/octatrack/events.py from events.json: do not edit.\n' @@ -334,7 +341,9 @@ def loader(reg): '%s' '#endif\n') % (names, len(reg['events']), spans, room, tables, rests, ''.join('/* the event the base asks each module from the UI tick (loader.c rest_poll) */\n' - '#define RUNTIME_SITE_EVENT_IN_USE %du\n' % k for k in asked), calls, words, ', '.join(rows), len(owned), + '#define RUNTIME_SITE_EVENT_IN_USE %du\n' % k for k in asked) + + ''.join('/* the table whose contributors the base answers ev_in_use for (loader.c judged) */\n' + '#define RUNTIME_SITE_EVENT_JUDGED %du\n' % k for k in judged), calls, words, ', '.join(rows), len(owned), ', '.join('{%#010xu, %du, %du}' % (s['site'], s['length'], index(s['table'], reg) - FIRST) for s in owned) or '{0u, 0u, 0u}', ''.join('extern const unsigned char modwerk_raise_%s[];\n' % e['event'] for e in raised) + @@ -403,7 +412,11 @@ def markdown(reg): 'every hook whose kind says `rests`, so the frame interrupt never enters its code there; its other hooks\n' '(keys, pages, tables, project files) stay, so its setup still works. The base asks each module on its own\n' 'from the UI tick and puts it back, in its (order, module id) place, at the first nonzero answer. A module\n' - 'that does not subscribe never rests. Installing, replacing or removing a module wakes its position.\n' + 'that contributes a machine (`ot_machines`) and does not subscribe is answered for by the base: it rests while\n' + 'no track of any Part of the project, working or saved, is that machine, and wakes before a pick of it\n' + 'commits. So is a module with a DSP effect: it rests while no slot of the project names its effect id and no\n' + 'live slot runs it, and wakes before a pick of it is written. Any other module that does not subscribe never\n' + 'rests. Installing, replacing or removing a module wakes its position.\n' 'A module can let its own detours rest too: `"rests": ["0x…"]` in its runtime.json names them, and while it\n' 'answers 0 the base puts stock\'s bytes back there, then its patch at the next nonzero answer (never under a\n' 'paused task\'s resume address). Stock runs those sites unpatched until the next UI tick wakes the module, so\n' diff --git a/sdk/machines/octatrack/include/modwerk_events.h b/sdk/machines/octatrack/include/modwerk_events.h index 5fa677e0c5..0d1b3c4885 100644 --- a/sdk/machines/octatrack/include/modwerk_events.h +++ b/sdk/machines/octatrack/include/modwerk_events.h @@ -95,7 +95,7 @@ typedef unsigned modwerk_ev_mute_keep(void); /* ev_project_write (0x400888aa, take: subscribe a struct modwerk_take): the project writer writes the settings lines. A task (UI, MIDI or project file): short, no firmware call that can block. The taker's entry gets every register and the stack as at the site and replays what the site held (the stock tail below) before it returns to stock; it must not jump into the site's bytes. */ #define MODWERK_EV_PROJECT_WRITE 27 -/* ot_machines (table, contribute {"to": "ot_machines", "order", "data"}): the machine chooser, SRC SETUP, the page resolver, the Part validator, the UI tick, pool navigation and the FLEX renderer ask the contributed machines, in row order: chooser rows 5 on. The UI task and the audio render (render only): short, no firmware call that can block. Contribute one struct modwerk_machine (every field but abi, sig and label optional, 0). A Part keeps its signature when the machine is absent and reads as stock. Leaving a PROTECT machine that has no assign of its own puts stock's FLEX defaults back in both Part copies before the signature goes. A priced machine (source_kind) is charged on its track's core before the track becomes it, and every owned track at each UI tick; a track the core cannot carry renders stock's silent source. Removal is refused while a Part, a UI root or a paused task still holds the machine. A SETUP_PAGE machine contributes a struct modwerk_machine_setup (88 bytes): while SRC SETUP's cursor is on its row and the current track is its own, the drawer shows the page its page function returns and encoders A-F go to its knob function before stock edits the backing pool's setup; a base without the flag ignores it and reads 80 bytes, so the machine keeps stock's setup there. A NATIVE_FLEX machine must contribute START and its own render callback. It keeps its native FLEX voice active while the base clears its retrig count; refused STARTs, unpaid owners and missing machines still stop it. Translate and restore custom controls around native START and render calls. Use a matching base: older bases ignore this flag and stop the voice. */ +/* ot_machines (table, contribute {"to": "ot_machines", "order", "data"}): the machine chooser, SRC SETUP, the page resolver, the Part validator, the UI tick, pool navigation and the FLEX renderer ask the contributed machines, in row order: chooser rows 5 on. The UI task and the audio render (render only): short, no firmware call that can block. Contribute one struct modwerk_machine (every field but abi, sig and label optional, 0). A Part keeps its signature when the machine is absent and reads as stock. Leaving a PROTECT machine that has no assign of its own puts stock's FLEX defaults back in both Part copies before the signature goes. A priced machine (source_kind) is charged on its track's core before the track becomes it, and every owned track at each UI tick; a track the core cannot carry renders stock's silent source. Removal is refused while a Part, a UI root or a paused task still holds the machine. A SETUP_PAGE machine contributes a struct modwerk_machine_setup (88 bytes): while SRC SETUP's cursor is on its row and the current track is its own, the drawer shows the page its page function returns and encoders A-F go to its knob function before stock edits the backing pool's setup; a base without the flag ignores it and reads 80 bytes, so the machine keeps stock's setup there. A NATIVE_FLEX machine must contribute START and its own render callback. It keeps its native FLEX voice active while the base clears its retrig count; refused STARTs, unpaid owners and missing machines still stop it. Translate and restore custom controls around native START and render calls. Use a matching base: older bases ignore this flag and stop the voice. A machine's module that does not subscribe ev_in_use rests while no track of any Part of the project, working or saved, is the machine (the base answers for it, HOOKS.md): its handlers leave the hooks that rest and its detours marked rests hold stock's bytes, its table records and setup stay. A RENDER_FLEX machine never rests. A track that names a resting machine renders stock's silent source until the module wakes, at the next UI tick or before a pick of it commits. */ #define MODWERK_OT_MACHINES 28 struct modwerk_machine { uint32_t abi; /* MODWERK_MACHINE_ABI */ diff --git a/sdk/machines/octatrack/module-adapters/candidate-recipes.json b/sdk/machines/octatrack/module-adapters/candidate-recipes.json index 9a0c7a48b8..92f60138c2 100644 --- a/sdk/machines/octatrack/module-adapters/candidate-recipes.json +++ b/sdk/machines/octatrack/module-adapters/candidate-recipes.json @@ -40,7 +40,7 @@ "sdk/machines/octatrack/module-adapters/runtime_tables.py": "113fc8cd2b33815794576667ddf9afbea3d4dff13ad4cb1227d5f891b1fb0dad", "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", "sdk/machines/octatrack/module-adapters/standalone_runtime.py": "3a7559a330ae4f031c7c47b7cb67f679cd7fb4e4f2aa69f2e3971940be4c46ae", - "sdk/runtime/loader/build.py": "19ecbaceb05e1c6d5b1baf7afad49c1aa52e29da996786c53eee738c27ec5f32", + "sdk/runtime/loader/build.py": "b2112bcc6334db4e043d69ccf19af7c22a5f78e07229b5481c47ab587d7132eb", "sdk/machines/octatrack/elekloader/module_packages.py": "f64bea6c533ece2448275c20b07893dca5d9ba34d6375be8dd75965bbbf6a701", "scripts/runtime_private_paths.py": "5228d96de2fdfaedc4a91af710f017fcb9d8087e528759dc08acc9a8b2fb51d3", "upstream/elekloader/link.py": "5d31157ccbe62807ff9f05fd47e1e55b54be0475ab53565e6607a56566603ba8", @@ -144,7 +144,7 @@ "sdk/machines/octatrack/module-adapters/runtime_tables.py": "113fc8cd2b33815794576667ddf9afbea3d4dff13ad4cb1227d5f891b1fb0dad", "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", "sdk/machines/octatrack/module-adapters/standalone_runtime.py": "3a7559a330ae4f031c7c47b7cb67f679cd7fb4e4f2aa69f2e3971940be4c46ae", - "sdk/runtime/loader/build.py": "19ecbaceb05e1c6d5b1baf7afad49c1aa52e29da996786c53eee738c27ec5f32", + "sdk/runtime/loader/build.py": "b2112bcc6334db4e043d69ccf19af7c22a5f78e07229b5481c47ab587d7132eb", "sdk/machines/octatrack/elekloader/module_packages.py": "f64bea6c533ece2448275c20b07893dca5d9ba34d6375be8dd75965bbbf6a701", "scripts/runtime_private_paths.py": "5228d96de2fdfaedc4a91af710f017fcb9d8087e528759dc08acc9a8b2fb51d3", "upstream/elekloader/link.py": "5d31157ccbe62807ff9f05fd47e1e55b54be0475ab53565e6607a56566603ba8", diff --git a/sdk/machines/octatrack/module-adapters/controller-policies.json b/sdk/machines/octatrack/module-adapters/controller-policies.json index b7de013c01..981992eda1 100644 --- a/sdk/machines/octatrack/module-adapters/controller-policies.json +++ b/sdk/machines/octatrack/module-adapters/controller-policies.json @@ -79,7 +79,7 @@ "module": "analog-bassdrum", "moduleId": 2883261509, "controllerSha256": "1d7057407595fc5b1c6a853d6cce2b24de5b8673ec345a5e1cea96a5d2557c99", - "sourcePolicySha256": "de01b055720964e15ef927d224c4bc63bd93e75bc8062d5a76248a914f22b30a", + "sourcePolicySha256": "55efebb66f9497e4d1b86a2d51f7ea2c80a8d166bb6938591dbb48f78cff5721", "revisions": [ 1, 1, diff --git a/sdk/machines/octatrack/module-adapters/machine-recipes.json b/sdk/machines/octatrack/module-adapters/machine-recipes.json index 5c00a118c9..52c26c312a 100644 --- a/sdk/machines/octatrack/module-adapters/machine-recipes.json +++ b/sdk/machines/octatrack/module-adapters/machine-recipes.json @@ -7,12 +7,12 @@ "imageSha256": "41cf5734b326df967f15d681e5eeae3b069982e948701f5a4723eb6798d6c93f", "sources": { "sdk/machines/octatrack/module-adapters/machine-ports.json": "51d8b17b8d1ce439d1e2d586f04643711c239bd3314e099451cb5cd626711482", - "sdk/machines/octatrack/module-adapters/machine_ports.py": "33008cae84a361d9a6597f1aff060c2ad049120158188dc44a25c19345e49da7", + "sdk/machines/octatrack/module-adapters/machine_ports.py": "1dad4f96bf9a6ed616a7817499826dafcec2bf8c27f34372f4b7d0065d665b65", "sdk/octabam/modules/poly8/manifest.py": "f8759dbcbb246b247c195e61f0c0464fd0cdc0dd40b68dd8f74c03b46c584afc", "sdk/octabam/modules/poly8/polyphony.s": "ffc66cf1f16f7b078595e4df34d647a6e6ab561ec112cfd525f7e8796158777a", "sdk/octabam/modules/poly8/registration.s": "9bd549a03c7008d45e5ffcd647375ed5ea7507845857f68c407bb247edd942ae", "sdk/octabam/modules/poly8/shared-machine.s": "3148a219ca0a1cdf5b1a20c64ff4da564b1078f599a2ceb08b15f6c10e908923", - "sdk/runtime/loader/build.py": "19ecbaceb05e1c6d5b1baf7afad49c1aa52e29da996786c53eee738c27ec5f32" + "sdk/runtime/loader/build.py": "b2112bcc6334db4e043d69ccf19af7c22a5f78e07229b5481c47ab587d7132eb" }, "copies": [ { @@ -58,7 +58,7 @@ "imageSha256": "13047ca2595493c2389ad2265f39f8c04287f5c9021991197a5fded08faf75d0", "sources": { "sdk/machines/octatrack/module-adapters/machine-ports.json": "51d8b17b8d1ce439d1e2d586f04643711c239bd3314e099451cb5cd626711482", - "sdk/machines/octatrack/module-adapters/machine_ports.py": "33008cae84a361d9a6597f1aff060c2ad049120158188dc44a25c19345e49da7", + "sdk/machines/octatrack/module-adapters/machine_ports.py": "1dad4f96bf9a6ed616a7817499826dafcec2bf8c27f34372f4b7d0065d665b65", "sdk/machines/octatrack/module-adapters/quantizer_runtime.py": "61425221199f37adf4be1e8b9c5bb1346067c8f56540a9a15047b400ed84a1aa", "sdk/octabam/modules/quantizer/manifest.py": "e0841437a471b000b448ce8417c8fd25cba1cf155aec488d08d2888f4c249394", "sdk/octabam/modules/quantizer/upstream/quantizer/core.s": "655bf8cb893ecbe8ec167633322491ae89fdf498c818e172ad6ba34c3fc992c8", @@ -68,7 +68,7 @@ "sdk/octabam/modules/quantizer/upstream/quantizer/quantizer.s": "6883dce6058cfc42eca1cb4c51a1d7d2318579a5adb5e84ae4202d7570c26abb", "sdk/octabam/modules/quantizer/upstream/quantizer/scale.s": "82242c407847ac61a6f60fe15bdc5b0b4fc852bac82c39745b5c838ec9389c64", "sdk/octabam/modules/quantizer/upstream/quantizer/stock_guard.py": "5f1fe08ef5a4eb05cd772c9b65ee9f54c2371914a8360c8589109a9ce4308c2d", - "sdk/runtime/loader/build.py": "19ecbaceb05e1c6d5b1baf7afad49c1aa52e29da996786c53eee738c27ec5f32" + "sdk/runtime/loader/build.py": "b2112bcc6334db4e043d69ccf19af7c22a5f78e07229b5481c47ab587d7132eb" }, "copies": [ { @@ -122,7 +122,7 @@ "sources": { "sdk/machines/octatrack/module-adapters/fm_runtime.py": "ecf39c395bd8231d1dda340e1c6bc26e8473ba548cfa422f9a4ae4ff2bd6807e", "sdk/machines/octatrack/module-adapters/machine-ports.json": "51d8b17b8d1ce439d1e2d586f04643711c239bd3314e099451cb5cd626711482", - "sdk/machines/octatrack/module-adapters/machine_ports.py": "33008cae84a361d9a6597f1aff060c2ad049120158188dc44a25c19345e49da7", + "sdk/machines/octatrack/module-adapters/machine_ports.py": "1dad4f96bf9a6ed616a7817499826dafcec2bf8c27f34372f4b7d0065d665b65", "sdk/octabam/modules/synth/machine.s": "de9d849bf0b6e5d5ad747df32ae5806e7f9516674a14ac74b1c15d73d30d280a", "sdk/octabam/modules/synth/manifest.py": "7854330aca001d2841de2fb384f0ca8adb7497db49dacc56da2815c1f444c0e6", "sdk/octabam/modules/synth/registration.s": "d04e47d6d21287ea969e4d39d0fea8c90b262a577081ba8376915f96cd2d9d2d", @@ -134,7 +134,7 @@ "sdk/octabam/modules/synth/upstream/synth/manifest.py": "786154c440d71f372abb49f527d345d5d6d74e96959a4af2f3ce248683753314", "sdk/octabam/modules/synth/upstream/synth/page.s": "25e2a0624fcc30ee3a8db5966954113119fb5942855042f765e664a2f8544a70", "sdk/octabam/modules/synth/upstream/synth/poly.s": "bdc2a328672a68b144da4f35ea84cc8b876b63a39abf118dad443d47d15a9ba9", - "sdk/runtime/loader/build.py": "19ecbaceb05e1c6d5b1baf7afad49c1aa52e29da996786c53eee738c27ec5f32" + "sdk/runtime/loader/build.py": "b2112bcc6334db4e043d69ccf19af7c22a5f78e07229b5481c47ab587d7132eb" }, "copies": [ { @@ -418,11 +418,11 @@ "imageSha256": "d6e2ae5323020dd735ea5de6a25a86e4951e4bbb10b6a33ccdef092d2fcc3253", "sources": { "sdk/machines/octatrack/module-adapters/machine-ports.json": "51d8b17b8d1ce439d1e2d586f04643711c239bd3314e099451cb5cd626711482", - "sdk/machines/octatrack/module-adapters/machine_ports.py": "33008cae84a361d9a6597f1aff060c2ad049120158188dc44a25c19345e49da7", + "sdk/machines/octatrack/module-adapters/machine_ports.py": "1dad4f96bf9a6ed616a7817499826dafcec2bf8c27f34372f4b7d0065d665b65", "sdk/machines/octatrack/module-adapters/vector_runtime.py": "9762e82e0c9f06dc8989139fa7cd91f07a40e59aadc1c823cd9e4f68953934a7", "sdk/octabam/modules/vector/control.s": "4ea4778c545453ce37b2a106438b7a24460705295bef8ff7f9ab500787068bc0", "sdk/octabam/modules/vector/manifest.py": "4d921f24256038797a99671534885b0bb9a27eaa79261b11136cf0a95a75af21", - "sdk/runtime/loader/build.py": "19ecbaceb05e1c6d5b1baf7afad49c1aa52e29da996786c53eee738c27ec5f32" + "sdk/runtime/loader/build.py": "b2112bcc6334db4e043d69ccf19af7c22a5f78e07229b5481c47ab587d7132eb" }, "copies": [ { @@ -498,13 +498,13 @@ "sdk/machines/octatrack/module-adapters/analog_bd_runtime.py": "b9c0e0f96632a0d0ab5283387edaae1b604e4e82e27e26b3fdc1666867d31daf", "sdk/machines/octatrack/module-adapters/analog_bd_write_lease.py": "3e6a3766f32176e9be69627ef2b71272970f2d02a2088e77673946b640d365c7", "sdk/machines/octatrack/module-adapters/machine-ports.json": "51d8b17b8d1ce439d1e2d586f04643711c239bd3314e099451cb5cd626711482", - "sdk/machines/octatrack/module-adapters/machine_ports.py": "33008cae84a361d9a6597f1aff060c2ad049120158188dc44a25c19345e49da7", + "sdk/machines/octatrack/module-adapters/machine_ports.py": "1dad4f96bf9a6ed616a7817499826dafcec2bf8c27f34372f4b7d0065d665b65", "sdk/machines/octatrack/module-adapters/stock_hook_write_lease.h": "ab14679a5faae84ef47d1ca37e46b3171da45252d12310e0b4458228be8334be", "sdk/octabam/modules/analog-bassdrum/control.s": "463dacf528e4996c7f21e97533391583329a2e3aabda95c87b7cd020dee7adb6", "sdk/octabam/modules/analog-bassdrum/engine.s": "a6ff5f2fe90dbe5570512bbe54dede4c8c8f86c4ef4656fce4c57a9b600c4805", "sdk/octabam/modules/analog-bassdrum/machine.s": "a33e4d36da6a14e7e856c7c7088be2820a40c7fb7014917983c729931eed55a3", "sdk/octabam/modules/analog-bassdrum/manifest.py": "20fa1f744630354b3986a3ad82ac6a41744345796dc783891a4c9f0bd81c787e", - "sdk/runtime/loader/build.py": "19ecbaceb05e1c6d5b1baf7afad49c1aa52e29da996786c53eee738c27ec5f32" + "sdk/runtime/loader/build.py": "b2112bcc6334db4e043d69ccf19af7c22a5f78e07229b5481c47ab587d7132eb" }, "copies": [ { diff --git a/sdk/machines/octatrack/module-adapters/machine_admission_runtime.c b/sdk/machines/octatrack/module-adapters/machine_admission_runtime.c index 1f8f38f8de..3ff12a3313 100644 --- a/sdk/machines/octatrack/module-adapters/machine_admission_runtime.c +++ b/sdk/machines/octatrack/module-adapters/machine_admission_runtime.c @@ -74,8 +74,7 @@ int modwerk_machine_metadata_admit(const struct runtime_dsp *from,struct runtime #ifdef MODWERK_RUNTIME_UI_ROOTS /* Any module may open a window or push a key layer whose callbacks run its code (the Tuner's UP + TEMPO * window). Before its image is retired (removed, replaced or undone), the stock UI roots must not name any - * of its allocation, code, data or BSS: refused while they do. Contributed machines keep their reviewed - * check above (machine_contributor_admission). */ + * of its allocation, code, data or BSS: refused while they do. Contributed machines run their UI and Part checks below. */ if(from->present && from->image_bytes && from->image!=to->image) { uint32_t lo=MW_IMAGE_ADDRESS(from->image),hi=lo+from->image_bytes; struct runtime_owner owner; @@ -94,7 +93,14 @@ int modwerk_machine_metadata_admit(const struct runtime_dsp *from,struct runtime uint32_t bank=*(volatile uint32_t *)(uintptr_t)0x46c82456u; if(contributor) { to->foreign_roots=0; - int why=machine_contributor_admission(from,to,board_read,0,bank,operation); + /* VECTOR owns a stock key definition. Its original handler is restored by + * the switch, while cached callbacks and all Part copies remain live roots. */ +#ifdef MODWERK_RUNTIME_UI_ROOTS + machine_memory_read read_ui=ui_read_after; +#else + machine_memory_read read_ui=board_read; +#endif + int why=machine_contributor_admission(from,to,read_ui,board_read,(void *)from->image,bank,operation); if(why) return why; if(!((from->flags|to->flags)&RUNTIME_GROUP_METADATA) && !family) return RUNTIME_OK; } diff --git a/sdk/machines/octatrack/module-adapters/machine_contributors.c b/sdk/machines/octatrack/module-adapters/machine_contributors.c index b8d919a3e9..b7e1f24ad9 100644 --- a/sdk/machines/octatrack/module-adapters/machine_contributors.c +++ b/sdk/machines/octatrack/module-adapters/machine_contributors.c @@ -96,12 +96,12 @@ const struct machine_retirement *machine_retirement(const uint8_t *record) struct reader { machine_memory_read read; void *context; }; static int part_read(void *opaque, uint32_t at, uint8_t *out, unsigned n) { struct reader *r = opaque; return r->read(r->context, at, out, n); } -int machine_contributor_admission(const struct runtime_dsp *from, struct runtime_dsp *to, machine_memory_read read, void *context, - uint32_t bank, unsigned operation) +int machine_contributor_admission(const struct runtime_dsp *from, struct runtime_dsp *to, + machine_memory_read read_ui, machine_memory_read read_part, void *context, uint32_t bank, unsigned operation) { const uint8_t *old = machine_contribution(from), *next = machine_contribution(to); if (old && !same_machine(old, next)) { - if (from->image_bytes && machine_ui_lifetime(read, context, MW_IMAGE_ADDRESS(from->image), + if (from->image_bytes && machine_ui_lifetime(read_ui, context, MW_IMAGE_ADDRESS(from->image), MW_IMAGE_ADDRESS(from->image) + from->image_bytes) != MACHINE_CLEAR) return RUNTIME_IN_USE; const struct machine_retirement *r = machine_retirement(old); @@ -110,7 +110,7 @@ int machine_contributor_admission(const struct runtime_dsp *from, struct runtime if (result != MACHINE_RETIRE_CLEAR && !(operation != RUNTIME_METADATA_SWITCH && result == MACHINE_RETIRE_PLANNED)) return RUNTIME_IN_USE; } else { - struct reader reader = {read, context}; + struct reader reader = {read_part, context}; if (machine_part_signature(part_read, &reader, bank, old + 4, old[6], old[7]) != MACHINE_PART_CLEAR) return RUNTIME_IN_USE; } } diff --git a/sdk/machines/octatrack/module-adapters/machine_contributors.h b/sdk/machines/octatrack/module-adapters/machine_contributors.h index 5d62011b4f..04957072b0 100644 --- a/sdk/machines/octatrack/module-adapters/machine_contributors.h +++ b/sdk/machines/octatrack/module-adapters/machine_contributors.h @@ -16,7 +16,7 @@ const uint8_t *machine_contribution(const struct runtime_dsp *); int machine_contributor_validate(const struct runtime_dsp *, unsigned operation); const struct machine_retirement *machine_retirement(const uint8_t *record); /* Machine lock held. RUNTIME_OK, RUNTIME_IN_USE while the leaving machine is still held; sets to->foreign_roots - * for a contributor. */ -int machine_contributor_admission(const struct runtime_dsp *from, struct runtime_dsp *to, machine_memory_read, void *, - uint32_t bank, unsigned operation); + * for a contributor. read_ui sees the outgoing sites as restored. read_part sees live Part data. */ +int machine_contributor_admission(const struct runtime_dsp *from, struct runtime_dsp *to, + machine_memory_read read_ui, machine_memory_read read_part, void *context, uint32_t bank, unsigned operation); #endif diff --git a/sdk/machines/octatrack/module-adapters/machine_ports.py b/sdk/machines/octatrack/module-adapters/machine_ports.py index b9e5165b78..d9572694f7 100644 --- a/sdk/machines/octatrack/module-adapters/machine_ports.py +++ b/sdk/machines/octatrack/module-adapters/machine_ports.py @@ -77,6 +77,15 @@ def declaration(name, folder=None, path=PORTS): raise ValueError('%s: its runtime.json and its machine port both subscribe to %s' % (name, e['event'])) doc['subscribe'] += entry.get('subscribe', []) doc['contribute'] += entry.get('contribute', []) + # Detours that rest with the module: from its runtime.json and its port. A machine (a contribution to a table the + # base judges, ot_machines) needs no ev_in_use of its own: the base answers for it (HOOKS.md). + rests = list((own or {}).get('rests', [])) + list((entry or {}).get('rests', [])) + if rests: + judged = _builder().judged_tables() + if len(set(rests)) != len(rests) or not all(isinstance(a, str) and a.startswith('0x') for a in rests) or not ( + any(e.get('event') == 'ev_in_use' for e in doc['subscribe']) or any(c.get('to') in judged for c in doc['contribute'])): + raise ValueError('%s: "rests" names its own detours once each, beside ev_in_use or a machine contribution' % name) + doc['rests'] = rests return doc diff --git a/sdk/machines/octatrack/module-adapters/standalone-recipes.json b/sdk/machines/octatrack/module-adapters/standalone-recipes.json index 84348240b7..efded44b92 100644 --- a/sdk/machines/octatrack/module-adapters/standalone-recipes.json +++ b/sdk/machines/octatrack/module-adapters/standalone-recipes.json @@ -41,7 +41,7 @@ "sdk/octabam/tools/remix/arena.py": "41c84bd9ab84873bf5f17adb42c4d895b679e0890fb79d120e61906b2f793d65", "sdk/octabam/tools/remix/compile_cache.py": "74d7d08cdbad8ebf6e56d8be7041c9603197b6f7b089962d8fccd880bb592504", "sdk/octabam/tools/remix/schema.py": "6843e02b1baf24572d77f9ecc9cac4c51644b48ca949d6eee6524408741b0fb3", - "sdk/runtime/loader/build.py": "19ecbaceb05e1c6d5b1baf7afad49c1aa52e29da996786c53eee738c27ec5f32", + "sdk/runtime/loader/build.py": "b2112bcc6334db4e043d69ccf19af7c22a5f78e07229b5481c47ab587d7132eb", "sdk/machines/octatrack/module-adapters/standalone_runtime.py": "b2841ad6c500e3f4731221267d86d032c92dacfa604ce9e9ab85f36cb6489af3", "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", "upstream/elekloader/link.py": "2d950474a5bd9d54e62747bfe7f9be30a37a7857df24cd9594e2198b912204f7", @@ -196,7 +196,7 @@ "sdk/octabam/tools/remix/arena.py": "41c84bd9ab84873bf5f17adb42c4d895b679e0890fb79d120e61906b2f793d65", "sdk/octabam/tools/remix/compile_cache.py": "74d7d08cdbad8ebf6e56d8be7041c9603197b6f7b089962d8fccd880bb592504", "sdk/octabam/tools/remix/schema.py": "6843e02b1baf24572d77f9ecc9cac4c51644b48ca949d6eee6524408741b0fb3", - "sdk/runtime/loader/build.py": "19ecbaceb05e1c6d5b1baf7afad49c1aa52e29da996786c53eee738c27ec5f32", + "sdk/runtime/loader/build.py": "b2112bcc6334db4e043d69ccf19af7c22a5f78e07229b5481c47ab587d7132eb", "sdk/machines/octatrack/module-adapters/standalone_runtime.py": "3a7559a330ae4f031c7c47b7cb67f679cd7fb4e4f2aa69f2e3971940be4c46ae", "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", "scripts/octatrack-module-page.mjs": "8faa5b3822f2de023a8cad593d863bea36ed9bbd4c6d3c48b77c02d5844b672c", @@ -397,7 +397,7 @@ "sdk/octabam/tools/remix/arena.py": "41c84bd9ab84873bf5f17adb42c4d895b679e0890fb79d120e61906b2f793d65", "sdk/octabam/tools/remix/compile_cache.py": "74d7d08cdbad8ebf6e56d8be7041c9603197b6f7b089962d8fccd880bb592504", "sdk/octabam/tools/remix/schema.py": "6843e02b1baf24572d77f9ecc9cac4c51644b48ca949d6eee6524408741b0fb3", - "sdk/runtime/loader/build.py": "19ecbaceb05e1c6d5b1baf7afad49c1aa52e29da996786c53eee738c27ec5f32", + "sdk/runtime/loader/build.py": "b2112bcc6334db4e043d69ccf19af7c22a5f78e07229b5481c47ab587d7132eb", "sdk/machines/octatrack/module-adapters/standalone_runtime.py": "3a7559a330ae4f031c7c47b7cb67f679cd7fb4e4f2aa69f2e3971940be4c46ae", "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", "scripts/octatrack-module-page.mjs": "8faa5b3822f2de023a8cad593d863bea36ed9bbd4c6d3c48b77c02d5844b672c", diff --git a/sdk/machines/octatrack/module-adapters/test_machine_contributors.c b/sdk/machines/octatrack/module-adapters/test_machine_contributors.c index 9279281223..2f19fc27a7 100644 --- a/sdk/machines/octatrack/module-adapters/test_machine_contributors.c +++ b/sdk/machines/octatrack/module-adapters/test_machine_contributors.c @@ -13,7 +13,9 @@ static unsigned failures; #define CHECK(x) do { if (!(x)) { failures++; fprintf(stderr, "%s:%d: %s\n", __FILE__, __LINE__, #x); } } while (0) #define BANK 0x40100000u static uint8_t bank[0x9504au + 4u * 6322u], sram[2][4u * 6322u], cache[1696]; -static uint32_t ui_root; /* a value planted in the key cache */ +#define LAYER 0x40500000u +#define DEFS (LAYER + 32u) +static uint8_t layer_root[4], layer[28], definitions[28]; static int unreadable; static int host_read(void *context, uint32_t at, void *out, uint32_t n) { @@ -26,7 +28,18 @@ static int host_read(void *context, uint32_t at, void *out, uint32_t n) if (at >= base && at - base + n <= sizeof sram[s]) { memcpy(to, sram[s] + (at - base), n); return 1; } } if (at >= 0x46c7d8deu && at - 0x46c7d8deu + n <= sizeof cache) { memcpy(to, cache + (at - 0x46c7d8deu), n); return 1; } - memset(to, 0, n); /* the layer root and anything else: empty */ + if (at == 0x460d165cu && n == 4u) { memcpy(to, layer_root, n); return 1; } + if (at == LAYER && n == sizeof layer) { memcpy(to, layer, n); return 1; } + if (at >= DEFS && at - DEFS + n <= sizeof definitions) { memcpy(to, definitions + (at - DEFS), n); return 1; } + memset(to, 0, n); + return 1; +} +/* The fixture owns exactly the first handler of one stock key definition. */ +static int after_ui(void *context, uint32_t at, void *out, uint32_t n) +{ + if (!host_read(context, at, out, n)) return 0; + for (unsigned i = 0; i < n; ++i) + if (at + i >= DEFS + 2 && at + i < DEFS + 6) ((uint8_t *)out)[i] = 0; return 1; } static int checks, retires, verdict_check, verdict_retire; @@ -143,44 +156,50 @@ int main(void) vec = package(image_v, 'S', '2', 0x52, 1), plain = package(image_v, 0, 0, 0x99, 0); CHECK(machine_contribution(&ab) == image_a + 64 && !machine_contribution(&plain) && !machine_contribution(&none)); /* Installing a machine marks its foreign roots; an ordinary package is untouched. */ - CHECK(machine_contributor_admission(&none, &vec, host_read, 0, BANK, RUNTIME_METADATA_PREPARE) == RUNTIME_OK && vec.foreign_roots); + CHECK(machine_contributor_admission(&none, &vec, after_ui, host_read, 0, BANK, RUNTIME_METADATA_PREPARE) == RUNTIME_OK && vec.foreign_roots); plain.foreign_roots = 0; - CHECK(machine_contributor_admission(&none, &plain, host_read, 0, BANK, RUNTIME_METADATA_PREPARE) == RUNTIME_OK && !plain.foreign_roots); + CHECK(machine_contributor_admission(&none, &plain, after_ui, host_read, 0, BANK, RUNTIME_METADATA_PREPARE) == RUNTIME_OK && !plain.foreign_roots); /* VECTOR leaves with no Part holding it; then with a saved SRAM Part holding S2/1: refused; unknown memory: refused. */ - CHECK(machine_contributor_admission(&vec, &none, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_OK); + CHECK(machine_contributor_admission(&vec, &none, after_ui, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_OK); sign(sram[1] + 2 * 6322u, 5, 'S', '2'); - CHECK(machine_contributor_admission(&vec, &none, host_read, 0, BANK, RUNTIME_METADATA_PREPARE) == RUNTIME_IN_USE); - CHECK(machine_contributor_admission(&vec, &plain, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_IN_USE); + CHECK(machine_contributor_admission(&vec, &none, after_ui, host_read, 0, BANK, RUNTIME_METADATA_PREPARE) == RUNTIME_IN_USE); + CHECK(machine_contributor_admission(&vec, &plain, after_ui, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_IN_USE); memset(sram[1], 0, sizeof sram[1]); unreadable = 1; - CHECK(machine_contributor_admission(&vec, &none, host_read, 0, BANK, RUNTIME_METADATA_PREPARE) == RUNTIME_IN_USE); + CHECK(machine_contributor_admission(&vec, &none, after_ui, host_read, 0, BANK, RUNTIME_METADATA_PREPARE) == RUNTIME_IN_USE); unreadable = 0; /* A replacement of the same machine is no departure: no Part or retirement check. */ sign(bank + 0x8ed80u, 2, 'A', 'B'); - CHECK(machine_contributor_admission(&ab, &ab2, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_OK && !retires && ab2.foreign_roots); + CHECK(machine_contributor_admission(&ab, &ab2, after_ui, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_OK && !retires && ab2.foreign_roots); /* Analog BD leaves through its base retirement: PREPARE checks (PLANNED admits, UNKNOWN refuses), SWITCH retires * (only CLEAR retires). The Part signature fallback is not used for it. */ verdict_check = MACHINE_RETIRE_PLANNED; - CHECK(machine_contributor_admission(&ab, &none, host_read, 0, BANK, RUNTIME_METADATA_PREPARE) == RUNTIME_OK && checks == 2); + CHECK(machine_contributor_admission(&ab, &none, after_ui, host_read, 0, BANK, RUNTIME_METADATA_PREPARE) == RUNTIME_OK && checks == 2); verdict_check = MACHINE_RETIRE_UNKNOWN; - CHECK(machine_contributor_admission(&ab, &none, host_read, 0, BANK, RUNTIME_METADATA_PREPARE) == RUNTIME_IN_USE); + CHECK(machine_contributor_admission(&ab, &none, after_ui, host_read, 0, BANK, RUNTIME_METADATA_PREPARE) == RUNTIME_IN_USE); verdict_retire = MACHINE_RETIRE_PARTIAL; - CHECK(machine_contributor_admission(&ab, &vec, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_IN_USE && retires == 1); + CHECK(machine_contributor_admission(&ab, &vec, after_ui, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_IN_USE && retires == 1); verdict_retire = MACHINE_RETIRE_PLANNED; - CHECK(machine_contributor_admission(&ab, &none, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_IN_USE); + CHECK(machine_contributor_admission(&ab, &none, after_ui, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_IN_USE); verdict_retire = MACHINE_RETIRE_CLEAR; - CHECK(machine_contributor_admission(&ab, &none, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_OK && retires == 3); + CHECK(machine_contributor_admission(&ab, &none, after_ui, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_OK && retires == 3); /* A base without the retirement (its check answers -1): the Part signature decides, as for any machine. */ verdict_check = -1; - CHECK(machine_contributor_admission(&ab, &none, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_IN_USE && retires == 3); + CHECK(machine_contributor_admission(&ab, &none, after_ui, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_IN_USE && retires == 3); memset(bank, 0, sizeof bank); - CHECK(machine_contributor_admission(&ab, &none, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_OK && retires == 3); + CHECK(machine_contributor_admission(&ab, &none, after_ui, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_OK && retires == 3); verdict_check = MACHINE_RETIRE_CLEAR; /* A stock UI root naming the leaving image refuses, before its retirement runs. */ cache[100] = 0x40, cache[101] = 0x20, cache[102] = 0x00, cache[103] = 0x10; /* inside Analog BD's image */ - CHECK(machine_contributor_admission(&ab, &none, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_IN_USE && retires == 3); - CHECK(machine_contributor_admission(&vec, &none, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_OK); - (void)ui_root; + CHECK(machine_contributor_admission(&ab, &none, after_ui, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_IN_USE && retires == 3); + CHECK(machine_contributor_admission(&vec, &none, after_ui, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_OK); + /* VECTOR's own handler disappears in the switch. A live copy in the key cache still refuses. */ + word(layer_root, LAYER); word(layer + 4, DEFS); definitions[26] = 0xff; + word(definitions + 2, unit_address(image_v) + 16); + CHECK(machine_contributor_admission(&vec, &none, host_read, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_IN_USE); + CHECK(machine_contributor_admission(&vec, &none, after_ui, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_OK); + word(cache + 100, unit_address(image_v) + 16); + CHECK(machine_contributor_admission(&vec, &none, after_ui, host_read, 0, BANK, RUNTIME_METADATA_SWITCH) == RUNTIME_IN_USE); if (failures) { fprintf(stderr, "%u contributor checks failed\n", failures); return 1; } puts("Machine contributors: records by hook offset, foreign roots, replacement, Part signature refusal, unknown memory, " "and the Analog BD retirement's check/retire verdicts passed."); diff --git a/sdk/runtime/loader/build.py b/sdk/runtime/loader/build.py index 10c1fe2c73..1e74b12d27 100644 --- a/sdk/runtime/loader/build.py +++ b/sdk/runtime/loader/build.py @@ -333,10 +333,22 @@ def site_events(): return module.load() +def judged_tables(): + """The tables whose contributors the base answers ev_in_use for ("judged" in events.json: the Octatrack's machines).""" + return {e['event'] for e in site_events()['events'] if e.get('judged')} + + +def port_judged(name): + """Whether module `name`'s machine port (machine-ports.json) contributes to a judged table: the base answers for it.""" + ports = HERE.parents[1] / 'machines/octatrack/module-adapters/machine-ports.json' + entry = json.loads(ports.read_text()).get('ports', {}).get(name, {}) if ports.is_file() else {} + return any(c.get('to') in judged_tables() for c in entry.get('contribute', [])) + + REST_FLAG = 0x80 # loader.h RUNTIME_SITE_RESTS: bit 7 of an ABI 7 site's length byte, the site rests with its module -def runtime_declaration(folder): +def runtime_declaration(folder, effect=False): """A module's runtime.json, or None: {"schema": 1, "subscribe": [{"event", "fn", "order", "replaces"}], "contribute": [{"to", "order", "data", "replaces"}], "raise": [event]}. With it the package subscribes or contributes (needs a base with those events and tables) and its units assemble with MODWERK_EVENTS defined. `replaces` names what @@ -345,7 +357,8 @@ def runtime_declaration(folder): event (module_tick, module_draw, module_key, module_enc) takes {"event", "fn"} alone. `raise` names events with no site that the module raises: its zero word raise_ receives the base's entry at install (RUNTIME_RAISE). `rests` lists 0x addresses of the module's own detours that rest with it: while it answers ev_in_use 0 the base - puts stock's bytes back there (HOOKS.md), so it must subscribe ev_in_use.""" + puts stock's bytes back there (HOOKS.md), so it must subscribe ev_in_use, or contribute a machine (a judged table: + the base answers for it).""" path = Path(folder) / 'runtime.json' if not path.is_file(): return None @@ -360,17 +373,19 @@ def runtime_declaration(folder): rests = doc.get('rests', []) if (doc.get('schema') != 1 or not {'schema'} < set(doc) <= {'schema', 'subscribe', 'contribute', 'raise', 'rests'} or not isinstance(doc.get('subscribe', []), list) or not isinstance(doc.get('contribute', []), list) - or not doc.get('subscribe', []) + doc.get('contribute', []) + or not (doc.get('subscribe', []) + doc.get('contribute', []) or (effect and rests)) or not all(entry(e) for e in doc.get('subscribe', [])) or not all(contribution(e) for e in doc.get('contribute', [])) or not isinstance(doc.get('raise', []), list) or not all(isinstance(e, str) for e in doc.get('raise', [])) or len(set(doc.get('raise', []))) != len(doc.get('raise', [])) or not isinstance(rests, list) or not all(isinstance(a, str) and re.fullmatch('0x[0-9a-fA-F]{8}', a) for a in rests) or len({int(a, 16) for a in rests}) != len(rests) - or (rests and not any(e.get('event') == 'ev_in_use' for e in doc.get('subscribe', [])))): + or (rests and not any(e.get('event') == 'ev_in_use' for e in doc.get('subscribe', [])) + and not any(c.get('to') in judged_tables() for c in doc.get('contribute', [])) + and not port_judged(Path(folder).name) and not effect)): raise ValueError('%s: {"schema": 1, "subscribe": [{"event", "fn", "order", "replaces"}], ' '"contribute": [{"to", "order", "data", "replaces"}], "raise": [event], "rests": ["0x…"] ' - '(with an ev_in_use subscription)}' % path) + '(with an ev_in_use subscription, or a contribution to a table the base judges: ot_machines)}' % path) doc.setdefault('subscribe', []) return doc @@ -535,7 +550,7 @@ def octabam_units(name, origin, cross, upstream, dsp=False, hooks=None): extra += ['hooks in stock DSP code'] if m.dsp and m.dsp.hooks else ['its DSP code (give --dsp)'] if m.dsp and not dsp else [] if extra or not m.linked: raise ValueError('%s needs what a runtime package cannot carry yet: %s' % (name, ', '.join(extra) or 'no ColdFire unit')) - declared = runtime_declaration(root / 'modules' / name) + declared = runtime_declaration(root / 'modules' / name, effect=bool(dsp)) if declared and hooks is None: raise ValueError(name + ' subscribes to site events (runtime.json): its caller must take its hook words.') with tempfile.TemporaryDirectory() as tmp: @@ -831,6 +846,12 @@ def pointer(symbol, addend=0): digest, checked = stock_digest(ref.expect.to_bytes(4, 'big')) sites.append((ref.addr, digest, pointer(ref.symbol, ref.addend), [0], 0, checked)) copies = [(symbols[c.symbol], c.span.address, c.span.length, stock_digest(c.span)[0]) for u in units for c in u.stock_copies] + # Detours that rest with the machine (its port's or runtime.json's "rests"): the base answers ev_in_use for a + # machine, so while no track of the project is it they hold stock's bytes (HOOKS.md). + rest = {int(a, 16) for a in machine_ports.declaration(m.name).get('rests', ())} + if rest - {d.site for d in m.detours}: + raise ValueError('%s: "rests" names only its own detours: %s' % (m.name, ', '.join('%#x' % a for a in sorted(rest - {d.site for d in m.detours})))) + sites = [s + (True,) if s[0] in rest else s for s in sites] unevented(sites, copies) if args.stock: check_stock(sites + [(address, digest, b'', [], 0, n) for _, address, n, digest in copies], args.stock, args.upstream) diff --git a/sdk/runtime/loader/loader.c b/sdk/runtime/loader/loader.c index a0b4f5e97f..4176fa0e2a 100644 --- a/sdk/runtime/loader/loader.c +++ b/sdk/runtime/loader/loader.c @@ -60,6 +60,13 @@ static struct { #else #define UI_ROOTS_CAPABILITY 0u #endif +/* 2048: the machine answers ev_in_use for the modules it judges (RUNTIME_SITE_EVENT_JUDGED), so such a module's sites may + * carry RUNTIME_SITE_RESTS without its own ev_in_use; an older base refuses that package as malformed. */ +#if RUNTIME_SITE_EVENTS && defined(RUNTIME_SITE_EVENT_IN_USE) && defined(RUNTIME_SITE_EVENT_JUDGED) +#define JUDGED_CAPABILITY 2048u +#else +#define JUDGED_CAPABILITY 0u +#endif int modwerk_runtime_set_busy(void) { return SET_ROWS != 0; } #ifndef MODWERK_RUNTIME_JOURNAL_EXTERNAL __attribute__((weak)) int modwerk_machine_journal_enabled(void) { return 0; } @@ -90,6 +97,8 @@ int modwerk_runtime_volatile_busy(void) { return journal.progress.phase != RJ_ID #ifndef MODWERK_RUNTIME_TABLES_EXTERNAL __attribute__((weak)) void modwerk_machine_tables_changed(void) {} #endif +/* A machine that judges no module keeps every module it would judge awake. */ +__attribute__((weak)) int modwerk_machine_in_use(const struct runtime_module *m) { (void)m; return 1; } #ifndef MODWERK_RUNTIME_REFERENCE_EXTERNAL __attribute__((weak)) uint32_t modwerk_machine_reference(uint32_t value) { return value; } @@ -160,7 +169,7 @@ unsigned modwerk_runtime_capabilities(uint8_t *out) { out[0] = 'M'; out[1] = 'W'; out[2] = 'C'; out[3] = 'P'; out[4] = 1; out[5] = RUNTIME_ABI; - unsigned flags = RUNTIME_CAPABILITY_FLAGS | (RUNTIME_SITE_EVENTS ? 128u : 0u) | SET_CAPABILITY | UI_ROOTS_CAPABILITY; + unsigned flags = RUNTIME_CAPABILITY_FLAGS | (RUNTIME_SITE_EVENTS ? 128u : 0u) | SET_CAPABILITY | UI_ROOTS_CAPABILITY | JUDGED_CAPABILITY; out[6] = (uint8_t)(flags >> 8); out[7] = (uint8_t)flags; out[8] = (uint8_t)(RUNTIME_SITES >> 8); out[9] = (uint8_t)RUNTIME_SITES; out[10] = (uint8_t)(RUNTIME_COPIES >> 8); out[11] = (uint8_t)RUNTIME_COPIES; @@ -283,17 +292,38 @@ static uintptr_t raise_of(uint32_t hook) { (void)hook; return 0; } #if RUNTIME_SITE_EVENTS && defined(RUNTIME_SITE_EVENT_IN_USE) /* A module rests until a track uses it (HOOKS.md): while its ev_in_use answers 0 its handlers stay out of the rows of * the events that rest, so the frame interrupt never enters its code there. Bit i of `resting`: position i rests; of - * `asks`: its module subscribes ev_in_use. Both change locked: a switch wakes its position, rest_poll the others. */ + * `asks`: its module subscribes ev_in_use, or the machine answers for it (judged). Both change locked: a switch wakes + * its position, rest_poll the others. */ static const uint8_t event_rests[RUNTIME_SITE_EVENTS] = RUNTIME_SITE_EVENT_RESTS; #define REST_WORDS ((RUNTIME_MODULES + 31u) / 32u) static uint32_t resting[REST_WORDS], asks[REST_WORDS]; static int is_resting(unsigned i) { return resting[i / 32u] >> (i % 32u) & 1u; } static int rests(unsigned e, unsigned i) { return event_rests[e - RUNTIME_EVENTS] && is_resting(i); } +/* A module that contributes to the table the machine judges (RUNTIME_SITE_EVENT_JUDGED: the Octatrack's track machines), + * or carries DSP code (an effect: the machine knows which slots name it), and does not answer ev_in_use itself: the + * machine knows when it is used, so it answers for it (modwerk_machine_in_use) and the module rests as if it had. */ +#ifdef RUNTIME_SITE_EVENT_JUDGED +static int judged(const struct runtime_module *m) +{ + return m && !m->hook[RUNTIME_EVENTS + RUNTIME_SITE_EVENT_IN_USE] && (m->hook[RUNTIME_EVENTS + RUNTIME_SITE_EVENT_JUDGED] || m->dsp.count); +} +#else +static int judged(const struct runtime_module *m) { (void)m; return 0; } +#endif static void woken(unsigned position, const struct runtime_module *m) { uint32_t bit = 1u << (position % 32u); resting[position / 32u] &= ~bit; - asks[position / 32u] = (asks[position / 32u] & ~bit) | (m && m->hook[RUNTIME_EVENTS + RUNTIME_SITE_EVENT_IN_USE] ? bit : 0u); + asks[position / 32u] = (asks[position / 32u] & ~bit) | (m && (m->hook[RUNTIME_EVENTS + RUNTIME_SITE_EVENT_IN_USE] || judged(m)) ? bit : 0u); +} +int modwerk_runtime_resting_at(uintptr_t address) +{ + for (unsigned w = 0; w < REST_WORDS; ++w) + for (uint32_t bits = resting[w], b = 0; bits; bits >>= 1, ++b) { + const struct runtime_module *m = bits & 1u ? live[32u * w + b] : 0; + if (m && address >= (uintptr_t)m && address - (uintptr_t)m < m->size) return 1; + } + return 0; } #else /* nothing rests: every subscriber is in every row, as before */ #if RUNTIME_SITE_EVENTS @@ -301,6 +331,7 @@ static int rests(unsigned e, unsigned i) { (void)e; (void)i; return 0; } #endif static void woken(unsigned position, const struct runtime_module *m) { (void)position; (void)m; } static int is_resting(unsigned i) { (void)i; return 0; } +int modwerk_runtime_resting_at(uintptr_t address) { (void)address; return 0; } #endif #ifdef MODWERK_CACHED_MODULES @@ -790,6 +821,9 @@ static int restore_to(unsigned position,struct runtime_module *to,const struct r #ifndef RUNTIME_ASK_IN_USE /* the host test answers for module code it cannot run */ #define RUNTIME_ASK_IN_USE(handler) ((unsigned (*)(void))(handler))() #endif +#ifndef RUNTIME_MACHINE_IN_USE /* the machine's answer for a module it judges (loader.h modwerk_machine_in_use) */ +#define RUNTIME_MACHINE_IN_USE(m) modwerk_machine_in_use(m) +#endif /* Locked: could a paused task resume part way through a row of the base's dispatch? Unknown counts as yes. */ static int dispatching(const struct runtime_context *context) { @@ -811,7 +845,7 @@ static int __attribute__((used)) rest_poll_context(const struct runtime_context for (unsigned i = 0; i < RUNTIME_MODULES; ++i) { const struct runtime_module *m = asks[i / 32u] >> (i % 32u) & 1u ? live[i] : 0; uintptr_t f = m ? m->hook[RUNTIME_EVENTS + RUNTIME_SITE_EVENT_IN_USE] : 0; - if (f && !RUNTIME_ASK_IN_USE(f)) want[i / 32u] |= 1u << (i % 32u); + if (f ? !RUNTIME_ASK_IN_USE(f) : judged(m) && !RUNTIME_MACHINE_IN_USE(m)) want[i / 32u] |= 1u << (i % 32u); } for (unsigned w = 0; w < REST_WORDS; ++w) differs |= want[w] ^ resting[w]; if (!differs) return 0; @@ -982,8 +1016,11 @@ static int __attribute__((used)) prepare_context(void *u, const uint8_t *data, u uint32_t n = abi >= 7u ? p[4] & ~RUNTIME_SITE_RESTS & 0xffu : be16(p + 4), keep = abi >= 7u ? p[5] : 0u, checked = abi >= 7u ? p[6] : n, r = abi >= 7u ? p[7] : be16(p + 6); #if RUNTIME_SITE_EVENTS && defined(RUNTIME_SITE_EVENT_IN_USE) - if (abi >= 7u && p[4] & RUNTIME_SITE_RESTS && hook[RUNTIME_EVENTS + RUNTIME_SITE_EVENT_IN_USE] == RUNTIME_NONE) - return refuse(RUNTIME_MALFORMED); /* a site rests only with a module that says when it is in use */ + if (abi >= 7u && p[4] & RUNTIME_SITE_RESTS && hook[RUNTIME_EVENTS + RUNTIME_SITE_EVENT_IN_USE] == RUNTIME_NONE +#ifdef RUNTIME_SITE_EVENT_JUDGED + && hook[RUNTIME_EVENTS + RUNTIME_SITE_EVENT_JUDGED] == RUNTIME_NONE && !dsp.count +#endif + ) return refuse(RUNTIME_MALFORMED); /* a site rests only with a module that says, or the machine knows, when it is in use */ #else if (abi >= 7u && p[4] & RUNTIME_SITE_RESTS) return refuse(RUNTIME_MALFORMED); #endif diff --git a/sdk/runtime/loader/loader.h b/sdk/runtime/loader/loader.h index de0b92fc1e..6a651019c7 100644 --- a/sdk/runtime/loader/loader.h +++ b/sdk/runtime/loader/loader.h @@ -201,11 +201,21 @@ extern uintptr_t volatile *const modwerk_runtime_event_row[RUNTIME_SITE_EVENTS]; extern const uint8_t modwerk_events_code[], modwerk_events_code_end[]; #ifdef RUNTIME_SITE_EVENT_IN_USE /* The machine's UI tick (a task, never an interrupt): asks each module that subscribes the event the base asks - * (RUNTIME_SITE_EVENT_IN_USE) and moves those answering 0 out of the rows of the events that rest - * (RUNTIME_SITE_EVENT_RESTS), and those answering nonzero back. 1 when the rows changed. */ + * (RUNTIME_SITE_EVENT_IN_USE), and the machine for each module it judges (modwerk_machine_in_use), and moves those + * answering 0 out of the rows of the events that rest (RUNTIME_SITE_EVENT_RESTS), and those answering nonzero back. + * 1 when the rows changed. A machine may call it from its own task when it needs a module awake at once. */ int modwerk_runtime_rest_poll(void); #endif #endif +/* The UI tick, unlocked (a task): whether module m, which contributes to the table the machine judges + * (RUNTIME_SITE_EVENT_JUDGED: the Octatrack's ot_machines) and does not subscribe ev_in_use itself, is in use. 0 rests + * it as an ev_in_use answer of 0 would: out of the resting events' rows, its resting sites on stock's bytes; nonzero + * wakes it. Asked at every rest poll, so keep it to a lookup. Weak: 1, nothing the machine judges ever rests. */ +int modwerk_machine_in_use(const struct runtime_module *m); +/* Masked or locked: whether the live module whose pool extent holds `address` (one of its records) rests now. A + * machine that judges modules reads it from modwerk_machine_tables_changed, which every change of the resting set + * calls. 0 without resting. */ +int modwerk_runtime_resting_at(uintptr_t address); void modwerk_machine_tables_changed(void); /* masked, after rows changed; weak no-op by default */ /* Masked: a site's bytes went back to stock (`patched` were its module's), so stock data that copied them can follow; * weak no-op by default. */ diff --git a/sdk/runtime/loader/tests/events/runtime_events.h b/sdk/runtime/loader/tests/events/runtime_events.h index caf14ebcb6..68130e57a8 100644 --- a/sdk/runtime/loader/tests/events/runtime_events.h +++ b/sdk/runtime/loader/tests/events/runtime_events.h @@ -11,6 +11,7 @@ #define RUNTIME_SITE_EVENT_TABLES { 0, 0, 0, 0, 1, 0, 0 } #define RUNTIME_SITE_EVENT_RESTS { 1, 1, 0, 0, 0, 0, 0 } #define RUNTIME_SITE_EVENT_IN_USE 6u +#define RUNTIME_SITE_EVENT_JUDGED 4u #define RUNTIME_SITE_EVENT_WORDS (5u * (RUNTIME_MODULES + 1u) + 6u) #define RUNTIME_SITE_EVENT_ROWS(r) { (r) + 0u * (RUNTIME_MODULES + 1u) + 0u, (r) + 1u * (RUNTIME_MODULES + 1u) + 0u, (r) + 2u * (RUNTIME_MODULES + 1u) + 0u, (r) + 3u * (RUNTIME_MODULES + 1u) + 0u, (r) + 3u * (RUNTIME_MODULES + 1u) + 3u, (r) + 3u * (RUNTIME_MODULES + 1u) + 6u, (r) + 4u * (RUNTIME_MODULES + 1u) + 6u } #define RUNTIME_OWNED_SITES 1u diff --git a/sdk/runtime/loader/tests/events_test.c b/sdk/runtime/loader/tests/events_test.c index 7e936ad8ae..8bd54e85a1 100644 --- a/sdk/runtime/loader/tests/events_test.c +++ b/sdk/runtime/loader/tests/events_test.c @@ -12,6 +12,9 @@ #include static unsigned host_in_use(uintptr_t handler); #define RUNTIME_ASK_IN_USE(handler) host_in_use(handler) +struct runtime_module; +static int host_machine_in_use(const struct runtime_module *m); +#define RUNTIME_MACHINE_IN_USE(m) host_machine_in_use(m) #include "../loader.c" #include "../../upload/sha256.c" #include @@ -142,6 +145,27 @@ static unsigned host_in_use(uintptr_t handler) CHECK(!"an ev_in_use handler of no live module"); return 1; } +/* The machine's answer for a module it judges (a contributor to table 4, RUNTIME_SITE_EVENT_JUDGED, without ev_in_use): + * machine_idle[id] answers 0. Never under the lock or masked; never asked for a module that answers itself. */ +static uint8_t machine_idle[256]; +static unsigned machine_asked; +static int host_machine_in_use(const struct runtime_module *m) +{ + CHECK(!locked && !masked && m && !m->hook[IN_USE] && m->hook[RUNTIME_EVENTS + RUNTIME_SITE_EVENT_JUDGED]); ++machine_asked; + return !machine_idle[m->id & 255u]; +} +/* A machine's module (a record in table 4, at image offset 4) with no ev_in_use, one 8-byte site at `address`. */ +static void judged_site(uint32_t id, uint32_t address, int rests, uint8_t variant) +{ + uint32_t hooks[RUNTIME_HOOKS]; + for (unsigned i = 0; i < RUNTIME_HOOKS; ++i) hooks[i] = RUNTIME_NONE; + hooks[RUNTIME_EVENTS + RUNTIME_SITE_EVENT_JUDGED] = 50u << 24 | 4u; + hooks[RUNTIME_EVENTS] = 50u << 24 | 8u; /* and a handler on resting event 0 */ + pkg(id, hooks, RUNTIME_HOOKS, 1, 0); + p[n - 64 + 40] = variant; /* another build of the same module */ + unsigned at = n; site8(address, 8, 8); + if (rests) p[at + 4] |= RUNTIME_SITE_RESTS; +} /* A module of `order` on the events in `on` (bit e: hook RUNTIME_EVENTS + e, its handler at offset 4 (e + 1)). */ static void on_events(uint32_t id, unsigned on, uint8_t order) { @@ -173,7 +197,7 @@ int main(void) memcpy(original, stock, sizeof stock); snapshot(); uint8_t capabilities[12]; - CHECK(modwerk_runtime_capabilities(capabilities) == 12u && be16(capabilities + 6) == (7u | 128u)); + CHECK(modwerk_runtime_capabilities(capabilities) == 12u && be16(capabilities + 6) == (7u | 128u | 2048u)); /* 2048: machines judged (RUNTIME_SITE_EVENT_JUDGED) */ /* Raw patches on an event's bytes are refused, naming the event, before memory is taken. */ uint32_t none[RUNTIME_HOOKS]; @@ -402,12 +426,54 @@ int main(void) idle[171] = 1; resting_site(171, AT, 0); CHECK(install() && !memcmp(stock + (AT - STOCK), live_id(171)->site[0].code, 8)); CHECK(modwerk_runtime_rest_poll() && !memcmp(stock + (AT - STOCK), live_id(171)->site[0].code, 8) && modwerk_runtime_intact() == 1); CHECK(removal(171) && !memcmp(stock + (AT - STOCK), bare, 8)); + /* Capability 2048 tells a host that a machine's module may carry resting sites without its own ev_in_use. */ + { uint8_t caps[12]; CHECK(modwerk_runtime_capabilities(caps) == 12u && ((unsigned)caps[6] << 8 | caps[7]) & 2048u); } + + /* A module the machine judges (a contributor to table 4, RUNTIME_SITE_EVENT_JUDGED: the Octatrack's machines) and + * no ev_in_use of its own rests by the machine's answer, with its resting sites, which admission accepts for it. + * A module that is neither is never asked and never rests. */ + enum { JUDGED = 1u << RUNTIME_SITE_EVENT_JUDGED }; + machine_asked = 0; asked = 0; + on_events(180, ALL | JUDGED, 30); CHECK(install()); + on_events(185, ALL, 40); CHECK(install()); + CHECK(!modwerk_runtime_rest_poll() && machine_asked == 1u && !asked); + CHECK(row_is(0, (const uint32_t[]){180, 185}, 2) && row_is(RUNTIME_SITE_EVENT_JUDGED, (const uint32_t[]){180}, 1)); + machine_idle[180] = 1; changed = tables_changed; + CHECK(modwerk_runtime_rest_poll() && tables_changed == changed + 1u); + CHECK(row_is(0, (const uint32_t[]){185}, 1) && row_is(1, (const uint32_t[]){185}, 1) && row_is(2, (const uint32_t[]){180, 185}, 2)); + CHECK(row_is(RUNTIME_SITE_EVENT_JUDGED, (const uint32_t[]){180}, 1)); /* its record stays in its table */ + CHECK(modwerk_runtime_resting_at((uintptr_t)live_id(180) + 8u) && !modwerk_runtime_resting_at((uintptr_t)live_id(185) + 8u)); + CHECK(!modwerk_runtime_resting_at((uintptr_t)live_id(180) + live_id(180)->size)); + machine_idle[180] = 0; CHECK(modwerk_runtime_rest_poll() && row_is(0, (const uint32_t[]){180, 185}, 2)); + CHECK(!modwerk_runtime_resting_at((uintptr_t)live_id(180) + 8u)); + CHECK(removal(180) && removal(185)); + /* Its resting site: stock's bytes while the machine says no track uses it. */ + judged_site(190, AT, 1, 0); CHECK(install()); + const struct runtime_module *j = live_id(190); + CHECK(j && j->site[0].rests && !memcmp(stock + (AT - STOCK), j->site[0].code, 8)); + machine_idle[190] = 1; CHECK(modwerk_runtime_rest_poll() && !memcmp(stock + (AT - STOCK), bare, 8) && row_is(0, 0, 0)); + CHECK(modwerk_runtime_intact() == 1 && !modwerk_runtime_broken()); + /* Undo with a resting module: a new build published (a trial) starts awake and patched; undone, the old one + * comes back awake and patched too, and rests again at the machine's next answer. */ + judged_site(190, AT, 1, 1); + CHECK(b->prepare(0, p, n) && b->publish(0) == MU_APPLIED && live_id(190) != j); + CHECK(!memcmp(stock + (AT - STOCK), live_id(190)->site[0].code, 8) && row_is(0, (const uint32_t[]){190}, 1)); + CHECK(b->restore(0) && live_id(190) == j && !memcmp(stock + (AT - STOCK), j->site[0].code, 8) && row_is(0, (const uint32_t[]){190}, 1)); + CHECK(modwerk_runtime_rest_poll() && !memcmp(stock + (AT - STOCK), bare, 8) && row_is(0, 0, 0)); + /* Undo of a trial whose module woke: the new build installed while the old rests, used (awake), undone. */ + machine_idle[190] = 0; judged_site(190, AT, 1, 2); + CHECK(b->prepare(0, p, n) && b->publish(0) == MU_APPLIED && !modwerk_runtime_rest_poll()); + CHECK(!memcmp(stock + (AT - STOCK), live_id(190)->site[0].code, 8)); + CHECK(b->restore(0) && live_id(190) == j && !memcmp(stock + (AT - STOCK), j->site[0].code, 8)); + CHECK(b->retire(0)); + machine_idle[190] = 1; CHECK(modwerk_runtime_rest_poll() && removal(190) && !memcmp(stock + (AT - STOCK), bare, 8)); + machine_idle[190] = 0; for (unsigned e = 0; e < RUNTIME_SITE_EVENTS; ++e) CHECK(row_is(e, 0, 0)); CHECK(!modwerk_runtime_active() && modwerk_runtime_free(0) == RUNTIME_POOL_BYTES); CHECK(!memcmp(stock, original, sizeof stock) && !rows_written_unmasked && !masked && !locked); if (failures) { fprintf(stderr, "%u event checks failed\n", failures); return 1; } puts("Site events: refusals naming the event, ordered rows in every install order, removal, replacement and " "restore, two events at one site, the paused-dispatch fence, groups, journal commit/rollback, take and table rooms, owned" - " table sites, contributor marks, a raised event's entry slot, modules resting by their ev_in_use answers and their resting sites passed."); + " table sites, contributor marks, a raised event's entry slot, modules resting by their ev_in_use answers, machines resting by the machine's answer, their resting sites and Undo passed."); return 0; } diff --git a/sdk/tests/test_octatrack_qualify.py b/sdk/tests/test_octatrack_qualify.py index a05900e615..10b22d653b 100644 --- a/sdk/tests/test_octatrack_qualify.py +++ b/sdk/tests/test_octatrack_qualify.py @@ -79,7 +79,7 @@ def test_the_entry_names_a_machine_and_its_render(self): modules=[dict(name='ACID 303', slot='SRC', machine=True, T1=reading, T5='refused')], together=dict(reading, placed=[], machines=['ACID 303', None])) entry = qualify.testing_entry(result, '2026-11-17') - self.assertIn('ACID 303 (machine) alone, playing: T1 core peak 610 per mille, CPU 520 per mille, its render 9.5 % of a frame, T5 refused', entry) + self.assertIn('ACID 303 (machine) alone, playing: T1 core peak 610 per mille, CPU 520 per mille, its render peak 9.5 % of a frame, T5 refused', entry) self.assertIn('All at once, playing (machines T1-T8: ACID 303, refused)', entry) @@ -96,12 +96,32 @@ def pick(self, track, row): order.append('back T%d' % (track + 1)); return row reading = dict(cpu=500, core1=300, core1_peak=400, core0=200, core0_peak=300) with mock.patch.object(qualify, 'send', side_effect=lambda s: order.append(s) if s.startswith('PLAY w5000') else ''), \ - mock.patch.object(qualify, 'meters', return_value=dict(reading)), mock.patch.object(qualify, 'renders', return_value=[1.0] * 8), \ + mock.patch.object(qualify, 'meters', side_effect=lambda n: dict(reading)), mock.patch.object(qualify, 'renders', return_value=[35.9] * 8), \ + mock.patch.object(qualify, 'EMULATOR', False), \ + mock.patch.object(qualify, 'audition_price', side_effect=[dict(quiet=20, triggered=31, added=11, price=12), + dict(quiet=20, triggered=33, added=13, price=12)]), \ mock.patch.object(qualify, 'part_copy', return_value=bytes(6322)), mock.patch.object(qualify, 'mem', return_value=b'\0'): failures = [] qualify.machine_alone(Rows(), dict(label='POLY8', price=0, voice=False), failures) self.assertEqual(order, ['place T1', 'back T1', 'PLAY w5000 STOP w500', 'place T5', 'back T5', 'PLAY w5000 STOP w500']) - self.assertEqual(failures, []) + self.assertEqual(failures, ['POLY8 on T5 added 13.0 points of mean frame time, over its 12 % CPU price']) + + def test_matched_auditions_use_the_guard_mean_and_stop_the_voice_on_failure(self): + quiet = 'frame max 39 %, in the frame interrupt 22.1 % over 16000 frames, skipped 0' + active = 'frame max 71 %, in the frame interrupt 31.4 % over 16600 frames, skipped 0' + def send(command): + return {'w6000 guard': quiet, 'guard': active, 'state': 'stopped'}.get(command, '') + with mock.patch.object(qualify, 'send', side_effect=send) as panel, \ + mock.patch.object(qualify.time, 'sleep'), mock.patch.object(qualify, 'renders', return_value=[35.9] * 8): + self.assertEqual(qualify.audition_price(1, 15), dict(quiet=22.1, triggered=31.4, added=9.3, price=15)) + self.assertEqual(panel.call_args, mock.call('T1+STOP w300')) + with mock.patch.object(qualify, 'renders', return_value=[0] * 8): + with self.assertRaisesRegex(ValueError, 'no guarded render'): + qualify.audition_price(5, 15) + self.assertEqual(panel.call_args, mock.call('T5+STOP w300')) + for reply in ('', 'in the frame interrupt 3.3 % over 0 frames'): + with self.assertRaisesRegex(ValueError, 'no frame mean'): + qualify.frame_mean(reply) def test_the_part_is_saved_before_the_run_and_must_stay_as_it_was(self): saved, sent = bytes(range(256)) * 24 + bytes(178), [] diff --git a/sdk/tests/test_runtime_loader.py b/sdk/tests/test_runtime_loader.py index 013ec6c774..8e1add6daf 100644 --- a/sdk/tests/test_runtime_loader.py +++ b/sdk/tests/test_runtime_loader.py @@ -213,6 +213,19 @@ def test_a_site_rests_only_as_a_declared_detour_of_a_module_that_answers_ev_in_u path.write_text(json.dumps(dict(schema=1, subscribe=sub + [{'event': 'ev_in_use', 'fn': 'u', 'order': 50}], rests=['0x4000406a']))) self.assertEqual(build.runtime_declaration(temp)['rests'], ['0x4000406a']) + # A machine needs no ev_in_use of its own: the base answers for a contributor to a judged table (ot_machines), + # in its runtime.json or in its machine port (POLY8's), and machine_ports.declaration carries the rests on. + path.write_text(json.dumps(dict(schema=1, contribute=[{'to': 'ot_machines', 'order': 50, 'data': 'm'}], rests=['0x4000406a']))) + self.assertEqual(build.runtime_declaration(temp)['rests'], ['0x4000406a']) + with tempfile.TemporaryDirectory() as temp: + folder = Path(temp) / 'poly8' + folder.mkdir() + (folder / 'runtime.json').write_text(json.dumps(dict(schema=1, subscribe=[{'event': 'ev_play_increment', 'fn': 'f', 'order': 20}], + rests=['0x40007978']))) + self.assertEqual(build.runtime_declaration(folder)['rests'], ['0x40007978']) + sys.path.insert(0, str(ROOT / 'sdk/machines/octatrack/module-adapters')) + import machine_ports + self.assertEqual(machine_ports.declaration('poly8', folder=folder)['rests'], ['0x40007978']) # The flag is bit 7 of the hashed site's length byte, and only there; the verifier reads the length without it. digest = hashlib.sha256(b'\0' * 8).digest() sites = [(0x4000406a, digest, b'\x4e\xf9\0\0\0\0\x4e\x71', [2], 0, 8, True), (0x4000409e, digest, b'\x4e\xf9\0\0\0\0\x4e\x71', [2], 0, 8)] diff --git a/sdk/zoom/modules/arrakis/LICENSE b/sdk/zoom/modules/arrakis/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/arrakis/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/arrakis/README.md b/sdk/zoom/modules/arrakis/README.md new file mode 100644 index 0000000000..9656ead94a --- /dev/null +++ b/sdk/zoom/modules/arrakis/README.md @@ -0,0 +1,38 @@ +# Arrakis + +## Overview + +A Dune-style detuned sub-octave drone: two subs beating against each other. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Detun | 63 | params[5]. Beat spread between the two detuned voices. Range 0–100. | +| Mix | 50 | params[6]. Dry/wet. Default 45 (not ~0) so the effect is AUDIBLE the moment a patch loads — custom effects read params as 0 until a knob is touched, so this default is the on-load value. Range 0–100. | + +## Usage + +Play a sustained single note and listen for the beating suboctave layer. + +### Quick tutorial + +1. Add Arrakis from the Delay group to a spare patch. +2. Play a sustained single note and listen for the beating suboctave layer. +3. Compare the effect with bypass using the footswitch. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/arrakis) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/arrakis/TESTING.md b/sdk/zoom/modules/arrakis/TESTING.md new file mode 100644 index 0000000000..00159de30f --- /dev/null +++ b/sdk/zoom/modules/arrakis/TESTING.md @@ -0,0 +1,9 @@ +# Arrakis 2.0.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. + +Arrakis.ZDL, 5,890 bytes, Delay 473, header 2.00, SHA-256 `5c7957d9d2970378439adcada6dc504dba07118597c70fb7370a13d257294a32`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/arrakis) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/arrakis/media/capture.json b/sdk/zoom/modules/arrakis/media/capture.json new file mode 100644 index 0000000000..d1fc874ed4 --- /dev/null +++ b/sdk/zoom/modules/arrakis/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "arrakis", + "moduleVersion": "2.0.0", + "imageSha256": "5c7957d9d2970378439adcada6dc504dba07118597c70fb7370a13d257294a32", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "a9f95f8e3d5fca1a83acc80423624ee80874ddefde49bc63f6b954a5bffa95d5", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/arrakis/media/cover.png b/sdk/zoom/modules/arrakis/media/cover.png new file mode 100644 index 0000000000..c9e1aa3e90 Binary files /dev/null and b/sdk/zoom/modules/arrakis/media/cover.png differ diff --git a/sdk/zoom/modules/arrakis/media/thumbnail.png b/sdk/zoom/modules/arrakis/media/thumbnail.png new file mode 100644 index 0000000000..edf6c7f919 Binary files /dev/null and b/sdk/zoom/modules/arrakis/media/thumbnail.png differ diff --git a/sdk/zoom/modules/arrakis/modwerk.module.json b/sdk/zoom/modules/arrakis/modwerk.module.json new file mode 100644 index 0000000000..b9d1c32cf3 --- /dev/null +++ b/sdk/zoom/modules/arrakis/modwerk.module.json @@ -0,0 +1,174 @@ +{ + "schemaVersion": 3, + "id": "arrakis", + "name": "Arrakis", + "version": "2.0.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/arrakis" + }, + "presentation": { + "label": "ARRAKIS", + "family": "Suboctave", + "summary": "A Dune-style detuned sub-octave drone: two subs beating against each other.", + "overview": "A Dune-style detuned sub-octave drone: two subs beating against each other.", + "highlights": [ + "Play a sustained single note and listen for the beating suboctave layer." + ], + "usage": [ + "Add Arrakis from the Delay group to a spare patch.", + "Play a sustained single note and listen for the beating suboctave layer.", + "Compare the effect with bypass using the footswitch." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Arrakis.", + "steps": [ + "Add Arrakis from the Delay group to a spare patch.", + "Play a sustained single note and listen for the beating suboctave layer." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Detun", + "default": 63, + "doc": "params[5]. Beat spread between the two detuned voices. Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 50, + "doc": "params[6]. Dry/wet. Default 45 (not ~0) so the effect is AUDIBLE the moment a patch loads — custom effects read params as 0 until a knob is touched, so this default is the on-load value. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Arrakis.ZDL", + "effectId": { + "gid": 8, + "fxid": 473 + }, + "effectVersion": "2.00", + "dspCost": 20.0, + "binary": { + "sha256": "5c7957d9d2970378439adcada6dc504dba07118597c70fb7370a13d257294a32", + "bytes": 5890, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "arrakis-2.00", + "asset": "Arrakis.ZDL" + } + }, + "screen": "static", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 5890, + "fastBytes": null, + "load": { + "display": "DSP 20 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "2.0.0", + "sourceSha256": "5c7957d9d2970378439adcada6dc504dba07118597c70fb7370a13d257294a32", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Arrakis from the Delay group to a spare patch.", + "Play a sustained single note and listen for the beating suboctave layer.", + "Compare the effect with bypass using the footswitch." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Arrakis in the MultiStomp Editor", + "alt": "Arrakis editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/arrakis.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Arrakis embedded cover", + "alt": "The monochrome effect cover for Arrakis", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "2.0.0", + "imageSha256": "5c7957d9d2970378439adcada6dc504dba07118597c70fb7370a13d257294a32", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/carillon/LICENSE b/sdk/zoom/modules/carillon/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/carillon/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/carillon/README.md b/sdk/zoom/modules/carillon/README.md new file mode 100644 index 0000000000..bd898b0ff5 --- /dev/null +++ b/sdk/zoom/modules/carillon/README.md @@ -0,0 +1,45 @@ +# Carillon + +## Overview + +A resonant filter bank: 32 narrow filters from C2 to C8, snapped to a key and scale. A filter at low Decay, ringing bells turned up. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Cut | 70 | params[5]. Where the bank's emphasis sits, C2 .. above C8. Range 0–100. | +| Reso | 30 | params[6]. Boost of the bands around Cutoff. Range 0–100. | +| Decay | 55 | params[7]. Band width and ring: 0 one plain filter, 100 bells ringing a few seconds. Range 0–100. | +| Key | 0 | params[8]. Named steps C .. B: the scale's root; in Free, moves the bank. Range 0–11. | +| Scale | 2 | params[9]. Named steps: Free, Chrom, Major, Minor, Dor, Pent, MinPt, Whole, Fifth, Oct. Range 0–9. | +| Slope | 40 | params[10]. Low-pass (0) .. band-pass (50) .. high-pass (100). Range 0–100. | +| Waves | 20 | params[11]. 0..50 depth of a slow ripple across the bands; 50..100 full depth, faster. Range 0–100. | +| Noise | 0 | params[12]. 0..50 random bands struck on their own; 50..100 adds a hiss that makes the bank whistle. Range 0–100. | +| Mix | 60 | params[13]. Dry/wet. Range 0–100. | + +## Usage + +Use percussive hits and listen for separately ringing, tuned resonances. + +### Quick tutorial + +1. Add Carillon from the Delay group to a spare patch. +2. Use percussive hits and listen for separately ringing, tuned resonances. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/carillon) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/carillon/TESTING.md b/sdk/zoom/modules/carillon/TESTING.md new file mode 100644 index 0000000000..6c21673220 --- /dev/null +++ b/sdk/zoom/modules/carillon/TESTING.md @@ -0,0 +1,9 @@ +# Carillon 0.4.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. The display guard compares an aggregate checksum over the known OS locations. + +Carillon.ZDL, 21,134 bytes, Delay 497, header 0.04, SHA-256 `327646298c5f164a3df3cd31fee16ebd802331edfb143b2bd3680c85ddcd1f1b`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/carillon) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/carillon/media/capture.json b/sdk/zoom/modules/carillon/media/capture.json new file mode 100644 index 0000000000..f37388048c --- /dev/null +++ b/sdk/zoom/modules/carillon/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "carillon", + "moduleVersion": "0.4.0", + "imageSha256": "327646298c5f164a3df3cd31fee16ebd802331edfb143b2bd3680c85ddcd1f1b", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "2c3998ec0b358ac885f90beeb728f2a3db88bd66aadb1f0a004a8469e8ee660d", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/carillon/media/cover.png b/sdk/zoom/modules/carillon/media/cover.png new file mode 100644 index 0000000000..94bbdbcb81 Binary files /dev/null and b/sdk/zoom/modules/carillon/media/cover.png differ diff --git a/sdk/zoom/modules/carillon/media/thumbnail.png b/sdk/zoom/modules/carillon/media/thumbnail.png new file mode 100644 index 0000000000..d8a04a6cdf Binary files /dev/null and b/sdk/zoom/modules/carillon/media/thumbnail.png differ diff --git a/sdk/zoom/modules/carillon/modwerk.module.json b/sdk/zoom/modules/carillon/modwerk.module.json new file mode 100644 index 0000000000..8255f5e899 --- /dev/null +++ b/sdk/zoom/modules/carillon/modwerk.module.json @@ -0,0 +1,216 @@ +{ + "schemaVersion": 3, + "id": "carillon", + "name": "Carillon", + "version": "0.4.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/carillon" + }, + "presentation": { + "label": "CARILLON", + "family": "Resonator", + "summary": "A resonant filter bank: 32 narrow filters from C2 to C8, snapped to a key and scale. A filter at low Decay, ringing bells turned up.", + "overview": "A resonant filter bank: 32 narrow filters from C2 to C8, snapped to a key and scale. A filter at low Decay, ringing bells turned up.", + "highlights": [ + "Use percussive hits and listen for separately ringing, tuned resonances." + ], + "usage": [ + "Add Carillon from the Delay group to a spare patch.", + "Use percussive hits and listen for separately ringing, tuned resonances.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Carillon.", + "steps": [ + "Add Carillon from the Delay group to a spare patch.", + "Use percussive hits and listen for separately ringing, tuned resonances." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Cut", + "default": 70, + "doc": "params[5]. Where the bank's emphasis sits, C2 .. above C8. Range 0–100.", + "labels": null + }, + { + "name": "Reso", + "default": 30, + "doc": "params[6]. Boost of the bands around Cutoff. Range 0–100.", + "labels": null + }, + { + "name": "Decay", + "default": 55, + "doc": "params[7]. Band width and ring: 0 one plain filter, 100 bells ringing a few seconds. Range 0–100.", + "labels": null + }, + { + "name": "Key", + "default": 0, + "doc": "params[8]. Named steps C .. B: the scale's root; in Free, moves the bank. Range 0–11.", + "labels": null + }, + { + "name": "Scale", + "default": 2, + "doc": "params[9]. Named steps: Free, Chrom, Major, Minor, Dor, Pent, MinPt, Whole, Fifth, Oct. Range 0–9.", + "labels": null + }, + { + "name": "Slope", + "default": 40, + "doc": "params[10]. Low-pass (0) .. band-pass (50) .. high-pass (100). Range 0–100.", + "labels": null + }, + { + "name": "Waves", + "default": 20, + "doc": "params[11]. 0..50 depth of a slow ripple across the bands; 50..100 full depth, faster. Range 0–100.", + "labels": null + }, + { + "name": "Noise", + "default": 0, + "doc": "params[12]. 0..50 random bands struck on their own; 50..100 adds a hiss that makes the bank whistle. Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 60, + "doc": "params[13]. Dry/wet. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Carillon.ZDL", + "effectId": { + "gid": 8, + "fxid": 497 + }, + "effectVersion": "0.04", + "dspCost": 40.0, + "binary": { + "sha256": "327646298c5f164a3df3cd31fee16ebd802331edfb143b2bd3680c85ddcd1f1b", + "bytes": 21134, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "carillon-0.04", + "asset": "Carillon.ZDL" + } + }, + "screen": "live", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 21134, + "fastBytes": null, + "load": { + "display": "DSP 40 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "0.4.0", + "sourceSha256": "327646298c5f164a3df3cd31fee16ebd802331edfb143b2bd3680c85ddcd1f1b", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Carillon from the Delay group to a spare patch.", + "Use percussive hits and listen for separately ringing, tuned resonances.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Carillon in the MultiStomp Editor", + "alt": "Carillon editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/carillon.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Carillon embedded cover", + "alt": "The monochrome effect cover for Carillon", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "0.4.0", + "imageSha256": "327646298c5f164a3df3cd31fee16ebd802331edfb143b2bd3680c85ddcd1f1b", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/chimera/LICENSE b/sdk/zoom/modules/chimera/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/chimera/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/chimera/README.md b/sdk/zoom/modules/chimera/README.md new file mode 100644 index 0000000000..a910e2547b --- /dev/null +++ b/sdk/zoom/modules/chimera/README.md @@ -0,0 +1,45 @@ +# Chimera + +## Overview + +Your guitar as the voice of a simulated throat and mouth, like a talkbox: vowels, jaw, body size, nose, and a mouth that can follow your notes or babble. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Vowel | 50 | params[5]. The mouth's shape: u, o, a, e, i from 0 to 100, morphing between. Range 0–100. | +| Open | 55 | params[6]. Jaw and lips: closed (a hum, with Nasal) to wide open. Range 0–100. | +| Body | 30 | params[7]. The throat's length: 19 cm (big) to 13.5 cm (small); 30 is an adult man. Range 0–100. | +| Nasal | 0 | params[8]. Opens the soft palate into the nose. Range 0–100. | +| Talk | 35 | params[9]. How far Move moves the mouth. Range 0–100. | +| Move | 0 | params[10]. Named steps Pick, Slow, Fast, Chat: the mouth follows each note, sways slowly or quickly, or babbles. Range 0–3. | +| Buzz | 30 | params[11]. Drives the guitar into a soft clipper first: more harmonics for the mouth to shape. Range 0–100. | +| Breath | 0 | params[12]. Air noise through the throat, following your playing: a whisper. Range 0–100. | +| Mix | 100 | params[13]. Dry/wet. Range 0–100. | + +## Usage + +Hold a harmonically rich sound and move the vowel controls to hear the formants. + +### Quick tutorial + +1. Add Chimera from the Delay group to a spare patch. +2. Hold a harmonically rich sound and move the vowel controls to hear the formants. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/chimera) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/chimera/TESTING.md b/sdk/zoom/modules/chimera/TESTING.md new file mode 100644 index 0000000000..1a197a3831 --- /dev/null +++ b/sdk/zoom/modules/chimera/TESTING.md @@ -0,0 +1,9 @@ +# Chimera 0.3.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. The display guard compares an aggregate checksum over the known OS locations. + +Chimera.ZDL, 23,306 bytes, Delay 418, header 0.03, SHA-256 `59ba2eb3252fce589fa8741e0fb14c868ee6be238817ab8317ede5f2874a0704`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/chimera) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/chimera/media/capture.json b/sdk/zoom/modules/chimera/media/capture.json new file mode 100644 index 0000000000..89ab21b3d8 --- /dev/null +++ b/sdk/zoom/modules/chimera/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "chimera", + "moduleVersion": "0.3.0", + "imageSha256": "59ba2eb3252fce589fa8741e0fb14c868ee6be238817ab8317ede5f2874a0704", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "faa855202bf13d7adb27fecd4bbea0eb8326a7563d7d5a5860dd0fdb7a9cdfbe", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/chimera/media/cover.png b/sdk/zoom/modules/chimera/media/cover.png new file mode 100644 index 0000000000..3e251816bd Binary files /dev/null and b/sdk/zoom/modules/chimera/media/cover.png differ diff --git a/sdk/zoom/modules/chimera/media/thumbnail.png b/sdk/zoom/modules/chimera/media/thumbnail.png new file mode 100644 index 0000000000..3bdafef733 Binary files /dev/null and b/sdk/zoom/modules/chimera/media/thumbnail.png differ diff --git a/sdk/zoom/modules/chimera/modwerk.module.json b/sdk/zoom/modules/chimera/modwerk.module.json new file mode 100644 index 0000000000..2a283db179 --- /dev/null +++ b/sdk/zoom/modules/chimera/modwerk.module.json @@ -0,0 +1,216 @@ +{ + "schemaVersion": 3, + "id": "chimera", + "name": "Chimera", + "version": "0.3.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/chimera" + }, + "presentation": { + "label": "CHIMERA", + "family": "Formant filter", + "summary": "Your guitar as the voice of a simulated throat and mouth, like a talkbox: vowels, jaw, body size, nose, and a mouth that can follow your notes or babble.", + "overview": "Your guitar as the voice of a simulated throat and mouth, like a talkbox: vowels, jaw, body size, nose, and a mouth that can follow your notes or babble.", + "highlights": [ + "Hold a harmonically rich sound and move the vowel controls to hear the formants." + ], + "usage": [ + "Add Chimera from the Delay group to a spare patch.", + "Hold a harmonically rich sound and move the vowel controls to hear the formants.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Chimera.", + "steps": [ + "Add Chimera from the Delay group to a spare patch.", + "Hold a harmonically rich sound and move the vowel controls to hear the formants." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Vowel", + "default": 50, + "doc": "params[5]. The mouth's shape: u, o, a, e, i from 0 to 100, morphing between. Range 0–100.", + "labels": null + }, + { + "name": "Open", + "default": 55, + "doc": "params[6]. Jaw and lips: closed (a hum, with Nasal) to wide open. Range 0–100.", + "labels": null + }, + { + "name": "Body", + "default": 30, + "doc": "params[7]. The throat's length: 19 cm (big) to 13.5 cm (small); 30 is an adult man. Range 0–100.", + "labels": null + }, + { + "name": "Nasal", + "default": 0, + "doc": "params[8]. Opens the soft palate into the nose. Range 0–100.", + "labels": null + }, + { + "name": "Talk", + "default": 35, + "doc": "params[9]. How far Move moves the mouth. Range 0–100.", + "labels": null + }, + { + "name": "Move", + "default": 0, + "doc": "params[10]. Named steps Pick, Slow, Fast, Chat: the mouth follows each note, sways slowly or quickly, or babbles. Range 0–3.", + "labels": null + }, + { + "name": "Buzz", + "default": 30, + "doc": "params[11]. Drives the guitar into a soft clipper first: more harmonics for the mouth to shape. Range 0–100.", + "labels": null + }, + { + "name": "Breath", + "default": 0, + "doc": "params[12]. Air noise through the throat, following your playing: a whisper. Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 100, + "doc": "params[13]. Dry/wet. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Chimera.ZDL", + "effectId": { + "gid": 8, + "fxid": 418 + }, + "effectVersion": "0.03", + "dspCost": 40.0, + "binary": { + "sha256": "59ba2eb3252fce589fa8741e0fb14c868ee6be238817ab8317ede5f2874a0704", + "bytes": 23306, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "chimera-0.03", + "asset": "Chimera.ZDL" + } + }, + "screen": "live", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 23306, + "fastBytes": null, + "load": { + "display": "DSP 40 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "0.3.0", + "sourceSha256": "59ba2eb3252fce589fa8741e0fb14c868ee6be238817ab8317ede5f2874a0704", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Chimera from the Delay group to a spare patch.", + "Hold a harmonically rich sound and move the vowel controls to hear the formants.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Chimera in the MultiStomp Editor", + "alt": "Chimera editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/chimera.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Chimera embedded cover", + "alt": "The monochrome effect cover for Chimera", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "0.3.0", + "imageSha256": "59ba2eb3252fce589fa8741e0fb14c868ee6be238817ab8317ede5f2874a0704", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/chopdly/LICENSE b/sdk/zoom/modules/chopdly/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/chopdly/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/chopdly/README.md b/sdk/zoom/modules/chopdly/README.md new file mode 100644 index 0000000000..37293640dc --- /dev/null +++ b/sdk/zoom/modules/chopdly/README.md @@ -0,0 +1,45 @@ +# Chopdly + +## Overview + +A delay that chops what it recorded: every repeat replays the last cycle cut into 1-16 chops (or at your notes), rearranged, reversed, pitched and stretched, and the repeats get re-chopped. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Time | 45 | params[5]. Cycle/delay length 30 ms .. 2.5 s, squared curve (45 = ~0.53 s). Range 0–100. | +| Chops | 4 | params[6]. Named steps: 0 = Trans (cut at note attacks; none found: 4 equal), 1..16 = equal chops. Range 0–16. | +| Order | 6 | params[7]. Named steps: Fwd, Back (chops in reverse order), Swap (pairs swapped), Skip (evens then odds), Stutr (each other chop twice), Build (0, 01, 012...), Mix1-8 (fixed shuffles, every chop once), Rpt1-6 (fixed, chops may repeat or drop), Rand (new shuffle every cycle), Chaos (new random with repeats every cycle). Range 0–21. | +| Pitch | 3 | params[8]. Named steps: -12/-7/-5/Unity/+5/+7/+12 = all chops; Oct+ / Oct- = half the chops up / down an octave; Octs = a third up, a third down; Fifth = a third +7, a third -5; Some = half the chops jump +-5/7/12; Wild = every chop jumps. Fixed per-slot coins, so it recalls. Varispeed unless Stretch is on. Range 0–12. | +| Rev | 0 | params[9]. Named steps: Off, Few (1/4 of chops), Alt (every other chop), Half, Most (3/4), All, Ping (chops alternate L/R, forward), Scatr (each chop a fixed pan, forward). Fixed per-slot coins. Range 0–7. | +| Strch | 4 | params[10]. Named steps: 1/4, 1/3, 1/2, 3/4 = slower, Off = plain read, 1.5x, 2x = faster; how fast each chop runs through its audio with pitch kept (two-grain crossfade, 46 ms grains). Pitch still applies on top. Range 0–6. | +| Glide | 20 | params[11]. Chop edges: 0 = cut where chopped (32-sample anti-click fade); higher = longer fades and the ending chop overlaps the next one (crossfade). 100 = half the shorter chop. Range 0–100. | +| Feed | 35 | params[12]. Chopped output back into the recording (0 .. 0.95), limited. Range 0–100. | +| Mix | 50 | params[13]. Dry/wet. Range 0–100. | + +## Usage + +Play a held chord and listen for the repeats to break into rhythmic slices. + +### Quick tutorial + +1. Add Chopdly from the Delay group to a spare patch. +2. Play a held chord and listen for the repeats to break into rhythmic slices. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/chopdly) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/chopdly/TESTING.md b/sdk/zoom/modules/chopdly/TESTING.md new file mode 100644 index 0000000000..fd6dd292d6 --- /dev/null +++ b/sdk/zoom/modules/chopdly/TESTING.md @@ -0,0 +1,9 @@ +# Chopdly 1.4.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. The display guard compares an aggregate checksum over the known OS locations. + +Chopdly.ZDL, 27,730 bytes, Delay 947, header 1.04, SHA-256 `22d0052c79b01dcef092b968905f1c7a5287b6c83a54c8609f73bd718082450b`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/chopdly) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/chopdly/media/capture.json b/sdk/zoom/modules/chopdly/media/capture.json new file mode 100644 index 0000000000..065e4b9341 --- /dev/null +++ b/sdk/zoom/modules/chopdly/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "chopdly", + "moduleVersion": "1.4.0", + "imageSha256": "22d0052c79b01dcef092b968905f1c7a5287b6c83a54c8609f73bd718082450b", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "f668c7dba1ca0c745d1d00bfe7daa9702b6cafb6fe93a2fa191f23c7fbb968a9", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/chopdly/media/cover.png b/sdk/zoom/modules/chopdly/media/cover.png new file mode 100644 index 0000000000..576007dc0f Binary files /dev/null and b/sdk/zoom/modules/chopdly/media/cover.png differ diff --git a/sdk/zoom/modules/chopdly/media/thumbnail.png b/sdk/zoom/modules/chopdly/media/thumbnail.png new file mode 100644 index 0000000000..e024568049 Binary files /dev/null and b/sdk/zoom/modules/chopdly/media/thumbnail.png differ diff --git a/sdk/zoom/modules/chopdly/modwerk.module.json b/sdk/zoom/modules/chopdly/modwerk.module.json new file mode 100644 index 0000000000..22e9b68292 --- /dev/null +++ b/sdk/zoom/modules/chopdly/modwerk.module.json @@ -0,0 +1,216 @@ +{ + "schemaVersion": 3, + "id": "chopdly", + "name": "Chopdly", + "version": "1.4.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/chopdly" + }, + "presentation": { + "label": "CHOPDLY", + "family": "Rhythmic delay", + "summary": "A delay that chops what it recorded: every repeat replays the last cycle cut into 1-16 chops (or at your notes), rearranged, reversed, pitched and stretched, and the repeats get re-chopped.", + "overview": "A delay that chops what it recorded: every repeat replays the last cycle cut into 1-16 chops (or at your notes), rearranged, reversed, pitched and stretched, and the repeats get re-chopped.", + "highlights": [ + "Play a held chord and listen for the repeats to break into rhythmic slices." + ], + "usage": [ + "Add Chopdly from the Delay group to a spare patch.", + "Play a held chord and listen for the repeats to break into rhythmic slices.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Chopdly.", + "steps": [ + "Add Chopdly from the Delay group to a spare patch.", + "Play a held chord and listen for the repeats to break into rhythmic slices." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Time", + "default": 45, + "doc": "params[5]. Cycle/delay length 30 ms .. 2.5 s, squared curve (45 = ~0.53 s). Range 0–100.", + "labels": null + }, + { + "name": "Chops", + "default": 4, + "doc": "params[6]. Named steps: 0 = Trans (cut at note attacks; none found: 4 equal), 1..16 = equal chops. Range 0–16.", + "labels": null + }, + { + "name": "Order", + "default": 6, + "doc": "params[7]. Named steps: Fwd, Back (chops in reverse order), Swap (pairs swapped), Skip (evens then odds), Stutr (each other chop twice), Build (0, 01, 012...), Mix1-8 (fixed shuffles, every chop once), Rpt1-6 (fixed, chops may repeat or drop), Rand (new shuffle every cycle), Chaos (new random with repeats every cycle). Range 0–21.", + "labels": null + }, + { + "name": "Pitch", + "default": 3, + "doc": "params[8]. Named steps: -12/-7/-5/Unity/+5/+7/+12 = all chops; Oct+ / Oct- = half the chops up / down an octave; Octs = a third up, a third down; Fifth = a third +7, a third -5; Some = half the chops jump +-5/7/12; Wild = every chop jumps. Fixed per-slot coins, so it recalls. Varispeed unless Stretch is on. Range 0–12.", + "labels": null + }, + { + "name": "Rev", + "default": 0, + "doc": "params[9]. Named steps: Off, Few (1/4 of chops), Alt (every other chop), Half, Most (3/4), All, Ping (chops alternate L/R, forward), Scatr (each chop a fixed pan, forward). Fixed per-slot coins. Range 0–7.", + "labels": null + }, + { + "name": "Strch", + "default": 4, + "doc": "params[10]. Named steps: 1/4, 1/3, 1/2, 3/4 = slower, Off = plain read, 1.5x, 2x = faster; how fast each chop runs through its audio with pitch kept (two-grain crossfade, 46 ms grains). Pitch still applies on top. Range 0–6.", + "labels": null + }, + { + "name": "Glide", + "default": 20, + "doc": "params[11]. Chop edges: 0 = cut where chopped (32-sample anti-click fade); higher = longer fades and the ending chop overlaps the next one (crossfade). 100 = half the shorter chop. Range 0–100.", + "labels": null + }, + { + "name": "Feed", + "default": 35, + "doc": "params[12]. Chopped output back into the recording (0 .. 0.95), limited. Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 50, + "doc": "params[13]. Dry/wet. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Chopdly.ZDL", + "effectId": { + "gid": 8, + "fxid": 947 + }, + "effectVersion": "1.04", + "dspCost": 40.0, + "binary": { + "sha256": "22d0052c79b01dcef092b968905f1c7a5287b6c83a54c8609f73bd718082450b", + "bytes": 27730, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "chopdly-1.04", + "asset": "Chopdly.ZDL" + } + }, + "screen": "live", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 27730, + "fastBytes": null, + "load": { + "display": "DSP 40 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "1.4.0", + "sourceSha256": "22d0052c79b01dcef092b968905f1c7a5287b6c83a54c8609f73bd718082450b", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Chopdly from the Delay group to a spare patch.", + "Play a held chord and listen for the repeats to break into rhythmic slices.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Chopdly in the MultiStomp Editor", + "alt": "Chopdly editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/chopdly.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Chopdly embedded cover", + "alt": "The monochrome effect cover for Chopdly", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "1.4.0", + "imageSha256": "22d0052c79b01dcef092b968905f1c7a5287b6c83a54c8609f73bd718082450b", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/corrupt/LICENSE b/sdk/zoom/modules/corrupt/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/corrupt/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/corrupt/README.md b/sdk/zoom/modules/corrupt/README.md new file mode 100644 index 0000000000..67c246435d --- /dev/null +++ b/sdk/zoom/modules/corrupt/README.md @@ -0,0 +1,40 @@ +# Corrupt + +## Overview + +A Data Corrupter-style square synth: the note you play, a tracked sub and a divided harmony. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Sub | 82 | params[5]. Sub (octave-down) square level. Range 0–100. | +| Tone | 45 | params[6]. Low-pass: dark/smooth .. raw/buzzy. Range 0–100. | +| Wave | 50 | params[7]. Octave-up harmony square level (richness). Range 0–100. | +| Mix | 50 | Mix default 1 (quiet-safe). The editor materialises patches on load (full-patch send), so audible-on-load no longer needs a hot default. Range 0–100. | + +## Usage + +Play single notes across the range and listen for the square-wave tracking. + +### Quick tutorial + +1. Add Corrupt from the Delay group to a spare patch. +2. Play single notes across the range and listen for the square-wave tracking. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/corrupt) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/corrupt/TESTING.md b/sdk/zoom/modules/corrupt/TESTING.md new file mode 100644 index 0000000000..38be202637 --- /dev/null +++ b/sdk/zoom/modules/corrupt/TESTING.md @@ -0,0 +1,9 @@ +# Corrupt 2.0.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. + +Corrupt.ZDL, 7,462 bytes, Delay 454, header 2.00, SHA-256 `6b97d1d821a1fdce23d2522f4e8abb20a15dea44935ba579dd6c4555ced326a4`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/corrupt) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/corrupt/media/capture.json b/sdk/zoom/modules/corrupt/media/capture.json new file mode 100644 index 0000000000..1e84cd1e6d --- /dev/null +++ b/sdk/zoom/modules/corrupt/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "corrupt", + "moduleVersion": "2.0.0", + "imageSha256": "6b97d1d821a1fdce23d2522f4e8abb20a15dea44935ba579dd6c4555ced326a4", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "3eb2caba44306fdb87aa16312ab5dfdc3381b254e9ae9298ca2a345db8927ae6", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/corrupt/media/cover.png b/sdk/zoom/modules/corrupt/media/cover.png new file mode 100644 index 0000000000..8badc4fa4b Binary files /dev/null and b/sdk/zoom/modules/corrupt/media/cover.png differ diff --git a/sdk/zoom/modules/corrupt/media/thumbnail.png b/sdk/zoom/modules/corrupt/media/thumbnail.png new file mode 100644 index 0000000000..8fa0ef6296 Binary files /dev/null and b/sdk/zoom/modules/corrupt/media/thumbnail.png differ diff --git a/sdk/zoom/modules/corrupt/modwerk.module.json b/sdk/zoom/modules/corrupt/modwerk.module.json new file mode 100644 index 0000000000..6832d80033 --- /dev/null +++ b/sdk/zoom/modules/corrupt/modwerk.module.json @@ -0,0 +1,186 @@ +{ + "schemaVersion": 3, + "id": "corrupt", + "name": "Corrupt", + "version": "2.0.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/corrupt" + }, + "presentation": { + "label": "CORRUPT", + "family": "Synth distortion", + "summary": "A Data Corrupter-style square synth: the note you play, a tracked sub and a divided harmony.", + "overview": "A Data Corrupter-style square synth: the note you play, a tracked sub and a divided harmony.", + "highlights": [ + "Play single notes across the range and listen for the square-wave tracking." + ], + "usage": [ + "Add Corrupt from the Delay group to a spare patch.", + "Play single notes across the range and listen for the square-wave tracking.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Corrupt.", + "steps": [ + "Add Corrupt from the Delay group to a spare patch.", + "Play single notes across the range and listen for the square-wave tracking." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Sub", + "default": 82, + "doc": "params[5]. Sub (octave-down) square level. Range 0–100.", + "labels": null + }, + { + "name": "Tone", + "default": 45, + "doc": "params[6]. Low-pass: dark/smooth .. raw/buzzy. Range 0–100.", + "labels": null + }, + { + "name": "Wave", + "default": 50, + "doc": "params[7]. Octave-up harmony square level (richness). Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 50, + "doc": "Mix default 1 (quiet-safe). The editor materialises patches on load (full-patch send), so audible-on-load no longer needs a hot default. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Corrupt.ZDL", + "effectId": { + "gid": 8, + "fxid": 454 + }, + "effectVersion": "2.00", + "dspCost": 20.0, + "binary": { + "sha256": "6b97d1d821a1fdce23d2522f4e8abb20a15dea44935ba579dd6c4555ced326a4", + "bytes": 7462, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "corrupt-2.00", + "asset": "Corrupt.ZDL" + } + }, + "screen": "static", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 7462, + "fastBytes": null, + "load": { + "display": "DSP 20 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "2.0.0", + "sourceSha256": "6b97d1d821a1fdce23d2522f4e8abb20a15dea44935ba579dd6c4555ced326a4", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Corrupt from the Delay group to a spare patch.", + "Play single notes across the range and listen for the square-wave tracking.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Corrupt in the MultiStomp Editor", + "alt": "Corrupt editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/corrupt.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Corrupt embedded cover", + "alt": "The monochrome effect cover for Corrupt", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "2.0.0", + "imageSha256": "6b97d1d821a1fdce23d2522f4e8abb20a15dea44935ba579dd6c4555ced326a4", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/deform/LICENSE b/sdk/zoom/modules/deform/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/deform/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/deform/README.md b/sdk/zoom/modules/deform/README.md new file mode 100644 index 0000000000..e7738de7e8 --- /dev/null +++ b/sdk/zoom/modules/deform/README.md @@ -0,0 +1,45 @@ +# Deform + +## Overview + +Drive, crush and compression in one, after the Torso S-4: two-band drive, a soft crush and a one-knob compressor, with noise that follows your playing. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Drive | 35 | params[5]. 0..+36 dB into a soft, slightly uneven clipper; level held about even. Range 0–100. | +| Crush | 40 | params[6]. How far the crush goes (Mode picks how); 0 off. Range 0–100. | +| Comp | 30 | params[7]. One-knob compressor: threshold and ratio together, level made up. Range 0–100. | +| Tilt | 50 | params[8]. 50 flat; up pushes highs into the drive, down pushes lows. Half undone after. Range 0–100. | +| Split | 1 | params[9]. Named steps Low, Mid, High: Tilt's crossover, 80 Hz, 650 Hz, 2.5 kHz. Range 0–2. | +| Mode | 0 | params[10]. Named steps Bit, Redux, Both: fewer levels, lower sample rate, or both. Range 0–2. | +| Noise | 0 | params[11]. Pink noise that follows your playing, before the drive. Range 0–100. | +| Decay | 40 | params[12]. How long the noise hangs on after you stop, 20 ms .. 2 s. Range 0–100. | +| Mix | 100 | params[13]. Dry/wet. Range 0–100. | + +## Usage + +Alternate quiet and loud attacks and compare distortion and gain reduction. + +### Quick tutorial + +1. Add Deform from the Delay group to a spare patch. +2. Alternate quiet and loud attacks and compare distortion and gain reduction. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/deform) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/deform/TESTING.md b/sdk/zoom/modules/deform/TESTING.md new file mode 100644 index 0000000000..e4bc3c5f2b --- /dev/null +++ b/sdk/zoom/modules/deform/TESTING.md @@ -0,0 +1,9 @@ +# Deform 0.4.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. The display guard compares an aggregate checksum over the known OS locations. + +Deform.ZDL, 17,806 bytes, Delay 417, header 0.04, SHA-256 `9d2daaaccf6808ab09e4c3b215007c052d86a25cedde6d90eee5503a0c904369`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/deform) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/deform/media/capture.json b/sdk/zoom/modules/deform/media/capture.json new file mode 100644 index 0000000000..c5c424310e --- /dev/null +++ b/sdk/zoom/modules/deform/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "deform", + "moduleVersion": "0.4.0", + "imageSha256": "9d2daaaccf6808ab09e4c3b215007c052d86a25cedde6d90eee5503a0c904369", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "c9507e124cd37c3546b316945aeee31a66017a4fa1804e546e9be56b671679ae", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/deform/media/cover.png b/sdk/zoom/modules/deform/media/cover.png new file mode 100644 index 0000000000..268ec71167 Binary files /dev/null and b/sdk/zoom/modules/deform/media/cover.png differ diff --git a/sdk/zoom/modules/deform/media/thumbnail.png b/sdk/zoom/modules/deform/media/thumbnail.png new file mode 100644 index 0000000000..cd30c4fcc8 Binary files /dev/null and b/sdk/zoom/modules/deform/media/thumbnail.png differ diff --git a/sdk/zoom/modules/deform/modwerk.module.json b/sdk/zoom/modules/deform/modwerk.module.json new file mode 100644 index 0000000000..6ab7ff6f4f --- /dev/null +++ b/sdk/zoom/modules/deform/modwerk.module.json @@ -0,0 +1,216 @@ +{ + "schemaVersion": 3, + "id": "deform", + "name": "Deform", + "version": "0.4.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/deform" + }, + "presentation": { + "label": "DEFORM", + "family": "Distortion", + "summary": "Drive, crush and compression in one, after the Torso S-4: two-band drive, a soft crush and a one-knob compressor, with noise that follows your playing.", + "overview": "Drive, crush and compression in one, after the Torso S-4: two-band drive, a soft crush and a one-knob compressor, with noise that follows your playing.", + "highlights": [ + "Alternate quiet and loud attacks and compare distortion and gain reduction." + ], + "usage": [ + "Add Deform from the Delay group to a spare patch.", + "Alternate quiet and loud attacks and compare distortion and gain reduction.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Deform.", + "steps": [ + "Add Deform from the Delay group to a spare patch.", + "Alternate quiet and loud attacks and compare distortion and gain reduction." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Drive", + "default": 35, + "doc": "params[5]. 0..+36 dB into a soft, slightly uneven clipper; level held about even. Range 0–100.", + "labels": null + }, + { + "name": "Crush", + "default": 40, + "doc": "params[6]. How far the crush goes (Mode picks how); 0 off. Range 0–100.", + "labels": null + }, + { + "name": "Comp", + "default": 30, + "doc": "params[7]. One-knob compressor: threshold and ratio together, level made up. Range 0–100.", + "labels": null + }, + { + "name": "Tilt", + "default": 50, + "doc": "params[8]. 50 flat; up pushes highs into the drive, down pushes lows. Half undone after. Range 0–100.", + "labels": null + }, + { + "name": "Split", + "default": 1, + "doc": "params[9]. Named steps Low, Mid, High: Tilt's crossover, 80 Hz, 650 Hz, 2.5 kHz. Range 0–2.", + "labels": null + }, + { + "name": "Mode", + "default": 0, + "doc": "params[10]. Named steps Bit, Redux, Both: fewer levels, lower sample rate, or both. Range 0–2.", + "labels": null + }, + { + "name": "Noise", + "default": 0, + "doc": "params[11]. Pink noise that follows your playing, before the drive. Range 0–100.", + "labels": null + }, + { + "name": "Decay", + "default": 40, + "doc": "params[12]. How long the noise hangs on after you stop, 20 ms .. 2 s. Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 100, + "doc": "params[13]. Dry/wet. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Deform.ZDL", + "effectId": { + "gid": 8, + "fxid": 417 + }, + "effectVersion": "0.04", + "dspCost": 45.0, + "binary": { + "sha256": "9d2daaaccf6808ab09e4c3b215007c052d86a25cedde6d90eee5503a0c904369", + "bytes": 17806, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "deform-0.04", + "asset": "Deform.ZDL" + } + }, + "screen": "live", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 17806, + "fastBytes": null, + "load": { + "display": "DSP 45 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "0.4.0", + "sourceSha256": "9d2daaaccf6808ab09e4c3b215007c052d86a25cedde6d90eee5503a0c904369", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Deform from the Delay group to a spare patch.", + "Alternate quiet and loud attacks and compare distortion and gain reduction.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Deform in the MultiStomp Editor", + "alt": "Deform editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/deform.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Deform embedded cover", + "alt": "The monochrome effect cover for Deform", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "0.4.0", + "imageSha256": "9d2daaaccf6808ab09e4c3b215007c052d86a25cedde6d90eee5503a0c904369", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/dissolve/LICENSE b/sdk/zoom/modules/dissolve/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/dissolve/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/dissolve/README.md b/sdk/zoom/modules/dissolve/README.md new file mode 100644 index 0000000000..99812cce55 --- /dev/null +++ b/sdk/zoom/modules/dissolve/README.md @@ -0,0 +1,40 @@ +# Dissolve + +## Overview + +A glitch delay after the OBNE Parting: chunks of what you play are dropped, smeared into a wash, reversed or dropped an octave. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Chnce | 40 | params[5]. Probability an input chunk is dropped before the delay line. Range 0–100. | +| Smear | 55 | params[6]. Feedback + diffusion: slapback .. washy near-reverb dissolve. Range 0–100. | +| Gltch | 35 | params[7]. Probability a read chunk plays reversed or an octave down. Range 0–100. | +| Mix | 50 | Mix default 1 (quiet-safe). The editor materialises patches on load (full-patch send), so audible-on-load no longer needs a hot default. Range 0–100. | + +## Usage + +Play a steady beat and listen for the transitions between smear and glitch. + +### Quick tutorial + +1. Add Dissolve from the Delay group to a spare patch. +2. Play a steady beat and listen for the transitions between smear and glitch. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/dissolve) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/dissolve/TESTING.md b/sdk/zoom/modules/dissolve/TESTING.md new file mode 100644 index 0000000000..fdc96c4748 --- /dev/null +++ b/sdk/zoom/modules/dissolve/TESTING.md @@ -0,0 +1,9 @@ +# Dissolve 2.0.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. + +Dissolve.ZDL, 5,970 bytes, Delay 461, header 2.00, SHA-256 `375d3b5da9efd8629ce210f553e74917cf9847c961ece5862c2f3c628fcf891d`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/dissolve) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/dissolve/media/capture.json b/sdk/zoom/modules/dissolve/media/capture.json new file mode 100644 index 0000000000..eab45f971a --- /dev/null +++ b/sdk/zoom/modules/dissolve/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "dissolve", + "moduleVersion": "2.0.0", + "imageSha256": "375d3b5da9efd8629ce210f553e74917cf9847c961ece5862c2f3c628fcf891d", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "b4ce80e061abf71c8c924c3c58bb89806fa191f53f82d11d1c84258231e8b012", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/dissolve/media/cover.png b/sdk/zoom/modules/dissolve/media/cover.png new file mode 100644 index 0000000000..7178777f50 Binary files /dev/null and b/sdk/zoom/modules/dissolve/media/cover.png differ diff --git a/sdk/zoom/modules/dissolve/media/thumbnail.png b/sdk/zoom/modules/dissolve/media/thumbnail.png new file mode 100644 index 0000000000..944613dd19 Binary files /dev/null and b/sdk/zoom/modules/dissolve/media/thumbnail.png differ diff --git a/sdk/zoom/modules/dissolve/modwerk.module.json b/sdk/zoom/modules/dissolve/modwerk.module.json new file mode 100644 index 0000000000..05a747c5b9 --- /dev/null +++ b/sdk/zoom/modules/dissolve/modwerk.module.json @@ -0,0 +1,186 @@ +{ + "schemaVersion": 3, + "id": "dissolve", + "name": "Dissolve", + "version": "2.0.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/dissolve" + }, + "presentation": { + "label": "DISSOLVE", + "family": "Glitch delay", + "summary": "A glitch delay after the OBNE Parting: chunks of what you play are dropped, smeared into a wash, reversed or dropped an octave.", + "overview": "A glitch delay after the OBNE Parting: chunks of what you play are dropped, smeared into a wash, reversed or dropped an octave.", + "highlights": [ + "Play a steady beat and listen for the transitions between smear and glitch." + ], + "usage": [ + "Add Dissolve from the Delay group to a spare patch.", + "Play a steady beat and listen for the transitions between smear and glitch.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Dissolve.", + "steps": [ + "Add Dissolve from the Delay group to a spare patch.", + "Play a steady beat and listen for the transitions between smear and glitch." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Chnce", + "default": 40, + "doc": "params[5]. Probability an input chunk is dropped before the delay line. Range 0–100.", + "labels": null + }, + { + "name": "Smear", + "default": 55, + "doc": "params[6]. Feedback + diffusion: slapback .. washy near-reverb dissolve. Range 0–100.", + "labels": null + }, + { + "name": "Gltch", + "default": 35, + "doc": "params[7]. Probability a read chunk plays reversed or an octave down. Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 50, + "doc": "Mix default 1 (quiet-safe). The editor materialises patches on load (full-patch send), so audible-on-load no longer needs a hot default. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Dissolve.ZDL", + "effectId": { + "gid": 8, + "fxid": 461 + }, + "effectVersion": "2.00", + "dspCost": 20.0, + "binary": { + "sha256": "375d3b5da9efd8629ce210f553e74917cf9847c961ece5862c2f3c628fcf891d", + "bytes": 5970, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "dissolve-2.00", + "asset": "Dissolve.ZDL" + } + }, + "screen": "static", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 5970, + "fastBytes": null, + "load": { + "display": "DSP 20 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "2.0.0", + "sourceSha256": "375d3b5da9efd8629ce210f553e74917cf9847c961ece5862c2f3c628fcf891d", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Dissolve from the Delay group to a spare patch.", + "Play a steady beat and listen for the transitions between smear and glitch.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Dissolve in the MultiStomp Editor", + "alt": "Dissolve editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/dissolve.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Dissolve embedded cover", + "alt": "The monochrome effect cover for Dissolve", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "2.0.0", + "imageSha256": "375d3b5da9efd8629ce210f553e74917cf9847c961ece5862c2f3c628fcf891d", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/droplets/LICENSE b/sdk/zoom/modules/droplets/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/droplets/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/droplets/README.md b/sdk/zoom/modules/droplets/README.md new file mode 100644 index 0000000000..bf65be0d67 --- /dev/null +++ b/sdk/zoom/modules/droplets/README.md @@ -0,0 +1,45 @@ +# Droplets + +## Overview + +A granular delay: short grains sprayed from the last 2.5 s, with pitch steps and patterns, scan, randomness and feedback. Feedback at 100 freezes the buffer. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Pitch | 5 | params[5]. Named steps: -24, -12, -7, -5, -3, Unity, +3, +5, +7, +12, +24 semitones for every grain. Range 0–10. | +| Rate | 45 | params[6]. Grains per second, ~2 .. 60 (free running). Range 0–100. | +| Size | 40 | params[7]. Grain length 10 .. 250 ms, squared curve. Range 0–100. | +| Contr | 50 | params[8]. Grain envelope: 0 = sharp hit, 50 = smooth, 100 = slow swell with a sharp end. Range 0–100. | +| Scan | 25 | params[9]. 0..49: where grains start, 30 ms .. 2.5 s behind the live input (a place in the frozen buffer when Locked). 50..100: the start point travels through the last 2.5 s, still at 50 up to twice speed at 100. Range 0–100. | +| Pattn | 0 | params[10]. Named steps: pitch sequence stepped per grain, on top of Pitch. Off, Oct, Oct-, Fifth, Pwr, Maj, Min, Down, Sus (fixed cycles), Pent, Wide (random picks). Range 0–10. | +| Rand | 20 | params[11]. 0..33: spray (random start, up to 0.5 s) and stereo spread; 33..66 adds random pitch jumps, size, timing and level; 66..100 adds reversed grains (up to half). Range 0–100. | +| Feed | 30 | params[12]. Grains back into the buffer, 0 .. 99; 100 = Lock: the buffer freezes (nothing new is recorded) and the grains keep playing from it. Range 0–100. | +| Mix | 50 | params[13]. Dry/wet. Range 0–100. | + +## Usage + +Hold a chord, then engage Lock and listen for a captured cloud after the input stops. + +### Quick tutorial + +1. Add Droplets from the Delay group to a spare patch. +2. Hold a chord, then engage Lock and listen for a captured cloud after the input stops. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/droplets) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/droplets/TESTING.md b/sdk/zoom/modules/droplets/TESTING.md new file mode 100644 index 0000000000..a933cd7c43 --- /dev/null +++ b/sdk/zoom/modules/droplets/TESTING.md @@ -0,0 +1,9 @@ +# Droplets 0.3.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. The display guard compares an aggregate checksum over the known OS locations. + +Droplets.ZDL, 21,590 bytes, Delay 492, header 0.03, SHA-256 `8f04eef9234caef2427aa62866fd89e4fdf0440e9ac1a04aafdaa61a49e909ef`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/droplets) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/droplets/media/capture.json b/sdk/zoom/modules/droplets/media/capture.json new file mode 100644 index 0000000000..239710242a --- /dev/null +++ b/sdk/zoom/modules/droplets/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "droplets", + "moduleVersion": "0.3.0", + "imageSha256": "8f04eef9234caef2427aa62866fd89e4fdf0440e9ac1a04aafdaa61a49e909ef", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "0c4bc36a7d86f1e53cd2bec7e965424e1555f1d6f8ecbece9e09ce52edc64dbf", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/droplets/media/cover.png b/sdk/zoom/modules/droplets/media/cover.png new file mode 100644 index 0000000000..b9ff37e5de Binary files /dev/null and b/sdk/zoom/modules/droplets/media/cover.png differ diff --git a/sdk/zoom/modules/droplets/media/thumbnail.png b/sdk/zoom/modules/droplets/media/thumbnail.png new file mode 100644 index 0000000000..310df76d66 Binary files /dev/null and b/sdk/zoom/modules/droplets/media/thumbnail.png differ diff --git a/sdk/zoom/modules/droplets/modwerk.module.json b/sdk/zoom/modules/droplets/modwerk.module.json new file mode 100644 index 0000000000..2cd42e8b8c --- /dev/null +++ b/sdk/zoom/modules/droplets/modwerk.module.json @@ -0,0 +1,216 @@ +{ + "schemaVersion": 3, + "id": "droplets", + "name": "Droplets", + "version": "0.3.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/droplets" + }, + "presentation": { + "label": "DROPLETS", + "family": "Granular delay", + "summary": "A granular delay: short grains sprayed from the last 2.5 s, with pitch steps and patterns, scan, randomness and feedback. Feedback at 100 freezes the buffer.", + "overview": "A granular delay: short grains sprayed from the last 2.5 s, with pitch steps and patterns, scan, randomness and feedback. Feedback at 100 freezes the buffer.", + "highlights": [ + "Hold a chord, then engage Lock and listen for a captured cloud after the input stops." + ], + "usage": [ + "Add Droplets from the Delay group to a spare patch.", + "Hold a chord, then engage Lock and listen for a captured cloud after the input stops.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Droplets.", + "steps": [ + "Add Droplets from the Delay group to a spare patch.", + "Hold a chord, then engage Lock and listen for a captured cloud after the input stops." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Pitch", + "default": 5, + "doc": "params[5]. Named steps: -24, -12, -7, -5, -3, Unity, +3, +5, +7, +12, +24 semitones for every grain. Range 0–10.", + "labels": null + }, + { + "name": "Rate", + "default": 45, + "doc": "params[6]. Grains per second, ~2 .. 60 (free running). Range 0–100.", + "labels": null + }, + { + "name": "Size", + "default": 40, + "doc": "params[7]. Grain length 10 .. 250 ms, squared curve. Range 0–100.", + "labels": null + }, + { + "name": "Contr", + "default": 50, + "doc": "params[8]. Grain envelope: 0 = sharp hit, 50 = smooth, 100 = slow swell with a sharp end. Range 0–100.", + "labels": null + }, + { + "name": "Scan", + "default": 25, + "doc": "params[9]. 0..49: where grains start, 30 ms .. 2.5 s behind the live input (a place in the frozen buffer when Locked). 50..100: the start point travels through the last 2.5 s, still at 50 up to twice speed at 100. Range 0–100.", + "labels": null + }, + { + "name": "Pattn", + "default": 0, + "doc": "params[10]. Named steps: pitch sequence stepped per grain, on top of Pitch. Off, Oct, Oct-, Fifth, Pwr, Maj, Min, Down, Sus (fixed cycles), Pent, Wide (random picks). Range 0–10.", + "labels": null + }, + { + "name": "Rand", + "default": 20, + "doc": "params[11]. 0..33: spray (random start, up to 0.5 s) and stereo spread; 33..66 adds random pitch jumps, size, timing and level; 66..100 adds reversed grains (up to half). Range 0–100.", + "labels": null + }, + { + "name": "Feed", + "default": 30, + "doc": "params[12]. Grains back into the buffer, 0 .. 99; 100 = Lock: the buffer freezes (nothing new is recorded) and the grains keep playing from it. Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 50, + "doc": "params[13]. Dry/wet. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Droplets.ZDL", + "effectId": { + "gid": 8, + "fxid": 492 + }, + "effectVersion": "0.03", + "dspCost": 50.0, + "binary": { + "sha256": "8f04eef9234caef2427aa62866fd89e4fdf0440e9ac1a04aafdaa61a49e909ef", + "bytes": 21590, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "droplets-0.03", + "asset": "Droplets.ZDL" + } + }, + "screen": "live", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 21590, + "fastBytes": null, + "load": { + "display": "DSP 50 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "0.3.0", + "sourceSha256": "8f04eef9234caef2427aa62866fd89e4fdf0440e9ac1a04aafdaa61a49e909ef", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Droplets from the Delay group to a spare patch.", + "Hold a chord, then engage Lock and listen for a captured cloud after the input stops.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Droplets in the MultiStomp Editor", + "alt": "Droplets editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/droplets.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Droplets embedded cover", + "alt": "The monochrome effect cover for Droplets", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "0.3.0", + "imageSha256": "8f04eef9234caef2427aa62866fd89e4fdf0440e9ac1a04aafdaa61a49e909ef", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/dustbox/LICENSE b/sdk/zoom/modules/dustbox/LICENSE new file mode 100644 index 0000000000..dfb8dc4a25 --- /dev/null +++ b/sdk/zoom/modules/dustbox/LICENSE @@ -0,0 +1,192 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. + +MIT License + +Copyright (c) 2026 Marcelo Fuentes + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/zoom/modules/dustbox/README.md b/sdk/zoom/modules/dustbox/README.md new file mode 100644 index 0000000000..fbf26ac7f1 --- /dev/null +++ b/sdk/zoom/modules/dustbox/README.md @@ -0,0 +1,40 @@ +# Dustbox + +## Overview + +A Buzz Box-style fuzz with a flip-flop sub-octave. Contributed by Marcelo Fuentes (MIT). + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Dust | 50 | params[5]. (was Heavy) Blend distortion (0) <-> sub-octave fuzz (100, 2 octaves down). The ONLY knob that adds the octave; at 0 no octave is present. Knob 1, matching the real FX33's Heavy/Buzz/Saw/Thrust layout order. Range 0–100. | +| Motor | 60 | params[6]. (was Buzz) Gain / distortion amount only -- never adds the octave. Range 0–100. | +| Filt | 50 | params[7]. (was Saw) Tone: single high-shelf. 0 = dark, 50 = flat, 100 = bright. Range 0–100. | +| Power | 50 | Output level. Raised from the original's default of 1 so the effect is audible when selected, matching the rest of this pack. Note this is a LEVEL, not a dry/wet crossfade -- Dustbox's blend is Dust, which fades between the distortion and the octave branch rather than against dry. Range 0–100. | + +## Usage + +Play a sustained note and vary Power to hear how the fuzz breaks up. + +### Quick tutorial + +1. Add Dustbox from the Delay group to a spare patch. +2. Play a sustained note and vary Power to hear how the fuzz breaks up. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Marcelo Fuentes (Dustbox). [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/dustbox) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/dustbox/TESTING.md b/sdk/zoom/modules/dustbox/TESTING.md new file mode 100644 index 0000000000..39365b9291 --- /dev/null +++ b/sdk/zoom/modules/dustbox/TESTING.md @@ -0,0 +1,9 @@ +# Dustbox 1.0.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. + +Dustbox.ZDL, 9,382 bytes, Delay 463, header 1.00, SHA-256 `46edd0332f2cd18dcebee93ad43e0dc66221719b4f3fdd12df27c8ac3ba58928`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/dustbox) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/dustbox/media/capture.json b/sdk/zoom/modules/dustbox/media/capture.json new file mode 100644 index 0000000000..7919715ac3 --- /dev/null +++ b/sdk/zoom/modules/dustbox/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "dustbox", + "moduleVersion": "1.0.0", + "imageSha256": "46edd0332f2cd18dcebee93ad43e0dc66221719b4f3fdd12df27c8ac3ba58928", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "f0f9ad2324c1a53ee75fe20001da8ddb0536af60ab8c0313342f3111e8f3a7d1", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/dustbox/media/cover.png b/sdk/zoom/modules/dustbox/media/cover.png new file mode 100644 index 0000000000..7efcbe507d Binary files /dev/null and b/sdk/zoom/modules/dustbox/media/cover.png differ diff --git a/sdk/zoom/modules/dustbox/media/thumbnail.png b/sdk/zoom/modules/dustbox/media/thumbnail.png new file mode 100644 index 0000000000..8594de4b7d Binary files /dev/null and b/sdk/zoom/modules/dustbox/media/thumbnail.png differ diff --git a/sdk/zoom/modules/dustbox/modwerk.module.json b/sdk/zoom/modules/dustbox/modwerk.module.json new file mode 100644 index 0000000000..e0cb02fea1 --- /dev/null +++ b/sdk/zoom/modules/dustbox/modwerk.module.json @@ -0,0 +1,186 @@ +{ + "schemaVersion": 3, + "id": "dustbox", + "name": "Dustbox", + "version": "1.0.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "marcfuentes", + "name": "Marcelo Fuentes", + "credits": [ + "Marcelo Fuentes (Dustbox)", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "marcfuentes", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/dustbox" + }, + "presentation": { + "label": "DUSTBOX", + "family": "Fuzz", + "summary": "A Buzz Box-style fuzz with a flip-flop sub-octave. Contributed by Marcelo Fuentes (MIT).", + "overview": "A Buzz Box-style fuzz with a flip-flop sub-octave. Contributed by Marcelo Fuentes (MIT).", + "highlights": [ + "Play a sustained note and vary Power to hear how the fuzz breaks up." + ], + "usage": [ + "Add Dustbox from the Delay group to a spare patch.", + "Play a sustained note and vary Power to hear how the fuzz breaks up.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Dustbox.", + "steps": [ + "Add Dustbox from the Delay group to a spare patch.", + "Play a sustained note and vary Power to hear how the fuzz breaks up." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Dust", + "default": 50, + "doc": "params[5]. (was Heavy) Blend distortion (0) <-> sub-octave fuzz (100, 2 octaves down). The ONLY knob that adds the octave; at 0 no octave is present. Knob 1, matching the real FX33's Heavy/Buzz/Saw/Thrust layout order. Range 0–100.", + "labels": null + }, + { + "name": "Motor", + "default": 60, + "doc": "params[6]. (was Buzz) Gain / distortion amount only -- never adds the octave. Range 0–100.", + "labels": null + }, + { + "name": "Filt", + "default": 50, + "doc": "params[7]. (was Saw) Tone: single high-shelf. 0 = dark, 50 = flat, 100 = bright. Range 0–100.", + "labels": null + }, + { + "name": "Power", + "default": 50, + "doc": "Output level. Raised from the original's default of 1 so the effect is audible when selected, matching the rest of this pack. Note this is a LEVEL, not a dry/wet crossfade -- Dustbox's blend is Dust, which fades between the distortion and the octave branch rather than against dry. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Dustbox.ZDL", + "effectId": { + "gid": 8, + "fxid": 463 + }, + "effectVersion": "1.00", + "dspCost": 20.0, + "binary": { + "sha256": "46edd0332f2cd18dcebee93ad43e0dc66221719b4f3fdd12df27c8ac3ba58928", + "bytes": 9382, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "dustbox-1.00", + "asset": "Dustbox.ZDL" + } + }, + "screen": "static", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 9382, + "fastBytes": null, + "load": { + "display": "DSP 20 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "1.0.0", + "sourceSha256": "46edd0332f2cd18dcebee93ad43e0dc66221719b4f3fdd12df27c8ac3ba58928", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Dustbox from the Delay group to a spare patch.", + "Play a sustained note and vary Power to hear how the fuzz breaks up.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Dustbox in the MultiStomp Editor", + "alt": "Dustbox editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/dustbox.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Dustbox embedded cover", + "alt": "The monochrome effect cover for Dustbox", + "credit": "Marcelo Fuentes and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "1.0.0", + "imageSha256": "46edd0332f2cd18dcebee93ad43e0dc66221719b4f3fdd12df27c8ac3ba58928", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/flower/LICENSE b/sdk/zoom/modules/flower/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/flower/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/flower/README.md b/sdk/zoom/modules/flower/README.md new file mode 100644 index 0000000000..3125683007 --- /dev/null +++ b/sdk/zoom/modules/flower/README.md @@ -0,0 +1,38 @@ +# Flower + +## Overview + +A Korg-style random sample-and-hold step filter: the "Digital Bath" sound. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Rate | 45 | params[5]. Random step speed (~0.5..14 Hz). Range 0–100. | +| Mix | 50 | Mix default 1 (quiet-safe). The editor materialises patches on load (full-patch send), so audible-on-load no longer needs a hot default. Range 0–100. | + +## Usage + +Hold a chord and listen for its filter movement. + +### Quick tutorial + +1. Add Flower from the Delay group to a spare patch. +2. Hold a chord and listen for its filter movement. +3. Compare the effect with bypass using the footswitch. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/flower) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/flower/TESTING.md b/sdk/zoom/modules/flower/TESTING.md new file mode 100644 index 0000000000..92ad4c215f --- /dev/null +++ b/sdk/zoom/modules/flower/TESTING.md @@ -0,0 +1,9 @@ +# Flower 2.0.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. + +Flower.ZDL, 6,030 bytes, Delay 451, header 2.00, SHA-256 `3075e592e86fe95ff9744112a7997766aac5df127108653dd81746ee7d64ae15`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/flower) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/flower/media/capture.json b/sdk/zoom/modules/flower/media/capture.json new file mode 100644 index 0000000000..57d17c9180 --- /dev/null +++ b/sdk/zoom/modules/flower/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "flower", + "moduleVersion": "2.0.0", + "imageSha256": "3075e592e86fe95ff9744112a7997766aac5df127108653dd81746ee7d64ae15", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "0a0c103f55e37f255727159e335fc2541fb63f34ed96b5013029e0a9ad4e1c98", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/flower/media/cover.png b/sdk/zoom/modules/flower/media/cover.png new file mode 100644 index 0000000000..2b4a1d0447 Binary files /dev/null and b/sdk/zoom/modules/flower/media/cover.png differ diff --git a/sdk/zoom/modules/flower/media/thumbnail.png b/sdk/zoom/modules/flower/media/thumbnail.png new file mode 100644 index 0000000000..851fb789fb Binary files /dev/null and b/sdk/zoom/modules/flower/media/thumbnail.png differ diff --git a/sdk/zoom/modules/flower/modwerk.module.json b/sdk/zoom/modules/flower/modwerk.module.json new file mode 100644 index 0000000000..20578a4abc --- /dev/null +++ b/sdk/zoom/modules/flower/modwerk.module.json @@ -0,0 +1,174 @@ +{ + "schemaVersion": 3, + "id": "flower", + "name": "Flower", + "version": "2.0.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/flower" + }, + "presentation": { + "label": "FLOWER", + "family": "Filter", + "summary": "A Korg-style random sample-and-hold step filter: the \"Digital Bath\" sound.", + "overview": "A Korg-style random sample-and-hold step filter: the \"Digital Bath\" sound.", + "highlights": [ + "Hold a chord and listen for its filter movement." + ], + "usage": [ + "Add Flower from the Delay group to a spare patch.", + "Hold a chord and listen for its filter movement.", + "Compare the effect with bypass using the footswitch." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Flower.", + "steps": [ + "Add Flower from the Delay group to a spare patch.", + "Hold a chord and listen for its filter movement." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Rate", + "default": 45, + "doc": "params[5]. Random step speed (~0.5..14 Hz). Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 50, + "doc": "Mix default 1 (quiet-safe). The editor materialises patches on load (full-patch send), so audible-on-load no longer needs a hot default. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Flower.ZDL", + "effectId": { + "gid": 8, + "fxid": 451 + }, + "effectVersion": "2.00", + "dspCost": 20.0, + "binary": { + "sha256": "3075e592e86fe95ff9744112a7997766aac5df127108653dd81746ee7d64ae15", + "bytes": 6030, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "flower-2.00", + "asset": "Flower.ZDL" + } + }, + "screen": "static", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 6030, + "fastBytes": null, + "load": { + "display": "DSP 20 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "2.0.0", + "sourceSha256": "3075e592e86fe95ff9744112a7997766aac5df127108653dd81746ee7d64ae15", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Flower from the Delay group to a spare patch.", + "Hold a chord and listen for its filter movement.", + "Compare the effect with bypass using the footswitch." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Flower in the MultiStomp Editor", + "alt": "Flower editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/flower.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Flower embedded cover", + "alt": "The monochrome effect cover for Flower", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "2.0.0", + "imageSha256": "3075e592e86fe95ff9744112a7997766aac5df127108653dd81746ee7d64ae15", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/galactic/LICENSE b/sdk/zoom/modules/galactic/LICENSE new file mode 100644 index 0000000000..49b807bbf4 --- /dev/null +++ b/sdk/zoom/modules/galactic/LICENSE @@ -0,0 +1,192 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. + +MIT License + +Copyright (c) 2018 Chris Johnson + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/zoom/modules/galactic/README.md b/sdk/zoom/modules/galactic/README.md new file mode 100644 index 0000000000..ec4a840473 --- /dev/null +++ b/sdk/zoom/modules/galactic/README.md @@ -0,0 +1,41 @@ +# Galactic + +## Overview + +Airwindows' lush Galactic reverb, its wet path boosted for pedal levels. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Repl | 50 | Airwindows A. Reverb replacement/regeneration balance. Range 0–100. | +| Brght | 50 | Airwindows B. Reverb brightness/lowpass. Range 0–100. | +| Detun | 50 | Airwindows C. Predelay vibrato drift. Range 0–100. | +| Size | 100 | Airwindows D. Delay-network size. Range 0–100. | +| Mix | 50 | Dry/wet crossfade. Renamed from 'DryWet' so every effect in the pack ends with the same control. Range 0–100. | + +## Usage + +Play a short chord and listen to the modulated stereo reverb tail. + +### Quick tutorial + +1. Add Galactic from the Delay group to a spare patch. +2. Play a short chord and listen to the modulated stereo reverb tail. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors; Airwindows / Chris Johnson (source or inspiration). [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/airwindows/galactic) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/galactic/TESTING.md b/sdk/zoom/modules/galactic/TESTING.md new file mode 100644 index 0000000000..10c3d736a7 --- /dev/null +++ b/sdk/zoom/modules/galactic/TESTING.md @@ -0,0 +1,9 @@ +# Galactic 1.2.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. + +Galactic.ZDL, 10,466 bytes, Delay 408, header 1.02, SHA-256 `7f41a7fe6f1e685abd2aa93f117d58cd62ea9749a722ebb2671006550a3f0353`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/airwindows/galactic) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/galactic/media/capture.json b/sdk/zoom/modules/galactic/media/capture.json new file mode 100644 index 0000000000..d00b6fcb6b --- /dev/null +++ b/sdk/zoom/modules/galactic/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "galactic", + "moduleVersion": "1.2.0", + "imageSha256": "7f41a7fe6f1e685abd2aa93f117d58cd62ea9749a722ebb2671006550a3f0353", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "7ad8b1a4e680782dea5ca68c30ad241105f811aa2821ef2b4ba7856e4377fb09", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/galactic/media/cover.png b/sdk/zoom/modules/galactic/media/cover.png new file mode 100644 index 0000000000..c0fa67f85d Binary files /dev/null and b/sdk/zoom/modules/galactic/media/cover.png differ diff --git a/sdk/zoom/modules/galactic/media/thumbnail.png b/sdk/zoom/modules/galactic/media/thumbnail.png new file mode 100644 index 0000000000..bc9cf9f325 Binary files /dev/null and b/sdk/zoom/modules/galactic/media/thumbnail.png differ diff --git a/sdk/zoom/modules/galactic/modwerk.module.json b/sdk/zoom/modules/galactic/modwerk.module.json new file mode 100644 index 0000000000..e1cdc21b55 --- /dev/null +++ b/sdk/zoom/modules/galactic/modwerk.module.json @@ -0,0 +1,192 @@ +{ + "schemaVersion": 3, + "id": "galactic", + "name": "Galactic", + "version": "1.2.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors; Airwindows / Chris Johnson (source or inspiration)", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/airwindows/galactic" + }, + "presentation": { + "label": "GALACTIC", + "family": "Reverb", + "summary": "Airwindows' lush Galactic reverb, its wet path boosted for pedal levels.", + "overview": "Airwindows' lush Galactic reverb, its wet path boosted for pedal levels.", + "highlights": [ + "Play a short chord and listen to the modulated stereo reverb tail." + ], + "usage": [ + "Add Galactic from the Delay group to a spare patch.", + "Play a short chord and listen to the modulated stereo reverb tail.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Galactic.", + "steps": [ + "Add Galactic from the Delay group to a spare patch.", + "Play a short chord and listen to the modulated stereo reverb tail." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Repl", + "default": 50, + "doc": "Airwindows A. Reverb replacement/regeneration balance. Range 0–100.", + "labels": null + }, + { + "name": "Brght", + "default": 50, + "doc": "Airwindows B. Reverb brightness/lowpass. Range 0–100.", + "labels": null + }, + { + "name": "Detun", + "default": 50, + "doc": "Airwindows C. Predelay vibrato drift. Range 0–100.", + "labels": null + }, + { + "name": "Size", + "default": 100, + "doc": "Airwindows D. Delay-network size. Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 50, + "doc": "Dry/wet crossfade. Renamed from 'DryWet' so every effect in the pack ends with the same control. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Galactic.ZDL", + "effectId": { + "gid": 8, + "fxid": 408 + }, + "effectVersion": "1.02", + "dspCost": 30.0, + "binary": { + "sha256": "7f41a7fe6f1e685abd2aa93f117d58cd62ea9749a722ebb2671006550a3f0353", + "bytes": 10466, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "galactic-1.02", + "asset": "Galactic.ZDL" + } + }, + "screen": "static", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 10466, + "fastBytes": null, + "load": { + "display": "DSP 30 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "1.2.0", + "sourceSha256": "7f41a7fe6f1e685abd2aa93f117d58cd62ea9749a722ebb2671006550a3f0353", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Galactic from the Delay group to a spare patch.", + "Play a short chord and listen to the modulated stereo reverb tail.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Galactic in the MultiStomp Editor", + "alt": "Galactic editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/galactic.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Galactic embedded cover", + "alt": "The monochrome effect cover for Galactic", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "1.2.0", + "imageSha256": "7f41a7fe6f1e685abd2aa93f117d58cd62ea9749a722ebb2671006550a3f0353", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/genloss/LICENSE b/sdk/zoom/modules/genloss/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/genloss/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/genloss/README.md b/sdk/zoom/modules/genloss/README.md new file mode 100644 index 0000000000..11ee49c13c --- /dev/null +++ b/sdk/zoom/modules/genloss/README.md @@ -0,0 +1,40 @@ +# GenLoss + +## Overview + +Tape and VHS generation loss: wow, a head-bump tone shift and hiss. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Wow | 72 | params[5]. Wow & flutter + pitch instability. Range 0–100. | +| Tone | 52 | params[6]. Bandwidth / brightness (low-pass). Range 0–100. | +| Hiss | 2 | params[7]. Tape hiss / noise-floor level. Range 0–100. | +| Mix | 50 | Dry/wet crossfade. GenLoss previously had NO level or mix control at all -- its last knob was Hiss, a noise amount -- so it was the one effect you could not sit against the dry signal. Range 0–100. | + +## Usage + +Hold a chord and listen for the degraded, unstable tape sound. + +### Quick tutorial + +1. Add GenLoss from the Delay group to a spare patch. +2. Hold a chord and listen for the degraded, unstable tape sound. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/genloss) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/genloss/TESTING.md b/sdk/zoom/modules/genloss/TESTING.md new file mode 100644 index 0000000000..118e48c9dd --- /dev/null +++ b/sdk/zoom/modules/genloss/TESTING.md @@ -0,0 +1,9 @@ +# GenLoss 1.0.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. + +GenLoss.ZDL, 7,278 bytes, Delay 456, header 1.00, SHA-256 `04ca88ae2dc7f4e2c2c8d0fe349434736b2ccf49cc75f7b69793369d8264696e`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/genloss) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/genloss/media/capture.json b/sdk/zoom/modules/genloss/media/capture.json new file mode 100644 index 0000000000..699d5f8da8 --- /dev/null +++ b/sdk/zoom/modules/genloss/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "genloss", + "moduleVersion": "1.0.0", + "imageSha256": "04ca88ae2dc7f4e2c2c8d0fe349434736b2ccf49cc75f7b69793369d8264696e", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "fa9067b9b21b167b45677035f10e82a544196781def98efd4a936eb810364b87", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/genloss/media/cover.png b/sdk/zoom/modules/genloss/media/cover.png new file mode 100644 index 0000000000..027db146cd Binary files /dev/null and b/sdk/zoom/modules/genloss/media/cover.png differ diff --git a/sdk/zoom/modules/genloss/media/thumbnail.png b/sdk/zoom/modules/genloss/media/thumbnail.png new file mode 100644 index 0000000000..14426bcab4 Binary files /dev/null and b/sdk/zoom/modules/genloss/media/thumbnail.png differ diff --git a/sdk/zoom/modules/genloss/modwerk.module.json b/sdk/zoom/modules/genloss/modwerk.module.json new file mode 100644 index 0000000000..bcdd63dbcd --- /dev/null +++ b/sdk/zoom/modules/genloss/modwerk.module.json @@ -0,0 +1,186 @@ +{ + "schemaVersion": 3, + "id": "genloss", + "name": "GenLoss", + "version": "1.0.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/genloss" + }, + "presentation": { + "label": "GENLOSS", + "family": "Tape coloration", + "summary": "Tape and VHS generation loss: wow, a head-bump tone shift and hiss.", + "overview": "Tape and VHS generation loss: wow, a head-bump tone shift and hiss.", + "highlights": [ + "Hold a chord and listen for the degraded, unstable tape sound." + ], + "usage": [ + "Add GenLoss from the Delay group to a spare patch.", + "Hold a chord and listen for the degraded, unstable tape sound.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under GenLoss.", + "steps": [ + "Add GenLoss from the Delay group to a spare patch.", + "Hold a chord and listen for the degraded, unstable tape sound." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Wow", + "default": 72, + "doc": "params[5]. Wow & flutter + pitch instability. Range 0–100.", + "labels": null + }, + { + "name": "Tone", + "default": 52, + "doc": "params[6]. Bandwidth / brightness (low-pass). Range 0–100.", + "labels": null + }, + { + "name": "Hiss", + "default": 2, + "doc": "params[7]. Tape hiss / noise-floor level. Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 50, + "doc": "Dry/wet crossfade. GenLoss previously had NO level or mix control at all -- its last knob was Hiss, a noise amount -- so it was the one effect you could not sit against the dry signal. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "GenLoss.ZDL", + "effectId": { + "gid": 8, + "fxid": 456 + }, + "effectVersion": "1.00", + "dspCost": 20.0, + "binary": { + "sha256": "04ca88ae2dc7f4e2c2c8d0fe349434736b2ccf49cc75f7b69793369d8264696e", + "bytes": 7278, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "genloss-1.00", + "asset": "GenLoss.ZDL" + } + }, + "screen": "static", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 7278, + "fastBytes": null, + "load": { + "display": "DSP 20 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "1.0.0", + "sourceSha256": "04ca88ae2dc7f4e2c2c8d0fe349434736b2ccf49cc75f7b69793369d8264696e", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add GenLoss from the Delay group to a spare patch.", + "Hold a chord and listen for the degraded, unstable tape sound.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "GenLoss in the MultiStomp Editor", + "alt": "GenLoss editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/genloss.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "GenLoss embedded cover", + "alt": "The monochrome effect cover for GenLoss", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "1.0.0", + "imageSha256": "04ca88ae2dc7f4e2c2c8d0fe349434736b2ccf49cc75f7b69793369d8264696e", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/gyre/LICENSE b/sdk/zoom/modules/gyre/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/gyre/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/gyre/README.md b/sdk/zoom/modules/gyre/README.md new file mode 100644 index 0000000000..3945a4f846 --- /dev/null +++ b/sdk/zoom/modules/gyre/README.md @@ -0,0 +1,44 @@ +# Gyre + +## Overview + +A loop you hold that keeps spiralling: two grains half a window apart make it unity-gain, so Decay at 0 holds for ever and Rise climbs or sinks it each pass. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Size | 45 | Loop length, ~40 ms to ~2.9 s, squared so the short end -- where it reads as a stutter rather than a phrase -- gets most of the travel. On knob 1: verbatim-stock LineSel handler, and the control you reach for first. Range 0–100. | +| Feed | 60 | How much of what you play enters the loop. At 0 the loop is sealed and what is already captured is all there is; turn it up and the loop keeps absorbing. This is the record control. Range 0–100. | +| Decay | 0 | 0 holds forever -- the loop neither grows nor fades, because the two-grain window sums to exactly 1. Above 0 it fades, squared so the bottom of the knob is a very slow bloom and the top a short tail. This is the way out, and it always works. Range 0–100. | +| Rise | 50 | Per-pass pitch ratio: 0 is an octave down, 50 unity, 100 an octave up. The shift COMPOUNDS around the loop, so the held audio climbs or sinks endlessly instead of sitting still. Range 0–100. | +| Glide | 0 | Depth of an onset-triggered ramp on that ratio. A new phrase resets the ramp, so the loop starts at pitch and drifts away over Span. Range 0–100. | +| Span | 50 | How long the Glide ramp takes, ~0.19 s to ~8 s. Cubic in the knob so the long end keeps its resolution. Range 0–100. | +| Tone | 55 | Low-pass inside the loop. This is what makes a held loop darken as it circulates rather than repeating identically forever. Range 0–100. | +| Mix | 50 | Dry/wet crossfade. Range 0–100. | + +## Usage + +Play a short phrase and check how the captured grains replay. + +### Quick tutorial + +1. Add Gyre from the Delay group to a spare patch. +2. Play a short phrase and check how the captured grains replay. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/gyre) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/gyre/TESTING.md b/sdk/zoom/modules/gyre/TESTING.md new file mode 100644 index 0000000000..1c68bafac7 --- /dev/null +++ b/sdk/zoom/modules/gyre/TESTING.md @@ -0,0 +1,9 @@ +# Gyre 1.0.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. + +Gyre.ZDL, 7,482 bytes, Delay 484, header 1.00, SHA-256 `c7de68b262567e37ecec35a4cdae49b0caf88e0b1ffc495d358b78975c0b621a`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/gyre) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/gyre/media/capture.json b/sdk/zoom/modules/gyre/media/capture.json new file mode 100644 index 0000000000..4fe97e1ce3 --- /dev/null +++ b/sdk/zoom/modules/gyre/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "gyre", + "moduleVersion": "1.0.0", + "imageSha256": "c7de68b262567e37ecec35a4cdae49b0caf88e0b1ffc495d358b78975c0b621a", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "520d4cf348bda2a29bbe73039a57cf7ef3339547e25bf24725ad0bfc9b6631c3", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/gyre/media/cover.png b/sdk/zoom/modules/gyre/media/cover.png new file mode 100644 index 0000000000..a07f21d5f1 Binary files /dev/null and b/sdk/zoom/modules/gyre/media/cover.png differ diff --git a/sdk/zoom/modules/gyre/media/thumbnail.png b/sdk/zoom/modules/gyre/media/thumbnail.png new file mode 100644 index 0000000000..a9952c2010 Binary files /dev/null and b/sdk/zoom/modules/gyre/media/thumbnail.png differ diff --git a/sdk/zoom/modules/gyre/modwerk.module.json b/sdk/zoom/modules/gyre/modwerk.module.json new file mode 100644 index 0000000000..25185b54ee --- /dev/null +++ b/sdk/zoom/modules/gyre/modwerk.module.json @@ -0,0 +1,210 @@ +{ + "schemaVersion": 3, + "id": "gyre", + "name": "Gyre", + "version": "1.0.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/gyre" + }, + "presentation": { + "label": "GYRE", + "family": "Granular delay", + "summary": "A loop you hold that keeps spiralling: two grains half a window apart make it unity-gain, so Decay at 0 holds for ever and Rise climbs or sinks it each pass.", + "overview": "A loop you hold that keeps spiralling: two grains half a window apart make it unity-gain, so Decay at 0 holds for ever and Rise climbs or sinks it each pass.", + "highlights": [ + "Play a short phrase and check how the captured grains replay." + ], + "usage": [ + "Add Gyre from the Delay group to a spare patch.", + "Play a short phrase and check how the captured grains replay.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Gyre.", + "steps": [ + "Add Gyre from the Delay group to a spare patch.", + "Play a short phrase and check how the captured grains replay." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Size", + "default": 45, + "doc": "Loop length, ~40 ms to ~2.9 s, squared so the short end -- where it reads as a stutter rather than a phrase -- gets most of the travel. On knob 1: verbatim-stock LineSel handler, and the control you reach for first. Range 0–100.", + "labels": null + }, + { + "name": "Feed", + "default": 60, + "doc": "How much of what you play enters the loop. At 0 the loop is sealed and what is already captured is all there is; turn it up and the loop keeps absorbing. This is the record control. Range 0–100.", + "labels": null + }, + { + "name": "Decay", + "default": 0, + "doc": "0 holds forever -- the loop neither grows nor fades, because the two-grain window sums to exactly 1. Above 0 it fades, squared so the bottom of the knob is a very slow bloom and the top a short tail. This is the way out, and it always works. Range 0–100.", + "labels": null + }, + { + "name": "Rise", + "default": 50, + "doc": "Per-pass pitch ratio: 0 is an octave down, 50 unity, 100 an octave up. The shift COMPOUNDS around the loop, so the held audio climbs or sinks endlessly instead of sitting still. Range 0–100.", + "labels": null + }, + { + "name": "Glide", + "default": 0, + "doc": "Depth of an onset-triggered ramp on that ratio. A new phrase resets the ramp, so the loop starts at pitch and drifts away over Span. Range 0–100.", + "labels": null + }, + { + "name": "Span", + "default": 50, + "doc": "How long the Glide ramp takes, ~0.19 s to ~8 s. Cubic in the knob so the long end keeps its resolution. Range 0–100.", + "labels": null + }, + { + "name": "Tone", + "default": 55, + "doc": "Low-pass inside the loop. This is what makes a held loop darken as it circulates rather than repeating identically forever. Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 50, + "doc": "Dry/wet crossfade. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Gyre.ZDL", + "effectId": { + "gid": 8, + "fxid": 484 + }, + "effectVersion": "1.00", + "dspCost": 20.0, + "binary": { + "sha256": "c7de68b262567e37ecec35a4cdae49b0caf88e0b1ffc495d358b78975c0b621a", + "bytes": 7482, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "gyre-1.00", + "asset": "Gyre.ZDL" + } + }, + "screen": "static", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 7482, + "fastBytes": null, + "load": { + "display": "DSP 20 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "1.0.0", + "sourceSha256": "c7de68b262567e37ecec35a4cdae49b0caf88e0b1ffc495d358b78975c0b621a", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Gyre from the Delay group to a spare patch.", + "Play a short phrase and check how the captured grains replay.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Gyre in the MultiStomp Editor", + "alt": "Gyre editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/gyre.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Gyre embedded cover", + "alt": "The monochrome effect cover for Gyre", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "1.0.0", + "imageSha256": "c7de68b262567e37ecec35a4cdae49b0caf88e0b1ffc495d358b78975c0b621a", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/horizon/LICENSE b/sdk/zoom/modules/horizon/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/horizon/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/horizon/README.md b/sdk/zoom/modules/horizon/README.md new file mode 100644 index 0000000000..1a9dedfc0b --- /dev/null +++ b/sdk/zoom/modules/horizon/README.md @@ -0,0 +1,45 @@ +# Horizon + +## Overview + +A huge, spacey reverb: eight long, slowly moving lines, from a room to a cathedral, a minute-long tail and a hold, a swell that blooms each note in. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Size | 70 | params[5]. The space, a room to a cathedral (the delay lines x0.35 .. x1.52); turning it bends the pitch of the tail. Range 0–100. | +| Decay | 60 | params[6]. Reverb time, about 0.8 s to a minute; 100 holds the tail forever and stops taking new sound. Range 0–100. | +| Pre | 15 | params[7]. Pre-delay, 0 .. 370 ms. Range 0–100. | +| Mod | 35 | params[8]. Slow movement of the delay lines: chorus in the tail, shimmer at the top. Range 0–100. | +| Lo | 20 | params[9]. Low cut inside the tail, 20 .. 600 Hz. Range 0–100. | +| Hi | 55 | params[10]. High cut inside the tail, 1.5 .. 16 kHz: dark to bright. Range 0–100. | +| Swell | 0 | params[11]. Each note blooms into the reverb, over up to 2 s; 0 off. Range 0–100. | +| Width | 80 | params[12]. Stereo width of the tail, mono .. extra wide. Range 0–100. | +| Mix | 45 | params[13]. Dry/wet. Range 0–100. | + +## Usage + +Send a short pulse and then a sustained chord. Listen to the reverb tail for crackles. + +### Quick tutorial + +1. Add Horizon from the Delay group to a spare patch. +2. Send a short pulse and then a sustained chord. Listen to the reverb tail for crackles. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/horizon) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/horizon/TESTING.md b/sdk/zoom/modules/horizon/TESTING.md new file mode 100644 index 0000000000..ebbdb5c5d3 --- /dev/null +++ b/sdk/zoom/modules/horizon/TESTING.md @@ -0,0 +1,9 @@ +# Horizon 0.3.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. The display guard compares an aggregate checksum over the known OS locations. + +Horizon.ZDL, 20,230 bytes, Delay 419, header 0.03, SHA-256 `e7422a884ad56e13346f2dc186da4e3b2599beee756ebeac2a08970208e600d2`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/horizon) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/horizon/media/capture.json b/sdk/zoom/modules/horizon/media/capture.json new file mode 100644 index 0000000000..7979b8a1aa --- /dev/null +++ b/sdk/zoom/modules/horizon/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "horizon", + "moduleVersion": "0.3.0", + "imageSha256": "e7422a884ad56e13346f2dc186da4e3b2599beee756ebeac2a08970208e600d2", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "ab04da8df55a752a988ef12aabc76910020eba5526bd1cf8a385533532edfdda", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/horizon/media/cover.png b/sdk/zoom/modules/horizon/media/cover.png new file mode 100644 index 0000000000..f2716e3717 Binary files /dev/null and b/sdk/zoom/modules/horizon/media/cover.png differ diff --git a/sdk/zoom/modules/horizon/media/thumbnail.png b/sdk/zoom/modules/horizon/media/thumbnail.png new file mode 100644 index 0000000000..61223185c7 Binary files /dev/null and b/sdk/zoom/modules/horizon/media/thumbnail.png differ diff --git a/sdk/zoom/modules/horizon/modwerk.module.json b/sdk/zoom/modules/horizon/modwerk.module.json new file mode 100644 index 0000000000..55acbfc80d --- /dev/null +++ b/sdk/zoom/modules/horizon/modwerk.module.json @@ -0,0 +1,216 @@ +{ + "schemaVersion": 3, + "id": "horizon", + "name": "Horizon", + "version": "0.3.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/horizon" + }, + "presentation": { + "label": "HORIZON", + "family": "Reverb", + "summary": "A huge, spacey reverb: eight long, slowly moving lines, from a room to a cathedral, a minute-long tail and a hold, a swell that blooms each note in.", + "overview": "A huge, spacey reverb: eight long, slowly moving lines, from a room to a cathedral, a minute-long tail and a hold, a swell that blooms each note in.", + "highlights": [ + "Send a short pulse and then a sustained chord. Listen to the reverb tail for crackles." + ], + "usage": [ + "Add Horizon from the Delay group to a spare patch.", + "Send a short pulse and then a sustained chord. Listen to the reverb tail for crackles.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Horizon.", + "steps": [ + "Add Horizon from the Delay group to a spare patch.", + "Send a short pulse and then a sustained chord. Listen to the reverb tail for crackles." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Size", + "default": 70, + "doc": "params[5]. The space, a room to a cathedral (the delay lines x0.35 .. x1.52); turning it bends the pitch of the tail. Range 0–100.", + "labels": null + }, + { + "name": "Decay", + "default": 60, + "doc": "params[6]. Reverb time, about 0.8 s to a minute; 100 holds the tail forever and stops taking new sound. Range 0–100.", + "labels": null + }, + { + "name": "Pre", + "default": 15, + "doc": "params[7]. Pre-delay, 0 .. 370 ms. Range 0–100.", + "labels": null + }, + { + "name": "Mod", + "default": 35, + "doc": "params[8]. Slow movement of the delay lines: chorus in the tail, shimmer at the top. Range 0–100.", + "labels": null + }, + { + "name": "Lo", + "default": 20, + "doc": "params[9]. Low cut inside the tail, 20 .. 600 Hz. Range 0–100.", + "labels": null + }, + { + "name": "Hi", + "default": 55, + "doc": "params[10]. High cut inside the tail, 1.5 .. 16 kHz: dark to bright. Range 0–100.", + "labels": null + }, + { + "name": "Swell", + "default": 0, + "doc": "params[11]. Each note blooms into the reverb, over up to 2 s; 0 off. Range 0–100.", + "labels": null + }, + { + "name": "Width", + "default": 80, + "doc": "params[12]. Stereo width of the tail, mono .. extra wide. Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 45, + "doc": "params[13]. Dry/wet. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Horizon.ZDL", + "effectId": { + "gid": 8, + "fxid": 419 + }, + "effectVersion": "0.03", + "dspCost": 50.0, + "binary": { + "sha256": "e7422a884ad56e13346f2dc186da4e3b2599beee756ebeac2a08970208e600d2", + "bytes": 20230, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "horizon-0.03", + "asset": "Horizon.ZDL" + } + }, + "screen": "live", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 20230, + "fastBytes": null, + "load": { + "display": "DSP 50 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "0.3.0", + "sourceSha256": "e7422a884ad56e13346f2dc186da4e3b2599beee756ebeac2a08970208e600d2", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Horizon from the Delay group to a spare patch.", + "Send a short pulse and then a sustained chord. Listen to the reverb tail for crackles.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Horizon in the MultiStomp Editor", + "alt": "Horizon editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/horizon.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Horizon embedded cover", + "alt": "The monochrome effect cover for Horizon", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "0.3.0", + "imageSha256": "e7422a884ad56e13346f2dc186da4e3b2599beee756ebeac2a08970208e600d2", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/horizonl/LICENSE b/sdk/zoom/modules/horizonl/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/horizonl/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/horizonl/README.md b/sdk/zoom/modules/horizonl/README.md new file mode 100644 index 0000000000..9e5dcd67f4 --- /dev/null +++ b/sdk/zoom/modules/horizonl/README.md @@ -0,0 +1,45 @@ +# HorizonL + +## Overview + +Horizon at half the sample rate inside: the same space for about half the DSP, for chains where Horizon crackles. Hi tops out at 10 kHz. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Size | 70 | params[5]. The space, a room to a cathedral (the delay lines x0.35 .. x1.52); turning it bends the pitch of the tail. Range 0–100. | +| Decay | 60 | params[6]. Reverb time, about 0.8 s to a minute; 100 holds the tail forever and stops taking new sound. Range 0–100. | +| Pre | 15 | params[7]. Pre-delay, 0 .. 370 ms. Range 0–100. | +| Mod | 35 | params[8]. Slow movement of the delay lines: chorus in the tail, shimmer at the top. Range 0–100. | +| Lo | 20 | params[9]. Low cut inside the tail, 20 .. 600 Hz. Range 0–100. | +| Hi | 55 | params[10]. High cut inside the tail, 1.5 .. 10 kHz: dark to bright. Range 0–100. | +| Swell | 0 | params[11]. Each note blooms into the reverb, over up to 2 s; 0 off. Range 0–100. | +| Width | 80 | params[12]. Stereo width of the tail, mono .. extra wide. Range 0–100. | +| Mix | 45 | params[13]. Dry/wet. Range 0–100. | + +## Usage + +Repeat the Horizon test with the half-rate build and compare the tail. + +### Quick tutorial + +1. Add HorizonL from the Delay group to a spare patch. +2. Repeat the Horizon test with the half-rate build and compare the tail. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/horizonl) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/horizonl/TESTING.md b/sdk/zoom/modules/horizonl/TESTING.md new file mode 100644 index 0000000000..b6d19bb8f9 --- /dev/null +++ b/sdk/zoom/modules/horizonl/TESTING.md @@ -0,0 +1,9 @@ +# HorizonL 0.2.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. The display guard compares an aggregate checksum over the known OS locations. + +HorizonL.ZDL, 20,702 bytes, Delay 420, header 0.02, SHA-256 `ca0d9022243ab343ce115aba55560074de6ea30b8e20fdee496f097ed413ee3b`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/horizonl) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/horizonl/media/capture.json b/sdk/zoom/modules/horizonl/media/capture.json new file mode 100644 index 0000000000..b13ac3d969 --- /dev/null +++ b/sdk/zoom/modules/horizonl/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "horizonl", + "moduleVersion": "0.2.0", + "imageSha256": "ca0d9022243ab343ce115aba55560074de6ea30b8e20fdee496f097ed413ee3b", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "5c72a842a109ac74dc14d2d79876fbbb7d332fdef36aa0937cb5613039aed9fa", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/horizonl/media/cover.png b/sdk/zoom/modules/horizonl/media/cover.png new file mode 100644 index 0000000000..a066c6e784 Binary files /dev/null and b/sdk/zoom/modules/horizonl/media/cover.png differ diff --git a/sdk/zoom/modules/horizonl/media/thumbnail.png b/sdk/zoom/modules/horizonl/media/thumbnail.png new file mode 100644 index 0000000000..fa203b76d3 Binary files /dev/null and b/sdk/zoom/modules/horizonl/media/thumbnail.png differ diff --git a/sdk/zoom/modules/horizonl/modwerk.module.json b/sdk/zoom/modules/horizonl/modwerk.module.json new file mode 100644 index 0000000000..0e7bf08319 --- /dev/null +++ b/sdk/zoom/modules/horizonl/modwerk.module.json @@ -0,0 +1,216 @@ +{ + "schemaVersion": 3, + "id": "horizonl", + "name": "HorizonL", + "version": "0.2.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/horizonl" + }, + "presentation": { + "label": "HORIZONL", + "family": "Reverb", + "summary": "Horizon at half the sample rate inside: the same space for about half the DSP, for chains where Horizon crackles. Hi tops out at 10 kHz.", + "overview": "Horizon at half the sample rate inside: the same space for about half the DSP, for chains where Horizon crackles. Hi tops out at 10 kHz.", + "highlights": [ + "Repeat the Horizon test with the half-rate build and compare the tail." + ], + "usage": [ + "Add HorizonL from the Delay group to a spare patch.", + "Repeat the Horizon test with the half-rate build and compare the tail.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under HorizonL.", + "steps": [ + "Add HorizonL from the Delay group to a spare patch.", + "Repeat the Horizon test with the half-rate build and compare the tail." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Size", + "default": 70, + "doc": "params[5]. The space, a room to a cathedral (the delay lines x0.35 .. x1.52); turning it bends the pitch of the tail. Range 0–100.", + "labels": null + }, + { + "name": "Decay", + "default": 60, + "doc": "params[6]. Reverb time, about 0.8 s to a minute; 100 holds the tail forever and stops taking new sound. Range 0–100.", + "labels": null + }, + { + "name": "Pre", + "default": 15, + "doc": "params[7]. Pre-delay, 0 .. 370 ms. Range 0–100.", + "labels": null + }, + { + "name": "Mod", + "default": 35, + "doc": "params[8]. Slow movement of the delay lines: chorus in the tail, shimmer at the top. Range 0–100.", + "labels": null + }, + { + "name": "Lo", + "default": 20, + "doc": "params[9]. Low cut inside the tail, 20 .. 600 Hz. Range 0–100.", + "labels": null + }, + { + "name": "Hi", + "default": 55, + "doc": "params[10]. High cut inside the tail, 1.5 .. 10 kHz: dark to bright. Range 0–100.", + "labels": null + }, + { + "name": "Swell", + "default": 0, + "doc": "params[11]. Each note blooms into the reverb, over up to 2 s; 0 off. Range 0–100.", + "labels": null + }, + { + "name": "Width", + "default": 80, + "doc": "params[12]. Stereo width of the tail, mono .. extra wide. Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 45, + "doc": "params[13]. Dry/wet. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "HorizonL.ZDL", + "effectId": { + "gid": 8, + "fxid": 420 + }, + "effectVersion": "0.02", + "dspCost": 35.0, + "binary": { + "sha256": "ca0d9022243ab343ce115aba55560074de6ea30b8e20fdee496f097ed413ee3b", + "bytes": 20702, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "horizonl-0.02", + "asset": "HorizonL.ZDL" + } + }, + "screen": "live", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 20702, + "fastBytes": null, + "load": { + "display": "DSP 35 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "0.2.0", + "sourceSha256": "ca0d9022243ab343ce115aba55560074de6ea30b8e20fdee496f097ed413ee3b", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add HorizonL from the Delay group to a spare patch.", + "Repeat the Horizon test with the half-rate build and compare the tail.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "HorizonL in the MultiStomp Editor", + "alt": "HorizonL editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/horizonl.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "HorizonL embedded cover", + "alt": "The monochrome effect cover for HorizonL", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "0.2.0", + "imageSha256": "ca0d9022243ab343ce115aba55560074de6ea30b8e20fdee496f097ed413ee3b", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/howl/LICENSE b/sdk/zoom/modules/howl/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/howl/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/howl/README.md b/sdk/zoom/modules/howl/README.md new file mode 100644 index 0000000000..43a010b1c0 --- /dev/null +++ b/sdk/zoom/modules/howl/README.md @@ -0,0 +1,39 @@ +# Howl + +## Overview + +A Total Sonic Annihilation-style feedback loop that self-oscillates on demand. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Tune | 17 | params[5]. Oscillation/resonant frequency. Range 0–100. | +| Anhil | 34 | params[6]. Pole radius: short ring -> long howl. Range 0–100. | +| Mix | 50 | Dry/wet crossfade. Renamed from 'Level' so every effect in the pack ends with the same control. Range 0–100. | + +## Usage + +Use short notes and bring feedback up gradually to hear when it starts sustaining. + +### Quick tutorial + +1. Add Howl from the Delay group to a spare patch. +2. Use short notes and bring feedback up gradually to hear when it starts sustaining. +3. Compare the effect with bypass using the footswitch. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/howl) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/howl/TESTING.md b/sdk/zoom/modules/howl/TESTING.md new file mode 100644 index 0000000000..b9a4b21540 --- /dev/null +++ b/sdk/zoom/modules/howl/TESTING.md @@ -0,0 +1,9 @@ +# Howl 2.0.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. + +Howl.ZDL, 6,274 bytes, Delay 458, header 2.00, SHA-256 `2f8a67f2fc75d1bc37961c7f02db4ef24493362c80786c6e6400b1810254a341`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/howl) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/howl/media/capture.json b/sdk/zoom/modules/howl/media/capture.json new file mode 100644 index 0000000000..336eb6342d --- /dev/null +++ b/sdk/zoom/modules/howl/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "howl", + "moduleVersion": "2.0.0", + "imageSha256": "2f8a67f2fc75d1bc37961c7f02db4ef24493362c80786c6e6400b1810254a341", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "65d7457d9efab0879577ec282effa5c310618e3ff1169c1e494914bd23bf8a14", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/howl/media/cover.png b/sdk/zoom/modules/howl/media/cover.png new file mode 100644 index 0000000000..336ae798a4 Binary files /dev/null and b/sdk/zoom/modules/howl/media/cover.png differ diff --git a/sdk/zoom/modules/howl/media/thumbnail.png b/sdk/zoom/modules/howl/media/thumbnail.png new file mode 100644 index 0000000000..56cb29a1a3 Binary files /dev/null and b/sdk/zoom/modules/howl/media/thumbnail.png differ diff --git a/sdk/zoom/modules/howl/modwerk.module.json b/sdk/zoom/modules/howl/modwerk.module.json new file mode 100644 index 0000000000..7f799b0706 --- /dev/null +++ b/sdk/zoom/modules/howl/modwerk.module.json @@ -0,0 +1,180 @@ +{ + "schemaVersion": 3, + "id": "howl", + "name": "Howl", + "version": "2.0.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/howl" + }, + "presentation": { + "label": "HOWL", + "family": "Feedback", + "summary": "A Total Sonic Annihilation-style feedback loop that self-oscillates on demand.", + "overview": "A Total Sonic Annihilation-style feedback loop that self-oscillates on demand.", + "highlights": [ + "Use short notes and bring feedback up gradually to hear when it starts sustaining." + ], + "usage": [ + "Add Howl from the Delay group to a spare patch.", + "Use short notes and bring feedback up gradually to hear when it starts sustaining.", + "Compare the effect with bypass using the footswitch." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Howl.", + "steps": [ + "Add Howl from the Delay group to a spare patch.", + "Use short notes and bring feedback up gradually to hear when it starts sustaining." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Tune", + "default": 17, + "doc": "params[5]. Oscillation/resonant frequency. Range 0–100.", + "labels": null + }, + { + "name": "Anhil", + "default": 34, + "doc": "params[6]. Pole radius: short ring -> long howl. Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 50, + "doc": "Dry/wet crossfade. Renamed from 'Level' so every effect in the pack ends with the same control. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Howl.ZDL", + "effectId": { + "gid": 8, + "fxid": 458 + }, + "effectVersion": "2.00", + "dspCost": 20.0, + "binary": { + "sha256": "2f8a67f2fc75d1bc37961c7f02db4ef24493362c80786c6e6400b1810254a341", + "bytes": 6274, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "howl-2.00", + "asset": "Howl.ZDL" + } + }, + "screen": "static", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 6274, + "fastBytes": null, + "load": { + "display": "DSP 20 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "2.0.0", + "sourceSha256": "2f8a67f2fc75d1bc37961c7f02db4ef24493362c80786c6e6400b1810254a341", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Howl from the Delay group to a spare patch.", + "Use short notes and bring feedback up gradually to hear when it starts sustaining.", + "Compare the effect with bypass using the footswitch." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Howl in the MultiStomp Editor", + "alt": "Howl editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/howl.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Howl embedded cover", + "alt": "The monochrome effect cover for Howl", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "2.0.0", + "imageSha256": "2f8a67f2fc75d1bc37961c7f02db4ef24493362c80786c6e6400b1810254a341", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/hydra/LICENSE b/sdk/zoom/modules/hydra/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/hydra/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/hydra/README.md b/sdk/zoom/modules/hydra/README.md new file mode 100644 index 0000000000..1e9112d818 --- /dev/null +++ b/sdk/zoom/modules/hydra/README.md @@ -0,0 +1,42 @@ +# Hydra + +## Overview + +Two extra playheads on one delay: a double-time ghost an octave up and a half-time drag an octave down, locked to tempo. Built for drums. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Div | 42 | Re-trigger length as a division of Tempo. Position 0 is Grain: a fixed 256-sample window, free-running, which is the granular octave-shifter mode the tempo ladder cannot reach. Above that: 1/32, 1/16T, 1/16, 1/8T, 1/8, dotted 1/8, 1/4. Default 42 = 1/16 (DSP range 32-43); 1/8T starts at 44. Range 0–100. | +| Tempo | 120 | BPM, read straight off the knob. Clamped to 40..240 in the DSP. Ignored when Div is at Grain. Range 0–240. | +| Fast | 70 | Level of the 2x head: double-time ghost, octave up. Range 0–100. | +| Slow | 55 | Level of the 0.5x head: half-time drag, octave down. Range 0–100. | +| Tone | 45 | Low-pass on the two layers only; the dry stays open. Range 0–100. | +| Mix | 50 | Dry/wet. Range 0–100. | + +## Usage + +Play a short drum loop and listen for separate high double-speed and low half-speed taps. + +### Quick tutorial + +1. Add Hydra from the Delay group to a spare patch. +2. Play a short drum loop and listen for separate high double-speed and low half-speed taps. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/hydra) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/hydra/TESTING.md b/sdk/zoom/modules/hydra/TESTING.md new file mode 100644 index 0000000000..581aceb5b8 --- /dev/null +++ b/sdk/zoom/modules/hydra/TESTING.md @@ -0,0 +1,9 @@ +# Hydra 1.0.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. + +Hydra.ZDL, 7,366 bytes, Delay 459, header 1.00, SHA-256 `5e93e918f46005be8e73557c01fc7f51d266b7e3ffc0a0b2937a21b35bc5a519`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/hydra) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/hydra/media/capture.json b/sdk/zoom/modules/hydra/media/capture.json new file mode 100644 index 0000000000..376acdcf5a --- /dev/null +++ b/sdk/zoom/modules/hydra/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "hydra", + "moduleVersion": "1.0.0", + "imageSha256": "5e93e918f46005be8e73557c01fc7f51d266b7e3ffc0a0b2937a21b35bc5a519", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "7fea336548c8d123e20bd8719e16ad21f9c2d7bfd7949ca0672c106a71106cef", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/hydra/media/cover.png b/sdk/zoom/modules/hydra/media/cover.png new file mode 100644 index 0000000000..9d6edb13d6 Binary files /dev/null and b/sdk/zoom/modules/hydra/media/cover.png differ diff --git a/sdk/zoom/modules/hydra/media/thumbnail.png b/sdk/zoom/modules/hydra/media/thumbnail.png new file mode 100644 index 0000000000..83151275d3 Binary files /dev/null and b/sdk/zoom/modules/hydra/media/thumbnail.png differ diff --git a/sdk/zoom/modules/hydra/modwerk.module.json b/sdk/zoom/modules/hydra/modwerk.module.json new file mode 100644 index 0000000000..d54b96a771 --- /dev/null +++ b/sdk/zoom/modules/hydra/modwerk.module.json @@ -0,0 +1,198 @@ +{ + "schemaVersion": 3, + "id": "hydra", + "name": "Hydra", + "version": "1.0.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/hydra" + }, + "presentation": { + "label": "HYDRA", + "family": "Pitch delay", + "summary": "Two extra playheads on one delay: a double-time ghost an octave up and a half-time drag an octave down, locked to tempo. Built for drums.", + "overview": "Two extra playheads on one delay: a double-time ghost an octave up and a half-time drag an octave down, locked to tempo. Built for drums.", + "highlights": [ + "Play a short drum loop and listen for separate high double-speed and low half-speed taps." + ], + "usage": [ + "Add Hydra from the Delay group to a spare patch.", + "Play a short drum loop and listen for separate high double-speed and low half-speed taps.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Hydra.", + "steps": [ + "Add Hydra from the Delay group to a spare patch.", + "Play a short drum loop and listen for separate high double-speed and low half-speed taps." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Div", + "default": 42, + "doc": "Re-trigger length as a division of Tempo. Position 0 is Grain: a fixed 256-sample window, free-running, which is the granular octave-shifter mode the tempo ladder cannot reach. Above that: 1/32, 1/16T, 1/16, 1/8T, 1/8, dotted 1/8, 1/4. Default 42 = 1/16 (DSP range 32-43); 1/8T starts at 44. Range 0–100.", + "labels": null + }, + { + "name": "Tempo", + "default": 120, + "doc": "BPM, read straight off the knob. Clamped to 40..240 in the DSP. Ignored when Div is at Grain. Range 0–240.", + "labels": null + }, + { + "name": "Fast", + "default": 70, + "doc": "Level of the 2x head: double-time ghost, octave up. Range 0–100.", + "labels": null + }, + { + "name": "Slow", + "default": 55, + "doc": "Level of the 0.5x head: half-time drag, octave down. Range 0–100.", + "labels": null + }, + { + "name": "Tone", + "default": 45, + "doc": "Low-pass on the two layers only; the dry stays open. Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 50, + "doc": "Dry/wet. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Hydra.ZDL", + "effectId": { + "gid": 8, + "fxid": 459 + }, + "effectVersion": "1.00", + "dspCost": 20.0, + "binary": { + "sha256": "5e93e918f46005be8e73557c01fc7f51d266b7e3ffc0a0b2937a21b35bc5a519", + "bytes": 7366, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "hydra-1.00", + "asset": "Hydra.ZDL" + } + }, + "screen": "static", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 7366, + "fastBytes": null, + "load": { + "display": "DSP 20 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "1.0.0", + "sourceSha256": "5e93e918f46005be8e73557c01fc7f51d266b7e3ffc0a0b2937a21b35bc5a519", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Hydra from the Delay group to a spare patch.", + "Play a short drum loop and listen for separate high double-speed and low half-speed taps.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Hydra in the MultiStomp Editor", + "alt": "Hydra editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/hydra.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Hydra embedded cover", + "alt": "The monochrome effect cover for Hydra", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "1.0.0", + "imageSha256": "5e93e918f46005be8e73557c01fc7f51d266b7e3ffc0a0b2937a21b35bc5a519", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/klang/LICENSE b/sdk/zoom/modules/klang/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/klang/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/klang/README.md b/sdk/zoom/modules/klang/README.md new file mode 100644 index 0000000000..91c8e0928c --- /dev/null +++ b/sdk/zoom/modules/klang/README.md @@ -0,0 +1,39 @@ +# Klang + +## Overview + +A swept-carrier ring modulator: sirens, dive bombs and clanging metal. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Freq | 40 | params[5]. Carrier centre frequency (~0.5..2000 Hz, linear). Range 0–100. | +| Sweep | 30 | params[6]. Carrier LFO rate (0..~12 Hz) + depth together; 0 = static. Range 0–100. | +| Mix | 50 | Mix default 1 (quiet-safe). The editor materialises patches on load (full-patch send), so audible-on-load no longer needs a hot default. Range 0–100. | + +## Usage + +Play a sustained tone and sweep the modulation to hear the metallic sidebands. + +### Quick tutorial + +1. Add Klang from the Delay group to a spare patch. +2. Play a sustained tone and sweep the modulation to hear the metallic sidebands. +3. Compare the effect with bypass using the footswitch. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/klang) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/klang/TESTING.md b/sdk/zoom/modules/klang/TESTING.md new file mode 100644 index 0000000000..75408a3ed8 --- /dev/null +++ b/sdk/zoom/modules/klang/TESTING.md @@ -0,0 +1,9 @@ +# Klang 2.0.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. + +Klang.ZDL, 7,930 bytes, Delay 455, header 2.00, SHA-256 `2f64691a4ab840a2094d558d5f02809ff1c4ca22b8b8cc61ff71a01486335173`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/klang) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/klang/media/capture.json b/sdk/zoom/modules/klang/media/capture.json new file mode 100644 index 0000000000..fd1fd88f32 --- /dev/null +++ b/sdk/zoom/modules/klang/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "klang", + "moduleVersion": "2.0.0", + "imageSha256": "2f64691a4ab840a2094d558d5f02809ff1c4ca22b8b8cc61ff71a01486335173", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "1b764882f01de5559af17eba03d2d71d127b247d694c997d4b77af7f4d12b7b2", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/klang/media/cover.png b/sdk/zoom/modules/klang/media/cover.png new file mode 100644 index 0000000000..28c2130ff4 Binary files /dev/null and b/sdk/zoom/modules/klang/media/cover.png differ diff --git a/sdk/zoom/modules/klang/media/thumbnail.png b/sdk/zoom/modules/klang/media/thumbnail.png new file mode 100644 index 0000000000..abb6cae357 Binary files /dev/null and b/sdk/zoom/modules/klang/media/thumbnail.png differ diff --git a/sdk/zoom/modules/klang/modwerk.module.json b/sdk/zoom/modules/klang/modwerk.module.json new file mode 100644 index 0000000000..fdba48a88d --- /dev/null +++ b/sdk/zoom/modules/klang/modwerk.module.json @@ -0,0 +1,180 @@ +{ + "schemaVersion": 3, + "id": "klang", + "name": "Klang", + "version": "2.0.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/klang" + }, + "presentation": { + "label": "KLANG", + "family": "Ring modulation", + "summary": "A swept-carrier ring modulator: sirens, dive bombs and clanging metal.", + "overview": "A swept-carrier ring modulator: sirens, dive bombs and clanging metal.", + "highlights": [ + "Play a sustained tone and sweep the modulation to hear the metallic sidebands." + ], + "usage": [ + "Add Klang from the Delay group to a spare patch.", + "Play a sustained tone and sweep the modulation to hear the metallic sidebands.", + "Compare the effect with bypass using the footswitch." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Klang.", + "steps": [ + "Add Klang from the Delay group to a spare patch.", + "Play a sustained tone and sweep the modulation to hear the metallic sidebands." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Freq", + "default": 40, + "doc": "params[5]. Carrier centre frequency (~0.5..2000 Hz, linear). Range 0–100.", + "labels": null + }, + { + "name": "Sweep", + "default": 30, + "doc": "params[6]. Carrier LFO rate (0..~12 Hz) + depth together; 0 = static. Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 50, + "doc": "Mix default 1 (quiet-safe). The editor materialises patches on load (full-patch send), so audible-on-load no longer needs a hot default. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Klang.ZDL", + "effectId": { + "gid": 8, + "fxid": 455 + }, + "effectVersion": "2.00", + "dspCost": 20.0, + "binary": { + "sha256": "2f64691a4ab840a2094d558d5f02809ff1c4ca22b8b8cc61ff71a01486335173", + "bytes": 7930, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "klang-2.00", + "asset": "Klang.ZDL" + } + }, + "screen": "static", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 7930, + "fastBytes": null, + "load": { + "display": "DSP 20 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "2.0.0", + "sourceSha256": "2f64691a4ab840a2094d558d5f02809ff1c4ca22b8b8cc61ff71a01486335173", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Klang from the Delay group to a spare patch.", + "Play a sustained tone and sweep the modulation to hear the metallic sidebands.", + "Compare the effect with bypass using the footswitch." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Klang in the MultiStomp Editor", + "alt": "Klang editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/klang.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Klang embedded cover", + "alt": "The monochrome effect cover for Klang", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "2.0.0", + "imageSha256": "2f64691a4ab840a2094d558d5f02809ff1c4ca22b8b8cc61ff71a01486335173", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/oxide/LICENSE b/sdk/zoom/modules/oxide/LICENSE new file mode 100644 index 0000000000..49b807bbf4 --- /dev/null +++ b/sdk/zoom/modules/oxide/LICENSE @@ -0,0 +1,192 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. + +MIT License + +Copyright (c) 2018 Chris Johnson + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/zoom/modules/oxide/README.md b/sdk/zoom/modules/oxide/README.md new file mode 100644 index 0000000000..9ae2e771f5 --- /dev/null +++ b/sdk/zoom/modules/oxide/README.md @@ -0,0 +1,45 @@ +# Oxide + +## Overview + +Airwindows ToTape9: tape saturation with Dolby-style tilt, bias, flutter and head bump. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Input | 50 | Input drive: 50 = unity, 100 = 4x into tape. Above unity, automatic compensation reduces level lift; Output independently trims the wet signal. Range 0–100. | +| Tilt | 50 | Dolby-style encode/decode balance: sets pre-emphasis against de-emphasis, which drives both tape drive and the wet/dry blend. Range 0–100. | +| Shape | 50 | Weights how much of Tilt's encode vs decode lands (0.35..1.0 each way). Subtle by construction, and it was invisible while the x7.14 scaling pinned it. Range 0–100. | +| Flutr | 30 | Airwindows D. Flutter depth in samples at 44.1 kHz. Range 0–100. | +| FlSpd | 50 | Airwindows E. Flutter sweep speed. Range 0–100. | +| Bias | 50 | Asymmetric even-harmonic drive: biased = x + k*x^2, k bipolar around centre. The k curve is quartic below centre and cubic above, so the distortion character genuinely changes at different points of travel rather than just getting louder. Range 0–100. | +| HBump | 25 | Low-frequency head-bump resonance amount; frequency fixed near 60 Hz in the active full kernel. Range 0–100. | +| Out | 50 | Wet output trim 0..2x, unity at 50, after automatic input-drive compensation and before Mix. Range 0–100. | +| Mix | 50 | Dry/wet crossfade. Renamed from 'Output' so every effect in the pack ends with the same control. Range 0–100. | + +## Usage + +Play softly, then hard. Listen for changes in tape colour and drive. + +### Quick tutorial + +1. Add Oxide from the Delay group to a spare patch. +2. Play softly, then hard. Listen for changes in tape colour and drive. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors; Airwindows / Chris Johnson (source or inspiration). [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/airwindows/totape9) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/oxide/TESTING.md b/sdk/zoom/modules/oxide/TESTING.md new file mode 100644 index 0000000000..d22b679b7d --- /dev/null +++ b/sdk/zoom/modules/oxide/TESTING.md @@ -0,0 +1,9 @@ +# Oxide 1.1.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. + +Oxide.ZDL, 13,862 bytes, Delay 403, header 1.01, SHA-256 `8f07a8b6d226e980157c45b5b3ebaa1e8ce1f9461d42b9833cbcbdb6daa7d172`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/airwindows/totape9) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/oxide/media/capture.json b/sdk/zoom/modules/oxide/media/capture.json new file mode 100644 index 0000000000..6884ce1d3d --- /dev/null +++ b/sdk/zoom/modules/oxide/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "oxide", + "moduleVersion": "1.1.0", + "imageSha256": "8f07a8b6d226e980157c45b5b3ebaa1e8ce1f9461d42b9833cbcbdb6daa7d172", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "be729684c28a7aa677570d4bdcd9d2627bc52c33727261cb3ea97d4309545de7", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/oxide/media/cover.png b/sdk/zoom/modules/oxide/media/cover.png new file mode 100644 index 0000000000..ef4edfe998 Binary files /dev/null and b/sdk/zoom/modules/oxide/media/cover.png differ diff --git a/sdk/zoom/modules/oxide/media/thumbnail.png b/sdk/zoom/modules/oxide/media/thumbnail.png new file mode 100644 index 0000000000..14c851bbfb Binary files /dev/null and b/sdk/zoom/modules/oxide/media/thumbnail.png differ diff --git a/sdk/zoom/modules/oxide/modwerk.module.json b/sdk/zoom/modules/oxide/modwerk.module.json new file mode 100644 index 0000000000..d2ade32f55 --- /dev/null +++ b/sdk/zoom/modules/oxide/modwerk.module.json @@ -0,0 +1,216 @@ +{ + "schemaVersion": 3, + "id": "oxide", + "name": "Oxide", + "version": "1.1.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors; Airwindows / Chris Johnson (source or inspiration)", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/airwindows/totape9" + }, + "presentation": { + "label": "OXIDE", + "family": "Tape saturation", + "summary": "Airwindows ToTape9: tape saturation with Dolby-style tilt, bias, flutter and head bump.", + "overview": "Airwindows ToTape9: tape saturation with Dolby-style tilt, bias, flutter and head bump.", + "highlights": [ + "Play softly, then hard. Listen for changes in tape colour and drive." + ], + "usage": [ + "Add Oxide from the Delay group to a spare patch.", + "Play softly, then hard. Listen for changes in tape colour and drive.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Oxide.", + "steps": [ + "Add Oxide from the Delay group to a spare patch.", + "Play softly, then hard. Listen for changes in tape colour and drive." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Input", + "default": 50, + "doc": "Input drive: 50 = unity, 100 = 4x into tape. Above unity, automatic compensation reduces level lift; Output independently trims the wet signal. Range 0–100.", + "labels": null + }, + { + "name": "Tilt", + "default": 50, + "doc": "Dolby-style encode/decode balance: sets pre-emphasis against de-emphasis, which drives both tape drive and the wet/dry blend. Range 0–100.", + "labels": null + }, + { + "name": "Shape", + "default": 50, + "doc": "Weights how much of Tilt's encode vs decode lands (0.35..1.0 each way). Subtle by construction, and it was invisible while the x7.14 scaling pinned it. Range 0–100.", + "labels": null + }, + { + "name": "Flutr", + "default": 30, + "doc": "Airwindows D. Flutter depth in samples at 44.1 kHz. Range 0–100.", + "labels": null + }, + { + "name": "FlSpd", + "default": 50, + "doc": "Airwindows E. Flutter sweep speed. Range 0–100.", + "labels": null + }, + { + "name": "Bias", + "default": 50, + "doc": "Asymmetric even-harmonic drive: biased = x + k*x^2, k bipolar around centre. The k curve is quartic below centre and cubic above, so the distortion character genuinely changes at different points of travel rather than just getting louder. Range 0–100.", + "labels": null + }, + { + "name": "HBump", + "default": 25, + "doc": "Low-frequency head-bump resonance amount; frequency fixed near 60 Hz in the active full kernel. Range 0–100.", + "labels": null + }, + { + "name": "Out", + "default": 50, + "doc": "Wet output trim 0..2x, unity at 50, after automatic input-drive compensation and before Mix. Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 50, + "doc": "Dry/wet crossfade. Renamed from 'Output' so every effect in the pack ends with the same control. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Oxide.ZDL", + "effectId": { + "gid": 8, + "fxid": 403 + }, + "effectVersion": "1.01", + "dspCost": 20.0, + "binary": { + "sha256": "8f07a8b6d226e980157c45b5b3ebaa1e8ce1f9461d42b9833cbcbdb6daa7d172", + "bytes": 13862, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "oxide-1.01", + "asset": "Oxide.ZDL" + } + }, + "screen": "static", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 13862, + "fastBytes": null, + "load": { + "display": "DSP 20 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "1.1.0", + "sourceSha256": "8f07a8b6d226e980157c45b5b3ebaa1e8ce1f9461d42b9833cbcbdb6daa7d172", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Oxide from the Delay group to a spare patch.", + "Play softly, then hard. Listen for changes in tape colour and drive.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Oxide in the MultiStomp Editor", + "alt": "Oxide editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/oxide.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Oxide embedded cover", + "alt": "The monochrome effect cover for Oxide", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "1.1.0", + "imageSha256": "8f07a8b6d226e980157c45b5b3ebaa1e8ce1f9461d42b9833cbcbdb6daa7d172", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/rewire/LICENSE b/sdk/zoom/modules/rewire/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/rewire/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/rewire/README.md b/sdk/zoom/modules/rewire/README.md new file mode 100644 index 0000000000..582409d69a --- /dev/null +++ b/sdk/zoom/modules/rewire/README.md @@ -0,0 +1,44 @@ +# Rewire + +## Overview + +Five lo-fi blocks (crush, drive, ring mod, comb, frequency shift) in a chain you can reorder. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Route | 10 | Block order, five permutations: BDRCS, SCRDB, DSBCR, RCSBD, SBRDC (B=Bits D=Drive R=Ring C=Comb S=Shift). On knob 1 deliberately -- it is the control this effect exists for, and knobs 1-2 use the verbatim-stock edit handlers. Range 0–100. | +| Bits | 55 | Word length and sample-rate decimation together, 12-bit down to 3-bit with the hold rising alongside. Range 0–100. | +| Drive | 35 | Asymmetric soft clip, gain-compensated so turning it up does not just get louder. Range 0–100. | +| Ring | 20 | Ring modulator carrier, 30 Hz to ~2.2 kHz. Depth fades in from silence at 0 so the block is genuinely absent when down -- but it no longer DEFAULTS to absent, because with both Ring and Shift inert only three blocks were in the chain and Route had almost nothing left to permute. Range 0–100. | +| Comb | 25 | Short feedback comb, depth and length together. The only feedback path here, clamped below unity so no routing can make it run away. Range 0–100. | +| Shift | 50 | Single-sideband frequency shifter, centre-off. Range 0–100. | +| Tone | 55 | Low-pass on the wet path. Range 0–100. | +| Mix | 50 | Dry/wet crossfade. Range 0–100. | + +## Usage + +Play a repeated phrase and compare the processing order and routing display. + +### Quick tutorial + +1. Add Rewire from the Delay group to a spare patch. +2. Play a repeated phrase and compare the processing order and routing display. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/rewire) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/rewire/TESTING.md b/sdk/zoom/modules/rewire/TESTING.md new file mode 100644 index 0000000000..b126960acc --- /dev/null +++ b/sdk/zoom/modules/rewire/TESTING.md @@ -0,0 +1,9 @@ +# Rewire 1.0.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. + +Rewire.ZDL, 11,374 bytes, Delay 465, header 1.00, SHA-256 `fc2297e2665799e58ba1323654fc055eef033dd8f70308ef7359a03ab5949864`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/rewire) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/rewire/media/capture.json b/sdk/zoom/modules/rewire/media/capture.json new file mode 100644 index 0000000000..dd78109090 --- /dev/null +++ b/sdk/zoom/modules/rewire/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "rewire", + "moduleVersion": "1.0.0", + "imageSha256": "fc2297e2665799e58ba1323654fc055eef033dd8f70308ef7359a03ab5949864", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "7f87f076312d5d847db8d2b256d90fb10ed77817a6cd86aafcf2e1cb6415661a", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/rewire/media/cover.png b/sdk/zoom/modules/rewire/media/cover.png new file mode 100644 index 0000000000..c87421aecf Binary files /dev/null and b/sdk/zoom/modules/rewire/media/cover.png differ diff --git a/sdk/zoom/modules/rewire/media/thumbnail.png b/sdk/zoom/modules/rewire/media/thumbnail.png new file mode 100644 index 0000000000..cfbc23c042 Binary files /dev/null and b/sdk/zoom/modules/rewire/media/thumbnail.png differ diff --git a/sdk/zoom/modules/rewire/modwerk.module.json b/sdk/zoom/modules/rewire/modwerk.module.json new file mode 100644 index 0000000000..e12eea6483 --- /dev/null +++ b/sdk/zoom/modules/rewire/modwerk.module.json @@ -0,0 +1,210 @@ +{ + "schemaVersion": 3, + "id": "rewire", + "name": "Rewire", + "version": "1.0.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/rewire" + }, + "presentation": { + "label": "REWIRE", + "family": "Lo-fi", + "summary": "Five lo-fi blocks (crush, drive, ring mod, comb, frequency shift) in a chain you can reorder.", + "overview": "Five lo-fi blocks (crush, drive, ring mod, comb, frequency shift) in a chain you can reorder.", + "highlights": [ + "Play a repeated phrase and compare the processing order and routing display." + ], + "usage": [ + "Add Rewire from the Delay group to a spare patch.", + "Play a repeated phrase and compare the processing order and routing display.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Rewire.", + "steps": [ + "Add Rewire from the Delay group to a spare patch.", + "Play a repeated phrase and compare the processing order and routing display." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Route", + "default": 10, + "doc": "Block order, five permutations: BDRCS, SCRDB, DSBCR, RCSBD, SBRDC (B=Bits D=Drive R=Ring C=Comb S=Shift). On knob 1 deliberately -- it is the control this effect exists for, and knobs 1-2 use the verbatim-stock edit handlers. Range 0–100.", + "labels": null + }, + { + "name": "Bits", + "default": 55, + "doc": "Word length and sample-rate decimation together, 12-bit down to 3-bit with the hold rising alongside. Range 0–100.", + "labels": null + }, + { + "name": "Drive", + "default": 35, + "doc": "Asymmetric soft clip, gain-compensated so turning it up does not just get louder. Range 0–100.", + "labels": null + }, + { + "name": "Ring", + "default": 20, + "doc": "Ring modulator carrier, 30 Hz to ~2.2 kHz. Depth fades in from silence at 0 so the block is genuinely absent when down -- but it no longer DEFAULTS to absent, because with both Ring and Shift inert only three blocks were in the chain and Route had almost nothing left to permute. Range 0–100.", + "labels": null + }, + { + "name": "Comb", + "default": 25, + "doc": "Short feedback comb, depth and length together. The only feedback path here, clamped below unity so no routing can make it run away. Range 0–100.", + "labels": null + }, + { + "name": "Shift", + "default": 50, + "doc": "Single-sideband frequency shifter, centre-off. Range 0–100.", + "labels": null + }, + { + "name": "Tone", + "default": 55, + "doc": "Low-pass on the wet path. Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 50, + "doc": "Dry/wet crossfade. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Rewire.ZDL", + "effectId": { + "gid": 8, + "fxid": 465 + }, + "effectVersion": "1.00", + "dspCost": 20.0, + "binary": { + "sha256": "fc2297e2665799e58ba1323654fc055eef033dd8f70308ef7359a03ab5949864", + "bytes": 11374, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "rewire-1.00", + "asset": "Rewire.ZDL" + } + }, + "screen": "static", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 11374, + "fastBytes": null, + "load": { + "display": "DSP 20 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "1.0.0", + "sourceSha256": "fc2297e2665799e58ba1323654fc055eef033dd8f70308ef7359a03ab5949864", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Rewire from the Delay group to a spare patch.", + "Play a repeated phrase and compare the processing order and routing display.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Rewire in the MultiStomp Editor", + "alt": "Rewire editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/rewire.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Rewire embedded cover", + "alt": "The monochrome effect cover for Rewire", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "1.0.0", + "imageSha256": "fc2297e2665799e58ba1323654fc055eef033dd8f70308ef7359a03ab5949864", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/ring/LICENSE b/sdk/zoom/modules/ring/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/ring/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/ring/README.md b/sdk/zoom/modules/ring/README.md new file mode 100644 index 0000000000..00ea60fba1 --- /dev/null +++ b/sdk/zoom/modules/ring/README.md @@ -0,0 +1,39 @@ +# Ring + +## Overview + +A spinning ring that follows your signal, full screen. Passes the sound through. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Time | 25 | How much signal goes around the ring: 1-64 samples per point. Range 0–100. | +| Size | 35 | How far the signal pushes the ring in and out. Range 0–100. | +| Spin | 60 | 50 = still; below spins one way, above the other. Range 0–100. | + +## Usage + +Watch the rotating trace respond to quiet and loud input while the audio passes through. + +### Quick tutorial + +1. Add Ring from the Delay group to a spare patch. +2. Watch the rotating trace respond to quiet and loud input while the audio passes through. +3. Compare the effect with bypass using the footswitch. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/ring) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/ring/TESTING.md b/sdk/zoom/modules/ring/TESTING.md new file mode 100644 index 0000000000..ec020d7aa1 --- /dev/null +++ b/sdk/zoom/modules/ring/TESTING.md @@ -0,0 +1,9 @@ +# Ring 0.3.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. The display guard compares an aggregate checksum over the known OS locations. + +Ring.ZDL, 11,502 bytes, Delay 415, header 0.03, SHA-256 `7be0ab44802cad6e3ebe08f94c23c51e0dcafc4e0ccaaf9ce596b336ad2d094c`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/ring) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/ring/media/capture.json b/sdk/zoom/modules/ring/media/capture.json new file mode 100644 index 0000000000..1d5b30f02b --- /dev/null +++ b/sdk/zoom/modules/ring/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "ring", + "moduleVersion": "0.3.0", + "imageSha256": "7be0ab44802cad6e3ebe08f94c23c51e0dcafc4e0ccaaf9ce596b336ad2d094c", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "691d3340bf96eace812c4eb06d47c9199d2aa4b1083462de986cced9ed55f3c5", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/ring/media/cover.png b/sdk/zoom/modules/ring/media/cover.png new file mode 100644 index 0000000000..8823036d90 Binary files /dev/null and b/sdk/zoom/modules/ring/media/cover.png differ diff --git a/sdk/zoom/modules/ring/media/thumbnail.png b/sdk/zoom/modules/ring/media/thumbnail.png new file mode 100644 index 0000000000..4341ab1062 Binary files /dev/null and b/sdk/zoom/modules/ring/media/thumbnail.png differ diff --git a/sdk/zoom/modules/ring/modwerk.module.json b/sdk/zoom/modules/ring/modwerk.module.json new file mode 100644 index 0000000000..84207be3bc --- /dev/null +++ b/sdk/zoom/modules/ring/modwerk.module.json @@ -0,0 +1,180 @@ +{ + "schemaVersion": 3, + "id": "ring", + "name": "Ring", + "version": "0.3.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/ring" + }, + "presentation": { + "label": "RING", + "family": "Oscilloscope", + "summary": "A spinning ring that follows your signal, full screen. Passes the sound through.", + "overview": "A spinning ring that follows your signal, full screen. Passes the sound through.", + "highlights": [ + "Watch the rotating trace respond to quiet and loud input while the audio passes through." + ], + "usage": [ + "Add Ring from the Delay group to a spare patch.", + "Watch the rotating trace respond to quiet and loud input while the audio passes through.", + "Compare the effect with bypass using the footswitch." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Ring.", + "steps": [ + "Add Ring from the Delay group to a spare patch.", + "Watch the rotating trace respond to quiet and loud input while the audio passes through." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Time", + "default": 25, + "doc": "How much signal goes around the ring: 1-64 samples per point. Range 0–100.", + "labels": null + }, + { + "name": "Size", + "default": 35, + "doc": "How far the signal pushes the ring in and out. Range 0–100.", + "labels": null + }, + { + "name": "Spin", + "default": 60, + "doc": "50 = still; below spins one way, above the other. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Ring.ZDL", + "effectId": { + "gid": 8, + "fxid": 415 + }, + "effectVersion": "0.03", + "dspCost": 8.0, + "binary": { + "sha256": "7be0ab44802cad6e3ebe08f94c23c51e0dcafc4e0ccaaf9ce596b336ad2d094c", + "bytes": 11502, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "ring-0.03", + "asset": "Ring.ZDL" + } + }, + "screen": "live", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 11502, + "fastBytes": null, + "load": { + "display": "DSP 8 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "0.3.0", + "sourceSha256": "7be0ab44802cad6e3ebe08f94c23c51e0dcafc4e0ccaaf9ce596b336ad2d094c", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Ring from the Delay group to a spare patch.", + "Watch the rotating trace respond to quiet and loud input while the audio passes through.", + "Compare the effect with bypass using the footswitch." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Ring in the MultiStomp Editor", + "alt": "Ring editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/ring.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Ring embedded cover", + "alt": "The monochrome effect cover for Ring", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "0.3.0", + "imageSha256": "7be0ab44802cad6e3ebe08f94c23c51e0dcafc4e0ccaaf9ce596b336ad2d094c", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/rooms/LICENSE b/sdk/zoom/modules/rooms/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/rooms/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/rooms/README.md b/sdk/zoom/modules/rooms/README.md new file mode 100644 index 0000000000..1ec3094f6f --- /dev/null +++ b/sdk/zoom/modules/rooms/README.md @@ -0,0 +1,41 @@ +# Rooms + +## Overview + +A multi-mode reverb after the DBA Rooms: Room, Digit, Peak, Gate, Wave and Gong, with Freq and Depth reused per mode. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Mode | 0 | params[5]. Reverb character: 0-16 ROOM, 17-33 DIGIT, 34-50 PEAK, 51-66 GATE, 67-83 WAVE, 84-100 GONG. Range 0–100. | +| Time | 55 | params[6]. Reverb decay length (all modes). Range 0–100. | +| Freq | 45 | params[7]. Per-mode frequency parameter (damping / crush-rate / filter freq / gate-time / LFO rate / gong pitch). Range 0–100. | +| Depth | 45 | params[8]. Per-mode depth parameter (size / bit-depth / resonance / threshold / mod depth / regen). Range 0–100. | +| Mix | 50 | params[9]. Dry/wet. Default 40 so it's audible on load (custom effects read params as 0 until a knob is touched, so this default is the on-load value). Push it up; high mix + high Time/Depth lets PEAK/GONG self-oscillate. Range 0–100. | + +## Usage + +Play a single hit and compare the room settings and tail length. + +### Quick tutorial + +1. Add Rooms from the Delay group to a spare patch. +2. Play a single hit and compare the room settings and tail length. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/rooms) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/rooms/TESTING.md b/sdk/zoom/modules/rooms/TESTING.md new file mode 100644 index 0000000000..4ab9693f64 --- /dev/null +++ b/sdk/zoom/modules/rooms/TESTING.md @@ -0,0 +1,9 @@ +# Rooms 2.0.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. + +Rooms.ZDL, 9,122 bytes, Delay 472, header 2.00, SHA-256 `8a08e4048e640ade0c2dbeb6562cc77578b1aa3924a323427c16ede754e5ec1b`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/rooms) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/rooms/media/capture.json b/sdk/zoom/modules/rooms/media/capture.json new file mode 100644 index 0000000000..dbe88be994 --- /dev/null +++ b/sdk/zoom/modules/rooms/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "rooms", + "moduleVersion": "2.0.0", + "imageSha256": "8a08e4048e640ade0c2dbeb6562cc77578b1aa3924a323427c16ede754e5ec1b", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "3ad02acbeacdb76ff6ec10f014b8da12ede4e32ab8b5f5ea3dd13e0ec82d0d41", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/rooms/media/cover.png b/sdk/zoom/modules/rooms/media/cover.png new file mode 100644 index 0000000000..725dac082d Binary files /dev/null and b/sdk/zoom/modules/rooms/media/cover.png differ diff --git a/sdk/zoom/modules/rooms/media/thumbnail.png b/sdk/zoom/modules/rooms/media/thumbnail.png new file mode 100644 index 0000000000..1203881620 Binary files /dev/null and b/sdk/zoom/modules/rooms/media/thumbnail.png differ diff --git a/sdk/zoom/modules/rooms/modwerk.module.json b/sdk/zoom/modules/rooms/modwerk.module.json new file mode 100644 index 0000000000..418890ecd1 --- /dev/null +++ b/sdk/zoom/modules/rooms/modwerk.module.json @@ -0,0 +1,192 @@ +{ + "schemaVersion": 3, + "id": "rooms", + "name": "Rooms", + "version": "2.0.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/rooms" + }, + "presentation": { + "label": "ROOMS", + "family": "Reverb", + "summary": "A multi-mode reverb after the DBA Rooms: Room, Digit, Peak, Gate, Wave and Gong, with Freq and Depth reused per mode.", + "overview": "A multi-mode reverb after the DBA Rooms: Room, Digit, Peak, Gate, Wave and Gong, with Freq and Depth reused per mode.", + "highlights": [ + "Play a single hit and compare the room settings and tail length." + ], + "usage": [ + "Add Rooms from the Delay group to a spare patch.", + "Play a single hit and compare the room settings and tail length.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Rooms.", + "steps": [ + "Add Rooms from the Delay group to a spare patch.", + "Play a single hit and compare the room settings and tail length." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Mode", + "default": 0, + "doc": "params[5]. Reverb character: 0-16 ROOM, 17-33 DIGIT, 34-50 PEAK, 51-66 GATE, 67-83 WAVE, 84-100 GONG. Range 0–100.", + "labels": null + }, + { + "name": "Time", + "default": 55, + "doc": "params[6]. Reverb decay length (all modes). Range 0–100.", + "labels": null + }, + { + "name": "Freq", + "default": 45, + "doc": "params[7]. Per-mode frequency parameter (damping / crush-rate / filter freq / gate-time / LFO rate / gong pitch). Range 0–100.", + "labels": null + }, + { + "name": "Depth", + "default": 45, + "doc": "params[8]. Per-mode depth parameter (size / bit-depth / resonance / threshold / mod depth / regen). Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 50, + "doc": "params[9]. Dry/wet. Default 40 so it's audible on load (custom effects read params as 0 until a knob is touched, so this default is the on-load value). Push it up; high mix + high Time/Depth lets PEAK/GONG self-oscillate. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Rooms.ZDL", + "effectId": { + "gid": 8, + "fxid": 472 + }, + "effectVersion": "2.00", + "dspCost": 20.0, + "binary": { + "sha256": "8a08e4048e640ade0c2dbeb6562cc77578b1aa3924a323427c16ede754e5ec1b", + "bytes": 9122, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "rooms-2.00", + "asset": "Rooms.ZDL" + } + }, + "screen": "static", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 9122, + "fastBytes": null, + "load": { + "display": "DSP 20 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "2.0.0", + "sourceSha256": "8a08e4048e640ade0c2dbeb6562cc77578b1aa3924a323427c16ede754e5ec1b", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Rooms from the Delay group to a spare patch.", + "Play a single hit and compare the room settings and tail length.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Rooms in the MultiStomp Editor", + "alt": "Rooms editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/rooms.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Rooms embedded cover", + "alt": "The monochrome effect cover for Rooms", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "2.0.0", + "imageSha256": "8a08e4048e640ade0c2dbeb6562cc77578b1aa3924a323427c16ede754e5ec1b", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/shatter/LICENSE b/sdk/zoom/modules/shatter/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/shatter/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/shatter/README.md b/sdk/zoom/modules/shatter/README.md new file mode 100644 index 0000000000..b08a54d8c9 --- /dev/null +++ b/sdk/zoom/modules/shatter/README.md @@ -0,0 +1,38 @@ +# Shatter + +## Overview + +A stutter and beat-repeat glitch for drums. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Chnce | 55 | params[5]. Probability each slice glitches (stutter/reverse). Range 0–100. | +| Mix | 50 | Mix default 1 (quiet-safe). The editor materialises patches on load (full-patch send), so audible-on-load no longer needs a hot default. Range 0–100. | + +## Usage + +Use sharp drum hits and listen for stutters and pitch changes. + +### Quick tutorial + +1. Add Shatter from the Delay group to a spare patch. +2. Use sharp drum hits and listen for stutters and pitch changes. +3. Compare the effect with bypass using the footswitch. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/shatter) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/shatter/TESTING.md b/sdk/zoom/modules/shatter/TESTING.md new file mode 100644 index 0000000000..c56a21baf6 --- /dev/null +++ b/sdk/zoom/modules/shatter/TESTING.md @@ -0,0 +1,9 @@ +# Shatter 2.0.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. + +Shatter.ZDL, 4,746 bytes, Delay 452, header 2.00, SHA-256 `9d80c0b591d920b70f3e7457d0f709e99e2dfa80f41052dece3b95463346eaf0`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/shatter) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/shatter/media/capture.json b/sdk/zoom/modules/shatter/media/capture.json new file mode 100644 index 0000000000..0c4da66858 --- /dev/null +++ b/sdk/zoom/modules/shatter/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "shatter", + "moduleVersion": "2.0.0", + "imageSha256": "9d80c0b591d920b70f3e7457d0f709e99e2dfa80f41052dece3b95463346eaf0", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "37f32ee8a0701c120fefda9a00c510b87468eb88ff57cd56699a00797039b9de", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/shatter/media/cover.png b/sdk/zoom/modules/shatter/media/cover.png new file mode 100644 index 0000000000..921e292388 Binary files /dev/null and b/sdk/zoom/modules/shatter/media/cover.png differ diff --git a/sdk/zoom/modules/shatter/media/thumbnail.png b/sdk/zoom/modules/shatter/media/thumbnail.png new file mode 100644 index 0000000000..ebe8b0c0b2 Binary files /dev/null and b/sdk/zoom/modules/shatter/media/thumbnail.png differ diff --git a/sdk/zoom/modules/shatter/modwerk.module.json b/sdk/zoom/modules/shatter/modwerk.module.json new file mode 100644 index 0000000000..262d21c9e5 --- /dev/null +++ b/sdk/zoom/modules/shatter/modwerk.module.json @@ -0,0 +1,174 @@ +{ + "schemaVersion": 3, + "id": "shatter", + "name": "Shatter", + "version": "2.0.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/shatter" + }, + "presentation": { + "label": "SHATTER", + "family": "Stutter", + "summary": "A stutter and beat-repeat glitch for drums.", + "overview": "A stutter and beat-repeat glitch for drums.", + "highlights": [ + "Use sharp drum hits and listen for stutters and pitch changes." + ], + "usage": [ + "Add Shatter from the Delay group to a spare patch.", + "Use sharp drum hits and listen for stutters and pitch changes.", + "Compare the effect with bypass using the footswitch." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Shatter.", + "steps": [ + "Add Shatter from the Delay group to a spare patch.", + "Use sharp drum hits and listen for stutters and pitch changes." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Chnce", + "default": 55, + "doc": "params[5]. Probability each slice glitches (stutter/reverse). Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 50, + "doc": "Mix default 1 (quiet-safe). The editor materialises patches on load (full-patch send), so audible-on-load no longer needs a hot default. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Shatter.ZDL", + "effectId": { + "gid": 8, + "fxid": 452 + }, + "effectVersion": "2.00", + "dspCost": 20.0, + "binary": { + "sha256": "9d80c0b591d920b70f3e7457d0f709e99e2dfa80f41052dece3b95463346eaf0", + "bytes": 4746, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "shatter-2.00", + "asset": "Shatter.ZDL" + } + }, + "screen": "static", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 4746, + "fastBytes": null, + "load": { + "display": "DSP 20 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "2.0.0", + "sourceSha256": "9d80c0b591d920b70f3e7457d0f709e99e2dfa80f41052dece3b95463346eaf0", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Shatter from the Delay group to a spare patch.", + "Use sharp drum hits and listen for stutters and pitch changes.", + "Compare the effect with bypass using the footswitch." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Shatter in the MultiStomp Editor", + "alt": "Shatter editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/shatter.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Shatter embedded cover", + "alt": "The monochrome effect cover for Shatter", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "2.0.0", + "imageSha256": "9d80c0b591d920b70f3e7457d0f709e99e2dfa80f41052dece3b95463346eaf0", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/skull/LICENSE b/sdk/zoom/modules/skull/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/skull/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/skull/README.md b/sdk/zoom/modules/skull/README.md new file mode 100644 index 0000000000..f308528936 --- /dev/null +++ b/sdk/zoom/modules/skull/README.md @@ -0,0 +1,40 @@ +# Skull + +## Overview + +A shaded 3D skull that reacts to your playing: the jaw opens, the eyes light, it jolts on attacks and explodes at the loudest. Passes the sound through. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Sense | 50 | How much signal it takes to open the jaw. Range 0–100. | +| Decay | 40 | How fast the face relaxes after a note. Range 0–100. | +| Shake | 50 | How hard the skull jolts on attacks (0 = never). Range 0–100. | +| Boom | 50 | At the very loudest the skull explodes and re-forms. 0 = never; higher = easier to set off. Range 0–100. | + +## Usage + +Compare quiet notes and loud attacks. Watch the jaw, shake and burst while the audio passes through. + +### Quick tutorial + +1. Add Skull from the Delay group to a spare patch. +2. Compare quiet notes and loud attacks. Watch the jaw, shake and burst while the audio passes through. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/skull) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/skull/TESTING.md b/sdk/zoom/modules/skull/TESTING.md new file mode 100644 index 0000000000..a125b12d6e --- /dev/null +++ b/sdk/zoom/modules/skull/TESTING.md @@ -0,0 +1,9 @@ +# Skull 0.6.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. The display guard compares an aggregate checksum over the known OS locations. + +Skull.ZDL, 30,478 bytes, Delay 416, header 0.06, SHA-256 `20655be1d98570066a255273296696aeef19675f68a9b184fb6033911384f008`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/skull) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/skull/media/capture.json b/sdk/zoom/modules/skull/media/capture.json new file mode 100644 index 0000000000..2e263e4ab7 --- /dev/null +++ b/sdk/zoom/modules/skull/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "skull", + "moduleVersion": "0.6.0", + "imageSha256": "20655be1d98570066a255273296696aeef19675f68a9b184fb6033911384f008", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "ad415d8ff405f43af02e3bab98fc4cb2dc731925f93a1732c08d45a595c0c0f3", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/skull/media/cover.png b/sdk/zoom/modules/skull/media/cover.png new file mode 100644 index 0000000000..c756ddb184 Binary files /dev/null and b/sdk/zoom/modules/skull/media/cover.png differ diff --git a/sdk/zoom/modules/skull/media/thumbnail.png b/sdk/zoom/modules/skull/media/thumbnail.png new file mode 100644 index 0000000000..b95474653b Binary files /dev/null and b/sdk/zoom/modules/skull/media/thumbnail.png differ diff --git a/sdk/zoom/modules/skull/modwerk.module.json b/sdk/zoom/modules/skull/modwerk.module.json new file mode 100644 index 0000000000..8c1ea5e736 --- /dev/null +++ b/sdk/zoom/modules/skull/modwerk.module.json @@ -0,0 +1,186 @@ +{ + "schemaVersion": 3, + "id": "skull", + "name": "Skull", + "version": "0.6.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/skull" + }, + "presentation": { + "label": "SKULL", + "family": "Visualizer", + "summary": "A shaded 3D skull that reacts to your playing: the jaw opens, the eyes light, it jolts on attacks and explodes at the loudest. Passes the sound through.", + "overview": "A shaded 3D skull that reacts to your playing: the jaw opens, the eyes light, it jolts on attacks and explodes at the loudest. Passes the sound through.", + "highlights": [ + "Compare quiet notes and loud attacks. Watch the jaw, shake and burst while the audio passes through." + ], + "usage": [ + "Add Skull from the Delay group to a spare patch.", + "Compare quiet notes and loud attacks. Watch the jaw, shake and burst while the audio passes through.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Skull.", + "steps": [ + "Add Skull from the Delay group to a spare patch.", + "Compare quiet notes and loud attacks. Watch the jaw, shake and burst while the audio passes through." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Sense", + "default": 50, + "doc": "How much signal it takes to open the jaw. Range 0–100.", + "labels": null + }, + { + "name": "Decay", + "default": 40, + "doc": "How fast the face relaxes after a note. Range 0–100.", + "labels": null + }, + { + "name": "Shake", + "default": 50, + "doc": "How hard the skull jolts on attacks (0 = never). Range 0–100.", + "labels": null + }, + { + "name": "Boom", + "default": 50, + "doc": "At the very loudest the skull explodes and re-forms. 0 = never; higher = easier to set off. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Skull.ZDL", + "effectId": { + "gid": 8, + "fxid": 416 + }, + "effectVersion": "0.06", + "dspCost": 8.0, + "binary": { + "sha256": "20655be1d98570066a255273296696aeef19675f68a9b184fb6033911384f008", + "bytes": 30478, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "skull-0.06", + "asset": "Skull.ZDL" + } + }, + "screen": "live", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 30478, + "fastBytes": null, + "load": { + "display": "DSP 8 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "0.6.0", + "sourceSha256": "20655be1d98570066a255273296696aeef19675f68a9b184fb6033911384f008", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Skull from the Delay group to a spare patch.", + "Compare quiet notes and loud attacks. Watch the jaw, shake and burst while the audio passes through.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Skull in the MultiStomp Editor", + "alt": "Skull editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/skull.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Skull embedded cover", + "alt": "The monochrome effect cover for Skull", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "0.6.0", + "imageSha256": "20655be1d98570066a255273296696aeef19675f68a9b184fb6033911384f008", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/spiral/LICENSE b/sdk/zoom/modules/spiral/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/spiral/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/spiral/README.md b/sdk/zoom/modules/spiral/README.md new file mode 100644 index 0000000000..eb9d21e4c5 --- /dev/null +++ b/sdk/zoom/modules/spiral/README.md @@ -0,0 +1,44 @@ +# Spiral + +## Overview + +A tempo-locked delay whose repeats climb or sink in pitch, compounding with every repeat; Glide adds a rise that starts at each note. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Div | 30 | Musical division of the tempo below: 1/32, 1/16T, 1/16, 1/8T, 1/8, dotted 1/8, 1/4, dotted 1/4. Default 30 lands on 1/16, which at 120 BPM is the 125 ms that the old Time=17 produced. Range 0–100. | +| Tempo | 120 | BPM, read straight off the knob so the pedal's own number IS the tempo. Clamped to 40..240 in the DSP. Range 0–240. | +| Feed | 60 | Repeats, scaled to 0.965 and soft-clipped in the loop. Range 0–100. | +| Rise | 62 | Per-repeat ratio: 0 = octave down, 50 = unity, 100 = octave up. Range 0–100. | +| Glide | 45 | Depth of the onset-triggered ramp on that ratio. Range 0–100. | +| Span | 45 | How long the rise takes, ~0.19 s .. ~8 s. Range 0–100. | +| Tone | 50 | Low-pass inside the feedback loop. Range 0–100. | +| Mix | 50 | Dry/wet. Range 0–100. | + +## Usage + +Play isolated notes and listen for the repeats to climb or fall as Rise moves through centre. + +### Quick tutorial + +1. Add Spiral from the Delay group to a spare patch. +2. Play isolated notes and listen for the repeats to climb or fall as Rise moves through centre. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/spiral) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/spiral/TESTING.md b/sdk/zoom/modules/spiral/TESTING.md new file mode 100644 index 0000000000..107698efc5 --- /dev/null +++ b/sdk/zoom/modules/spiral/TESTING.md @@ -0,0 +1,9 @@ +# Spiral 1.0.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. + +Spiral.ZDL, 8,542 bytes, Delay 449, header 1.00, SHA-256 `7982e70502a23cf3f7862f7f5c4e83a2aaf8a26e115444a98e97db47d75ffd71`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/spiral) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/spiral/media/capture.json b/sdk/zoom/modules/spiral/media/capture.json new file mode 100644 index 0000000000..ac61e90769 --- /dev/null +++ b/sdk/zoom/modules/spiral/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "spiral", + "moduleVersion": "1.0.0", + "imageSha256": "7982e70502a23cf3f7862f7f5c4e83a2aaf8a26e115444a98e97db47d75ffd71", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "85180de6b6d152bf2432f64c0a2814d60787622c68cf4d52fd687140c051d4ae", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/spiral/media/cover.png b/sdk/zoom/modules/spiral/media/cover.png new file mode 100644 index 0000000000..03d0cd92cf Binary files /dev/null and b/sdk/zoom/modules/spiral/media/cover.png differ diff --git a/sdk/zoom/modules/spiral/media/thumbnail.png b/sdk/zoom/modules/spiral/media/thumbnail.png new file mode 100644 index 0000000000..fbbdfbe983 Binary files /dev/null and b/sdk/zoom/modules/spiral/media/thumbnail.png differ diff --git a/sdk/zoom/modules/spiral/modwerk.module.json b/sdk/zoom/modules/spiral/modwerk.module.json new file mode 100644 index 0000000000..c27ba81508 --- /dev/null +++ b/sdk/zoom/modules/spiral/modwerk.module.json @@ -0,0 +1,210 @@ +{ + "schemaVersion": 3, + "id": "spiral", + "name": "Spiral", + "version": "1.0.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/spiral" + }, + "presentation": { + "label": "SPIRAL", + "family": "Pitch delay", + "summary": "A tempo-locked delay whose repeats climb or sink in pitch, compounding with every repeat; Glide adds a rise that starts at each note.", + "overview": "A tempo-locked delay whose repeats climb or sink in pitch, compounding with every repeat; Glide adds a rise that starts at each note.", + "highlights": [ + "Play isolated notes and listen for the repeats to climb or fall as Rise moves through centre." + ], + "usage": [ + "Add Spiral from the Delay group to a spare patch.", + "Play isolated notes and listen for the repeats to climb or fall as Rise moves through centre.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Spiral.", + "steps": [ + "Add Spiral from the Delay group to a spare patch.", + "Play isolated notes and listen for the repeats to climb or fall as Rise moves through centre." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Div", + "default": 30, + "doc": "Musical division of the tempo below: 1/32, 1/16T, 1/16, 1/8T, 1/8, dotted 1/8, 1/4, dotted 1/4. Default 30 lands on 1/16, which at 120 BPM is the 125 ms that the old Time=17 produced. Range 0–100.", + "labels": null + }, + { + "name": "Tempo", + "default": 120, + "doc": "BPM, read straight off the knob so the pedal's own number IS the tempo. Clamped to 40..240 in the DSP. Range 0–240.", + "labels": null + }, + { + "name": "Feed", + "default": 60, + "doc": "Repeats, scaled to 0.965 and soft-clipped in the loop. Range 0–100.", + "labels": null + }, + { + "name": "Rise", + "default": 62, + "doc": "Per-repeat ratio: 0 = octave down, 50 = unity, 100 = octave up. Range 0–100.", + "labels": null + }, + { + "name": "Glide", + "default": 45, + "doc": "Depth of the onset-triggered ramp on that ratio. Range 0–100.", + "labels": null + }, + { + "name": "Span", + "default": 45, + "doc": "How long the rise takes, ~0.19 s .. ~8 s. Range 0–100.", + "labels": null + }, + { + "name": "Tone", + "default": 50, + "doc": "Low-pass inside the feedback loop. Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 50, + "doc": "Dry/wet. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Spiral.ZDL", + "effectId": { + "gid": 8, + "fxid": 449 + }, + "effectVersion": "1.00", + "dspCost": 20.0, + "binary": { + "sha256": "7982e70502a23cf3f7862f7f5c4e83a2aaf8a26e115444a98e97db47d75ffd71", + "bytes": 8542, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "spiral-1.00", + "asset": "Spiral.ZDL" + } + }, + "screen": "static", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 8542, + "fastBytes": null, + "load": { + "display": "DSP 20 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "1.0.0", + "sourceSha256": "7982e70502a23cf3f7862f7f5c4e83a2aaf8a26e115444a98e97db47d75ffd71", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Spiral from the Delay group to a spare patch.", + "Play isolated notes and listen for the repeats to climb or fall as Rise moves through centre.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Spiral in the MultiStomp Editor", + "alt": "Spiral editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/spiral.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Spiral embedded cover", + "alt": "The monochrome effect cover for Spiral", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "1.0.0", + "imageSha256": "7982e70502a23cf3f7862f7f5c4e83a2aaf8a26e115444a98e97db47d75ffd71", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/spool/LICENSE b/sdk/zoom/modules/spool/LICENSE new file mode 100644 index 0000000000..49b807bbf4 --- /dev/null +++ b/sdk/zoom/modules/spool/LICENSE @@ -0,0 +1,192 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. + +MIT License + +Copyright (c) 2018 Chris Johnson + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/zoom/modules/spool/README.md b/sdk/zoom/modules/spool/README.md new file mode 100644 index 0000000000..98351b7032 --- /dev/null +++ b/sdk/zoom/modules/spool/README.md @@ -0,0 +1,45 @@ +# Spool + +## Overview + +A tempo-locked tape echo with flutter, wow, head wear, drive and a spring tail. Feed self-oscillates above about 90. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Tempo | 120 | BPM source for synced delay times. Descriptor is marked with the stock tempo flag pattern; true tap-tempo host writes still need hardware proof. Range 0–240. | +| Div | 67 | Discrete musical division selector inside the DSP: 1/16, 1/8T, 1/8, dotted 1/8, 1/4, dotted 1/4. Range 0–100. | +| Feed | 35 | Progressive repeats through 80; loop coefficient crosses unity near 92, reaching 1.4 at 100. Actual sustain depends on Wear, Drive and signal spectrum; record saturation bounds the loop. Range 0–100. | +| Flutr | 35 | Fast tape flutter depth. Range 0–100. | +| Wow | 25 | Slow tape-speed drift depth. Range 0–100. | +| Wear | 55 | Adds aged-tape filtering around the fixed Galaxy-derived head/tape FIR response. Range 0–100. | +| Drive | 35 | TapeHack-style soft clipping into the record path. Range 0–100. | +| Sprng | 0 | Experimental parallel mono spring-reverb return. Disabled by default while a closer Galaxy model is developed. Range 0–100. | +| Mix | 35 | Dry/wet crossfade. Range 0–100. | + +## Usage + +Play clipped notes and listen for repeated attacks, tape wear and wow as you raise feedback. + +### Quick tutorial + +1. Add Spool from the Delay group to a spare patch. +2. Play clipped notes and listen for repeated attacks, tape wear and wow as you raise feedback. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors; Airwindows / Chris Johnson (source or inspiration). [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/airwindows/tapeecho4) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/spool/TESTING.md b/sdk/zoom/modules/spool/TESTING.md new file mode 100644 index 0000000000..662532a512 --- /dev/null +++ b/sdk/zoom/modules/spool/TESTING.md @@ -0,0 +1,9 @@ +# Spool 1.2.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. + +Spool.ZDL, 16,010 bytes, Delay 914, header 1.02, SHA-256 `18c7cfc2494453074a0c4e68ee27706c3f46b37673b55a725c1ce1aa7a5f88dc`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/airwindows/tapeecho4) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/spool/media/capture.json b/sdk/zoom/modules/spool/media/capture.json new file mode 100644 index 0000000000..9062dd5669 --- /dev/null +++ b/sdk/zoom/modules/spool/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "spool", + "moduleVersion": "1.2.0", + "imageSha256": "18c7cfc2494453074a0c4e68ee27706c3f46b37673b55a725c1ce1aa7a5f88dc", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "768e40acd0e57d6b761792ba067551bfb22f00f4c2e5017cbbecaeffcd0a874a", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/spool/media/cover.png b/sdk/zoom/modules/spool/media/cover.png new file mode 100644 index 0000000000..c2e5f440d4 Binary files /dev/null and b/sdk/zoom/modules/spool/media/cover.png differ diff --git a/sdk/zoom/modules/spool/media/thumbnail.png b/sdk/zoom/modules/spool/media/thumbnail.png new file mode 100644 index 0000000000..573cb134d3 Binary files /dev/null and b/sdk/zoom/modules/spool/media/thumbnail.png differ diff --git a/sdk/zoom/modules/spool/modwerk.module.json b/sdk/zoom/modules/spool/modwerk.module.json new file mode 100644 index 0000000000..feb5731b6b --- /dev/null +++ b/sdk/zoom/modules/spool/modwerk.module.json @@ -0,0 +1,216 @@ +{ + "schemaVersion": 3, + "id": "spool", + "name": "Spool", + "version": "1.2.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors; Airwindows / Chris Johnson (source or inspiration)", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/airwindows/tapeecho4" + }, + "presentation": { + "label": "SPOOL", + "family": "Tape echo", + "summary": "A tempo-locked tape echo with flutter, wow, head wear, drive and a spring tail. Feed self-oscillates above about 90.", + "overview": "A tempo-locked tape echo with flutter, wow, head wear, drive and a spring tail. Feed self-oscillates above about 90.", + "highlights": [ + "Play clipped notes and listen for repeated attacks, tape wear and wow as you raise feedback." + ], + "usage": [ + "Add Spool from the Delay group to a spare patch.", + "Play clipped notes and listen for repeated attacks, tape wear and wow as you raise feedback.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Spool.", + "steps": [ + "Add Spool from the Delay group to a spare patch.", + "Play clipped notes and listen for repeated attacks, tape wear and wow as you raise feedback." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Tempo", + "default": 120, + "doc": "BPM source for synced delay times. Descriptor is marked with the stock tempo flag pattern; true tap-tempo host writes still need hardware proof. Range 0–240.", + "labels": null + }, + { + "name": "Div", + "default": 67, + "doc": "Discrete musical division selector inside the DSP: 1/16, 1/8T, 1/8, dotted 1/8, 1/4, dotted 1/4. Range 0–100.", + "labels": null + }, + { + "name": "Feed", + "default": 35, + "doc": "Progressive repeats through 80; loop coefficient crosses unity near 92, reaching 1.4 at 100. Actual sustain depends on Wear, Drive and signal spectrum; record saturation bounds the loop. Range 0–100.", + "labels": null + }, + { + "name": "Flutr", + "default": 35, + "doc": "Fast tape flutter depth. Range 0–100.", + "labels": null + }, + { + "name": "Wow", + "default": 25, + "doc": "Slow tape-speed drift depth. Range 0–100.", + "labels": null + }, + { + "name": "Wear", + "default": 55, + "doc": "Adds aged-tape filtering around the fixed Galaxy-derived head/tape FIR response. Range 0–100.", + "labels": null + }, + { + "name": "Drive", + "default": 35, + "doc": "TapeHack-style soft clipping into the record path. Range 0–100.", + "labels": null + }, + { + "name": "Sprng", + "default": 0, + "doc": "Experimental parallel mono spring-reverb return. Disabled by default while a closer Galaxy model is developed. Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 35, + "doc": "Dry/wet crossfade. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Spool.ZDL", + "effectId": { + "gid": 8, + "fxid": 914 + }, + "effectVersion": "1.02", + "dspCost": 20.0, + "binary": { + "sha256": "18c7cfc2494453074a0c4e68ee27706c3f46b37673b55a725c1ce1aa7a5f88dc", + "bytes": 16010, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "spool-1.02", + "asset": "Spool.ZDL" + } + }, + "screen": "static", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 16010, + "fastBytes": null, + "load": { + "display": "DSP 20 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "1.2.0", + "sourceSha256": "18c7cfc2494453074a0c4e68ee27706c3f46b37673b55a725c1ce1aa7a5f88dc", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Spool from the Delay group to a spare patch.", + "Play clipped notes and listen for repeated attacks, tape wear and wow as you raise feedback.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Spool in the MultiStomp Editor", + "alt": "Spool editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/spool.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Spool embedded cover", + "alt": "The monochrome effect cover for Spool", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "1.2.0", + "imageSha256": "18c7cfc2494453074a0c4e68ee27706c3f46b37673b55a725c1ce1aa7a5f88dc", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/taffy/LICENSE b/sdk/zoom/modules/taffy/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/taffy/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/taffy/README.md b/sdk/zoom/modules/taffy/README.md new file mode 100644 index 0000000000..ecd413243e --- /dev/null +++ b/sdk/zoom/modules/taffy/README.md @@ -0,0 +1,41 @@ +# Taffy + +## Overview + +A tape warp after the Red Panda Tensor: reverse, stop, double speed and random slips. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Speed | 50 | params[5]. Tape-motor speed the head ALWAYS trends toward: 0=-1x reverse, 25=stop, 50=+1x normal, 100=+2x octave up. Range 0–100. | +| Chnce | 35 | params[6]. How often random speed/direction slips happen. Range 0–100. | +| Depth | 60 | params[7]. How far a slip deviates from Speed (0 = slips do nothing, pure speed control; 100 = fully random tape warps). Range 0–100. | +| Glide | 60 | params[8]. Tape-motor smoothness: 0 = snappy/abrupt speed jumps, 100 = long smooth pitch glides. Range 0–100. | +| Mix | 50 | Mix default 1 (quiet-safe). The editor materialises patches on load (full-patch send), so audible-on-load no longer needs a hot default. Range 0–100. | + +## Usage + +Play a recognisable phrase and listen for changes in playback speed. + +### Quick tutorial + +1. Add Taffy from the Delay group to a spare patch. +2. Play a recognisable phrase and listen for changes in playback speed. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/taffy) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/taffy/TESTING.md b/sdk/zoom/modules/taffy/TESTING.md new file mode 100644 index 0000000000..61d5f7aa93 --- /dev/null +++ b/sdk/zoom/modules/taffy/TESTING.md @@ -0,0 +1,9 @@ +# Taffy 3.0.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. + +Taffy.ZDL, 6,306 bytes, Delay 466, header 3.00, SHA-256 `6dd61dca204c34e8701c614796475c676843382cee8a82f6f675624c09b839ee`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/taffy) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/taffy/media/capture.json b/sdk/zoom/modules/taffy/media/capture.json new file mode 100644 index 0000000000..42778c9843 --- /dev/null +++ b/sdk/zoom/modules/taffy/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "taffy", + "moduleVersion": "3.0.0", + "imageSha256": "6dd61dca204c34e8701c614796475c676843382cee8a82f6f675624c09b839ee", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "28320e5d73945c0ef2a8a2717b3af3b758b985da25aff1c52e31a1e945226bdb", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/taffy/media/cover.png b/sdk/zoom/modules/taffy/media/cover.png new file mode 100644 index 0000000000..aebb29f569 Binary files /dev/null and b/sdk/zoom/modules/taffy/media/cover.png differ diff --git a/sdk/zoom/modules/taffy/media/thumbnail.png b/sdk/zoom/modules/taffy/media/thumbnail.png new file mode 100644 index 0000000000..5891d2e816 Binary files /dev/null and b/sdk/zoom/modules/taffy/media/thumbnail.png differ diff --git a/sdk/zoom/modules/taffy/modwerk.module.json b/sdk/zoom/modules/taffy/modwerk.module.json new file mode 100644 index 0000000000..82a76c568f --- /dev/null +++ b/sdk/zoom/modules/taffy/modwerk.module.json @@ -0,0 +1,192 @@ +{ + "schemaVersion": 3, + "id": "taffy", + "name": "Taffy", + "version": "3.0.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/taffy" + }, + "presentation": { + "label": "TAFFY", + "family": "Pitch shift", + "summary": "A tape warp after the Red Panda Tensor: reverse, stop, double speed and random slips.", + "overview": "A tape warp after the Red Panda Tensor: reverse, stop, double speed and random slips.", + "highlights": [ + "Play a recognisable phrase and listen for changes in playback speed." + ], + "usage": [ + "Add Taffy from the Delay group to a spare patch.", + "Play a recognisable phrase and listen for changes in playback speed.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Taffy.", + "steps": [ + "Add Taffy from the Delay group to a spare patch.", + "Play a recognisable phrase and listen for changes in playback speed." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Speed", + "default": 50, + "doc": "params[5]. Tape-motor speed the head ALWAYS trends toward: 0=-1x reverse, 25=stop, 50=+1x normal, 100=+2x octave up. Range 0–100.", + "labels": null + }, + { + "name": "Chnce", + "default": 35, + "doc": "params[6]. How often random speed/direction slips happen. Range 0–100.", + "labels": null + }, + { + "name": "Depth", + "default": 60, + "doc": "params[7]. How far a slip deviates from Speed (0 = slips do nothing, pure speed control; 100 = fully random tape warps). Range 0–100.", + "labels": null + }, + { + "name": "Glide", + "default": 60, + "doc": "params[8]. Tape-motor smoothness: 0 = snappy/abrupt speed jumps, 100 = long smooth pitch glides. Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 50, + "doc": "Mix default 1 (quiet-safe). The editor materialises patches on load (full-patch send), so audible-on-load no longer needs a hot default. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Taffy.ZDL", + "effectId": { + "gid": 8, + "fxid": 466 + }, + "effectVersion": "3.00", + "dspCost": 20.0, + "binary": { + "sha256": "6dd61dca204c34e8701c614796475c676843382cee8a82f6f675624c09b839ee", + "bytes": 6306, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "taffy-3.00", + "asset": "Taffy.ZDL" + } + }, + "screen": "static", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 6306, + "fastBytes": null, + "load": { + "display": "DSP 20 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "3.0.0", + "sourceSha256": "6dd61dca204c34e8701c614796475c676843382cee8a82f6f675624c09b839ee", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Taffy from the Delay group to a spare patch.", + "Play a recognisable phrase and listen for changes in playback speed.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Taffy in the MultiStomp Editor", + "alt": "Taffy editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/taffy.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Taffy embedded cover", + "alt": "The monochrome effect cover for Taffy", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "3.0.0", + "imageSha256": "6dd61dca204c34e8701c614796475c676843382cee8a82f6f675624c09b839ee", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/sdk/zoom/modules/tonic/LICENSE b/sdk/zoom/modules/tonic/LICENSE new file mode 100644 index 0000000000..ffbec36ec6 --- /dev/null +++ b/sdk/zoom/modules/tonic/LICENSE @@ -0,0 +1,170 @@ +MIT License + +Copyright (c) 2026 Roman Rusinov +Copyright (c) 2024 Jannik Assfalg (the upstream toolchain, repeat98/ZoomMultistompZDL) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- +SCOPE — please read + +The MIT grant above covers the ORIGINAL work in this fork, namely: + + * the custom effects in src/custom/ (DSP, manifests, build scripts) + * the browser tools in tools/ (patch editor, cover editor, serve_editor.py, + apply_cover.py, the desktop audio-preview renderers) + * the reverse-engineering notes in docs/ and the cover artwork in graphics/ + +It does NOT and cannot cover the following, which are owned by others: + + * Upstream toolchain. This repository is a fork of + https://github.com/repeat98/ZoomMultistompZDL , which publishes no licence + file. Absent a licence, that material is under its author's default + copyright — all rights reserved. Anything inherited from upstream is used + here on that basis, and the MIT grant above does not extend to it. If you + intend to redistribute, ask that author. + + * Airwindows-derived DSP (src/airwindows/): MIT, Copyright (c) Chris Johnson + / Airwindows. Its own terms apply. + + * Dustbox (src/custom/dustbox/): MIT, Copyright (c) 2026 Marcelo Fuentes, + from https://github.com/marcfuentes/dustbox-zdl . Folded into this pack + under its own licence, which is kept alongside the source at + src/custom/dustbox/LICENSE. The DSP is unmodified; only the Power knob's + default was raised from 1 to 50 so it is audible on select, matching this + pack's convention. + + * Zoom firmware, stock effect binaries under stock_zdls/, decoded stock cover + images, and the TI C6000 toolchain: owned by Zoom Corporation and Texas + Instruments respectively. Not licensed here. They are referenced solely for + interoperability and reverse-engineering research, and no Zoom or TI code + is redistributed by this repository. + +Zoom and MultiStomp are trademarks of Zoom Corporation. This project is not +affiliated with, endorsed by, or supported by Zoom Corporation. Flashing +custom effects is done at your own risk and may void your warranty. + +Scope of the repository-level MIT grant + +Except where a file or component provides its own license or scope limitation, +the MIT License below applies to original software and associated original +documentation in this repository, only to the extent their copyrights are +controlled by Leemuzhko and the portions can be licensed independently. + +Third-party and vendor material, imported/reference components, firmware, +drivers, toolchains, IRs, model weights, recordings, graphics and other datasets +or assets are outside this default grant, including when unmarked. They retain +their own terms. Modifications and mixed or derived files remain subject to all +applicable component terms; this notice does not relicense third-party portions. + +Existing license grants, copyright notices and component-specific scope +statements remain in force. The exclusions above do not withdraw permissions +already granted under those licenses. ZOOM-CORE/ is outside this licensing change. + +See LICENSING.md, THIRD_PARTY_NOTICES.md and license_map.json for the scope and +reviewed evidence. The inventory is not exhaustive. + +--------------------------------------------------------------------------- + +MIT License + +Copyright (c) 2026 Leemuzhko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--------------------------------------------------------------------------- + +zui_stub / zui_stub_ret, zui_push_rts and zui_pop_rts in zui.asm are adapted from +TI C6000 CGT 8.5.0.LTS lib/src/call_stub.asm and push.asm: + +Copyright (c) 2000 Texas Instruments Incorporated +http://www.ti.com/ + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + +Redistributions in binary form must reproduce the above copyright +notice, this list of conditions and the following disclaimer in +the documentation and/or other materials provided with the +distribution. + +Neither the name of Texas Instruments Incorporated nor the names +of its contributors may be used to endorse or promote products +derived from this software without specific prior written +permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MIT License + +Copyright (c) 2024 Jannik Assfalg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +The effect sources in src/airwindows/ are derived from Airwindows by Chris +Johnson, also MIT licensed. See https://github.com/airwindows/airwindows for +the original source and copyright notices. diff --git a/sdk/zoom/modules/tonic/README.md b/sdk/zoom/modules/tonic/README.md new file mode 100644 index 0000000000..971a13178b --- /dev/null +++ b/sdk/zoom/modules/tonic/README.md @@ -0,0 +1,42 @@ +# Tonic + +## Overview + +A Bitters-inspired multi-effect: drive, a phaser and one of decimate, crush, FM or ring mod, in either order. + +## Controls + +| Control | Default | Function | +| --- | ---: | --- | +| Mode | 12 | Four named regions: Decim, Crush, FM, Ring. Range 0–100. | +| Amnt | 25 | Selected processor strength; zero bypasses it. Range 0–100. | +| Drive | 0 | Gain-compensated cubic distortion; zero bypasses it. Range 0–100. | +| Phase | 0 | Six-stage sine-swept phaser, up to 20 Hz; zero bypasses it. Range 0–100. | +| Order | 0 | Fwd: Drive-Phase-Mode. Rev: Mode-Phase-Drive. Range 0–100. | +| Mix | 50 | Stereo dry to mono processed wet; exact dry at zero. Range 0–100. | + +## Usage + +Try each processor on the same phrase, then reverse the processing order. + +### Quick tutorial + +1. Add Tonic from the Delay group to a spare patch. +2. Try each processor on the same phrase, then reverse the processing order. +3. Use the page buttons to reach the remaining controls. + +## Compatibility and limitations + +Hardware untested on the original MS-70CDR with OS 2.10. This build has startup knob initialization disabled. Check saved settings after recalling a patch. + +## Tests and measurements + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. [Verification](TESTING.md) + +## Authorship and licences + +Roman Rusinov and the ZoomMultistompZDL contributors. [Source](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/tonic) · [Licences](LICENSE) + +## Screens and audio + +![Embedded effect cover](media/cover.png) diff --git a/sdk/zoom/modules/tonic/TESTING.md b/sdk/zoom/modules/tonic/TESTING.md new file mode 100644 index 0000000000..896fcb29a6 --- /dev/null +++ b/sdk/zoom/modules/tonic/TESTING.md @@ -0,0 +1,9 @@ +# Tonic 0.1.0 verification + +Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested. + +Tonic.ZDL, 10,446 bytes, Delay 499, header 0.01, SHA-256 `388343ba778aa7b89709b0aa3363ec4c4c936a19f511c2de9ceaaf37813cc7a8`. + +Built from [aee98c53](https://github.com/themanro/ZoomMultistompZDL/tree/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/src/custom/tonic) with the own-runtime linker and TI C6000 8.5.0.LTS. The emulator rendered a half-second stereo signal at 44.1 kHz with the effect’s default controls. Hardware behavior, actual DSP load and patch recall are unmeasured. + +The [build recipe and SHA-256 inventory](https://github.com/repeat98/ZoomMultistompZDL/tree/a0dd89a0f429b533563631cb1a58a518ddc98e4a) reproduce this release. diff --git a/sdk/zoom/modules/tonic/media/capture.json b/sdk/zoom/modules/tonic/media/capture.json new file mode 100644 index 0000000000..fb7b75c0d8 --- /dev/null +++ b/sdk/zoom/modules/tonic/media/capture.json @@ -0,0 +1,15 @@ +{ + "schemaVersion": 1, + "machine": "zoom-ms-70cdr", + "moduleId": "tonic", + "moduleVersion": "0.1.0", + "imageSha256": "388343ba778aa7b89709b0aa3363ec4c4c936a19f511c2de9ceaaf37813cc7a8", + "firmware": "2.10", + "captures": [ + { + "path": "media/cover.png", + "sha256": "f7a90b03351a6fd20cdfadcce274c6e6c1f22cfa19b3b5c3ff8d93c6542e7514", + "plan": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + ] +} diff --git a/sdk/zoom/modules/tonic/media/cover.png b/sdk/zoom/modules/tonic/media/cover.png new file mode 100644 index 0000000000..e5acb56548 Binary files /dev/null and b/sdk/zoom/modules/tonic/media/cover.png differ diff --git a/sdk/zoom/modules/tonic/media/thumbnail.png b/sdk/zoom/modules/tonic/media/thumbnail.png new file mode 100644 index 0000000000..99010b2be1 Binary files /dev/null and b/sdk/zoom/modules/tonic/media/thumbnail.png differ diff --git a/sdk/zoom/modules/tonic/modwerk.module.json b/sdk/zoom/modules/tonic/modwerk.module.json new file mode 100644 index 0000000000..57c49b5b24 --- /dev/null +++ b/sdk/zoom/modules/tonic/modwerk.module.json @@ -0,0 +1,198 @@ +{ + "schemaVersion": 3, + "id": "tonic", + "name": "Tonic", + "version": "0.1.0", + "machine": "zoom-ms-70cdr", + "category": "effects", + "exclusive": false, + "author": { + "github": "themanro", + "name": "Roman Rusinov", + "credits": [ + "Roman Rusinov and the ZoomMultistompZDL contributors", + "Roman Rusinov and the MultiStomp Editor contributors, editor artwork", + "Leemuzhko, effect runtime", + "Jannik Aßfalg, ZoomMultistompZDL toolchain" + ] + }, + "maintainers": [ + "themanro", + "repeat98" + ], + "source": { + "repository": "https://github.com/themanro/ZoomMultistompZDL", + "revision": "aee98c53d7b568cbb55bb927aefbdc9b4e739f3e", + "path": "src/custom/tonic" + }, + "presentation": { + "label": "TONIC", + "family": "Distortion", + "summary": "A Bitters-inspired multi-effect: drive, a phaser and one of decimate, crush, FM or ring mod, in either order.", + "overview": "A Bitters-inspired multi-effect: drive, a phaser and one of decimate, crush, FM or ring mod, in either order.", + "highlights": [ + "Try each processor on the same phrase, then reverse the processing order." + ], + "usage": [ + "Add Tonic from the Delay group to a spare patch.", + "Try each processor on the same phrase, then reverse the processing order.", + "Use the page buttons to reach the remaining controls." + ] + }, + "access": { + "location": "Delay group in the MS-70CDR effect list, under Tonic.", + "steps": [ + "Add Tonic from the Delay group to a spare patch.", + "Try each processor on the same phrase, then reverse the processing order." + ], + "screenshots": [ + "media/cover.png" + ] + }, + "controls": [ + { + "name": "Mode", + "default": 12, + "doc": "Four named regions: Decim, Crush, FM, Ring. Range 0–100.", + "labels": null + }, + { + "name": "Amnt", + "default": 25, + "doc": "Selected processor strength; zero bypasses it. Range 0–100.", + "labels": null + }, + { + "name": "Drive", + "default": 0, + "doc": "Gain-compensated cubic distortion; zero bypasses it. Range 0–100.", + "labels": null + }, + { + "name": "Phase", + "default": 0, + "doc": "Six-stage sine-swept phaser, up to 20 Hz; zero bypasses it. Range 0–100.", + "labels": null + }, + { + "name": "Order", + "default": 0, + "doc": "Fwd: Drive-Phase-Mode. Rev: Mode-Phase-Drive. Range 0–100.", + "labels": null + }, + { + "name": "Mix", + "default": 50, + "doc": "Stereo dry to mono processed wet; exact dry at zero. Range 0–100.", + "labels": null + } + ], + "compatibility": { + "releases": [ + "2.10" + ], + "requires": [], + "conflicts": [], + "limitations": [ + "Hardware untested on the original MS-70CDR with OS 2.10.", + "This build has startup knob initialization disabled. Check saved settings after recalling a patch." + ] + }, + "platform": { + "kind": "zdl", + "file": "Tonic.ZDL", + "effectId": { + "gid": 8, + "fxid": 499 + }, + "effectVersion": "0.01", + "dspCost": 20.0, + "binary": { + "sha256": "388343ba778aa7b89709b0aa3363ec4c4c936a19f511c2de9ceaaf37813cc7a8", + "bytes": 10446, + "release": { + "repository": "https://github.com/repeat98/ZoomMultistompZDL", + "tag": "tonic-0.01", + "asset": "Tonic.ZDL" + } + }, + "screen": "static", + "pedals": [ + { + "machine": "zoom-ms-70cdr", + "firmware": "2.10", + "status": "untested", + "report": null + } + ] + }, + "resources": { + "memoryBytes": 10446, + "fastBytes": null, + "load": { + "display": "DSP 20 of 225 per patch", + "method": "static", + "conditions": "The effect descriptor declares this cost. Audio load on the pedal is unmeasured." + } + }, + "evidence": { + "tier": "emulator", + "moduleVersion": "0.1.0", + "sourceSha256": "388343ba778aa7b89709b0aa3363ec4c4c936a19f511c2de9ceaaf37813cc7a8", + "reports": [ + "TESTING.md" + ], + "hardware": null, + "verifiedBy": null + }, + "tests": { + "report": "TESTING.md", + "summary": "Ziddle passed the loader check and rendered 22,050 stereo frames. The compiled file passed the stock-code scan and MS-70CDR size limits. Hardware untested.", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "Add Tonic from the Delay group to a spare patch.", + "Try each processor on the same phrase, then reverse the processing order.", + "Use the page buttons to reach the remaining controls." + ] + }, + "screenshots": [ + "media/cover.png" + ], + "captureRecord": "media/capture.json" + } + }, + "license": { + "spdx": "MIT AND BSD-3-Clause", + "file": "LICENSE", + "declaration": "Effect source and artwork are MIT licensed. The runtime uses MIT and BSD-3-Clause components. See LICENSE for the applicable notices and credits." + }, + "media": [ + { + "path": "media/thumbnail.png", + "kind": "thumbnail", + "caption": "Tonic in the MultiStomp Editor", + "alt": "Tonic editor illustration", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "https://github.com/themanro/ZoomMultistompZDL/blob/aee98c53d7b568cbb55bb927aefbdc9b4e739f3e/graphics/fx/tonic.webp" + }, + { + "path": "media/cover.png", + "kind": "screenshot", + "caption": "Tonic embedded cover", + "alt": "The monochrome effect cover for Tonic", + "credit": "Roman Rusinov and contributors", + "license": "MIT", + "source": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling.", + "capture": { + "type": "emulator", + "release": "2.10", + "moduleVersion": "0.1.0", + "imageSha256": "388343ba778aa7b89709b0aa3363ec4c4c936a19f511c2de9ceaaf37813cc7a8", + "setup": "Decoded the embedded 128 by 64 cover from this exact ZDL and scaled it four times using nearest-neighbor sampling." + } + } + ] +} diff --git a/server/agent-board.ts b/server/agent-board.ts index 5ef1344df6..5dc74c2d38 100644 --- a/server/agent-board.ts +++ b/server/agent-board.ts @@ -7,6 +7,8 @@ import type { Database, Env } from './platform' import { throttle } from './auth' import { digest, HttpError, jsonBody, response } from './security' import { githubConfig } from './github' +import zoomRelease from '../sdk/approvals/zoom-release-waivers.json' +import authors from '../.github/module-authors.json' export const CLAIM_KINDS = ['module', 'hook', 'migration', 'dsp-region', 'machine-id', 'issue'] as const export type ClaimKind = typeof CLAIM_KINDS[number] @@ -116,9 +118,9 @@ const held = (row: ClaimRow) => `${row.kind} ${row.claim_key} is claimed by @${r export async function boardUser(request: Request, env: Env, db: Database) { const value = request.headers.get('X-Modwerk-Developer') ?? '' if (!env.GITHUB_OAUTH_CLIENT_ID || !env.GITHUB_OAUTH_CLIENT_SECRET || !/^[a-f0-9]{64}$/.test(value)) return null - return await db.prepare('SELECT u.id,u.github_login FROM users u JOIN developer_sessions s ON s.user_id=u.id WHERE s.token_hash=? AND s.client_hash=? AND s.expires>? AND u.suspended=0 AND u.github_id IS NOT NULL AND u.github_login IS NOT NULL').bind(await digest(value), await digest(env.GITHUB_OAUTH_CLIENT_ID + ':' + env.GITHUB_OAUTH_CLIENT_SECRET), Math.floor(Date.now() / 1000)).first<{ id: string; github_login: string }>() + return await db.prepare('SELECT u.id,u.github_login,u.github_id FROM users u JOIN developer_sessions s ON s.user_id=u.id WHERE s.token_hash=? AND s.client_hash=? AND s.expires>? AND u.suspended=0 AND u.github_id IS NOT NULL AND u.github_login IS NOT NULL').bind(await digest(value), await digest(env.GITHUB_OAUTH_CLIENT_ID + ':' + env.GITHUB_OAUTH_CLIENT_SECRET), Math.floor(Date.now() / 1000)).first<{ id: string; github_login: string; github_id: string }>() } -function needBoardUser(user: { id: string; github_login: string } | null) { +function needBoardUser(user: Awaited>) { if (!user) throw new HttpError(401, 'Sign in for the board first: npm run board -- login') return user } @@ -127,6 +129,40 @@ async function expireKey(db: Database, kind: ClaimKind, key: string, now: string } const expiry = (now: number, linked: boolean) => linked ? null : new Date(now + CLAIM_DAYS * DAY).toISOString() +// Each effect keeps its own unique board key. Only this named release on its owner's branch shares a quota slot. +const zoomBranch = 'codex/zoom-multistomp-effects' +const zoomKeys = Object.keys(zoomRelease.modules).map(id => 'zoom/' + id) +const jsonZoomKeys = JSON.stringify(zoomKeys) +const zoomMember = "kind='module' AND branch=? AND claim_key IN (SELECT value FROM json_each(?))" +const activeClaim = 'released_at IS NULL AND (expires_at IS NULL OR expires_at>?)' + +async function reserveZoomCollection(db: Database, userId: string, now: string, nowMs: number) { + const keys = 'SELECT value FROM json_each(?)' + const other = await db.prepare(SELECT + ` WHERE c.kind='module' AND c.claim_key IN (${keys}) AND c.released_at IS NULL + AND (c.expires_at IS NULL OR c.expires_at>?) AND (c.user_id<>? OR c.branch IS NOT ?) LIMIT 1`) + .bind(jsonZoomKeys, now, userId, zoomBranch).first() + if (other) throw new HttpError(409, held(other)) + + // One transaction expires stale rows and acquires every missing key. A racing holder rolls back the entire insert. + const members = JSON.stringify(zoomKeys.map(key => ({ key, id: crypto.randomUUID() }))) + const capacity = `(SELECT COUNT(*) FROM agent_claims WHERE user_id=? AND ${activeClaim} + AND NOT (kind='module' AND branch IS ? AND claim_key IN (${keys}))) < ?` + await db.batch([ + db.prepare(`UPDATE agent_claims SET released_at=?,released_reason='expired' WHERE kind='module' AND claim_key IN (${keys}) + AND released_at IS NULL AND expires_at<=?`).bind(now, jsonZoomKeys, now), + db.prepare(`INSERT INTO agent_claims(id,kind,claim_key,user_id,branch,note,created_at,renewed_at,expires_at) + SELECT json_extract(m.value,'$.id'),'module',json_extract(m.value,'$.key'),?,?, + 'MS-70CDR collection release',?,?,? FROM json_each(?) m WHERE ${capacity} AND NOT EXISTS + (SELECT 1 FROM agent_claims c WHERE c.kind='module' AND c.claim_key=json_extract(m.value,'$.key') + AND c.released_at IS NULL AND c.user_id=? AND c.branch=?)`) + .bind(userId, zoomBranch, now, now, expiry(nowMs, false), members, userId, now, zoomBranch, jsonZoomKeys, CLAIM_LIMIT, userId, zoomBranch), + ]).catch(() => { throw new HttpError(409, 'The collection could not be reserved. Check its individual claims and try again.') }) + const { results } = await db.prepare(SELECT + ` WHERE c.user_id=? AND ${zoomMember} AND c.released_at IS NULL`) + .bind(userId, zoomBranch, jsonZoomKeys).all() + if (results.length !== zoomKeys.length) throw new HttpError(409, 'The collection needs one free claim slot.') + return response({ claims: results.map(view) }) +} + type Outcome = 'reproduced' | 'different-result' type MessageRow = { id: string; kind: MessageKind | 'reply'; parent_id: string | null; topic_kind: TopicKind; topic_key: string; user_id: string; github_login: string; to_login: string | null; body: string; pull_request: number | null; priority: string | null; created_at: string; active_at: string; ended_at: string | null; ended_reason: string | null; parent_issue: number | null; parent_claim: string | null; outcome: Outcome | null; evidence: number | null } // A suspended account's posts disappear at once; the hourly run deletes them. @@ -422,6 +458,12 @@ export async function agentBoardRoutes(request: Request, env: Env, db: Database, return response(weeks === null ? await activity(db, nowMs) : await weeklyActivity(db, nowMs, weeks)) } if (path === '/api/agent-board/messages' || path.startsWith('/api/agent-board/messages/')) return await messageRoutes(request, url, env, db, adminId, nowMs) + if (path === '/api/agent-board/collections/zoom-multistomp' && request.method === 'POST') { + const user = needBoardUser(await boardUser(request, env, db)) + if (user.github_id !== String(authors.accounts.repeat98)) throw new HttpError(403, 'This reservation belongs to the release owner.') + await throttle(db, 'agent-board:' + user.id, CLAIM_WRITES_PER_HOUR) + return await reserveZoomCollection(db, user.id, now, nowMs) + } if (path === '/api/agent-board/claims' && request.method === 'GET') { const kind = url.searchParams.get('kind'), key = url.searchParams.get('key'), holder = url.searchParams.get('holder')?.replace(/^@/, '').toLowerCase() const where: string[] = [], binds: unknown[] = [] @@ -456,7 +498,10 @@ export async function agentBoardRoutes(request: Request, env: Env, db: Database, await db.prepare('UPDATE agent_claims SET renewed_at=?,branch=COALESCE(?,branch),pull_request=COALESCE(?,pull_request),note=CASE WHEN ?=1 THEN ? ELSE note END,expires_at=CASE WHEN COALESCE(?,pull_request) IS NULL THEN ? ELSE NULL END WHERE id=?').bind(now, branch, pr, body.note === undefined ? 0 : 1, note, pr, expiry(nowMs, false), current.id).run() return response({ claim: view((await db.prepare(SELECT + ' WHERE c.id=?').bind(current.id).first())!), renewed: true }) } - const count = await db.prepare('SELECT COUNT(*) AS n FROM agent_claims WHERE user_id=? AND released_at IS NULL AND (expires_at IS NULL OR expires_at>?)').bind(user.id, now).first<{ n: number }>() + const count = user.github_id === String(authors.accounts.repeat98) + ? await db.prepare(`SELECT COUNT(DISTINCT CASE WHEN ${zoomMember} THEN 'zoom-release' ELSE id END) AS n + FROM agent_claims WHERE user_id=? AND ${activeClaim}`).bind(zoomBranch, jsonZoomKeys, user.id, now).first<{ n: number }>() + : await db.prepare(`SELECT COUNT(*) AS n FROM agent_claims WHERE user_id=? AND ${activeClaim}`).bind(user.id, now).first<{ n: number }>() if ((count?.n ?? 0) >= CLAIM_LIMIT) throw new HttpError(409, `You hold ${CLAIM_LIMIT} claims. Release one you no longer need first (npm run board -- release ).`) const id = crypto.randomUUID() try { diff --git a/src/App.tsx b/src/App.tsx index d22fc84d1c..26971fb515 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -82,7 +82,8 @@ import { ZoomEffectDetail } from './devices/ZoomEffectDetail' import { ZOOM_EFFECTS, isZoomSetDevice } from './devices/zoom-effects' import { LibraryDock } from './components/LibraryDock' import { LibrarySelection } from './components/LibrarySelection' -import { ALL_MACHINES, DEVICES, DEVICES_BY_ID, deviceHref, parseDeviceRoute, rememberDevice, rememberedDevice, type DeviceProfile } from './devices/registry' +import { ALL_MACHINES, DEVICES, DEVICES_BY_ID, deviceHref, lastMachine, parseDeviceRoute, rememberDevice, rememberedDevice, type DeviceProfile } from './devices/registry' +import { sidebarMachine } from './devices/sidebar-machine' import { parseZoomHubRoute, zoomHubHref } from './devices/zoom-hub-route' import type { ZoomLink } from './engine/zoom/zoom-link' import { DIGI_DEVICES, DIGI_MODS, isDigiDevice, type DigiMod } from './devices/digi-mods' @@ -295,6 +296,8 @@ export default function App() { const machineHasMods = !allMachines && (currentDevice.status === 'available' || currentDevice.status === 'preview') const machineBuildPreview = !allMachines && isCoreBuildPreview(currentDevice.id) && currentDevice.status === 'research' && !!currentDevice.sdk const machineCanConfigure = machineHasMods || machineBuildPreview + // A machine that has mods or a core build preview, as machineCanConfigure asks of the page's machine. + const takesSets = (device: DeviceProfile) => device.status === 'available' || device.status === 'preview' || (isCoreBuildPreview(device.id) && device.status === 'research' && !!device.sdk) // The overview shows All machines too, so the forum and other machine-less pages after it don't fall back to an older machine. useEffect(() => { if (allRoute || overviewRoute) rememberDevice(ALL_MACHINES); else if (machineView || octatrackRoute) rememberDevice(currentDevice.id) }, [allRoute, overviewRoute, machineView, octatrackRoute, currentDevice.id]) // #devices, the old machine overview, opens the overview page. @@ -578,11 +581,11 @@ export default function App() {
{octatrackUi &&
Your workspace
} {octatrackUi ? {(() => { - const pedal = zoomHub?.device ?? (hubRoute || configuration ? undefined : zoomConnected) - if (pedal) return <>{zoomLink && setZoomInstall(true)} />} - const device = sidebarConfiguration ? DEVICES_BY_ID[configurationDevice(sidebarConfiguration)] : machineCanConfigure ? currentDevice : DEVICES_BY_ID.octatrack + const last = DEVICES_BY_ID[lastMachine() ?? ''] + const { device, pedal } = sidebarMachine({ allMachines, current: currentDevice, currentTakesSets: machineCanConfigure, currentHasSet: !!machineActive, last, lastTakesSets: !!last && takesSets(last), octatrackConnected: !!usbLink, pedalPage: zoomHub?.device, pedalConnected: zoomConnected, octatrackPage: hubRoute || configuration }) + if (pedal) return <>{zoomLink && setZoomInstall(true)} />} const unit = device.id === 'octatrack' && !!usbLink - return <>{unit && usbLink && setBaseInstall('manual')} />} })()} : <> + return <>{unit && usbLink && setBaseInstall('manual')} />} })()} : <>
Configurations
} diff --git a/src/catalog/module-contract-v3.test.ts b/src/catalog/module-contract-v3.test.ts index 96280c8d38..d288911eeb 100644 --- a/src/catalog/module-contract-v3.test.ts +++ b/src/catalog/module-contract-v3.test.ts @@ -1,3 +1,4 @@ +import zoomApprovals from '../../sdk/approvals/zoom-release-waivers.json' import { describe, expect, it } from 'vitest' import { readFileSync } from 'node:fs' import { resolve } from 'node:path' @@ -130,6 +131,28 @@ describe('module contract v3, zdl (Zoom effect files)', () => { expect(document.platform).toMatchObject({ kind: 'zdl', file: 'Loop.ZDL', effectId: { gid: 8, fxid: 467 }, screen: 'live' }) expect(() => requireModwerkPublication(document)).not.toThrow() }) + it('limits the MS-70CDR release exception to the approved source, version, file and reported evidence', () => { + const value = zdl() + const hash = '7982e70502a23cf3f7862f7f5c4e83a2aaf8a26e115444a98e97db47d75ffd71' + Object.assign(value, { id: 'spiral', version: '1.0.0', source: { + repository: 'https://github.com/themanro/ZoomMultistompZDL', path: 'src/custom/spiral', + revision: 'aee98c53d7b568cbb55bb927aefbdc9b4e739f3e', + } }) + Object.assign(value.evidence, { tier: 'emulator', moduleVersion: value.version, hardware: null, verifiedBy: null, sourceSha256: hash }) + value.platform.binary.sha256 = hash + value.platform.pedals = [{ machine: value.machine, firmware: '2.10', status: 'untested', report: null }] + const document = parse(value) + expect(() => requireModwerkPublication(document)).toThrow('author-hardware') + expect(() => requireModwerkPublication(document, zoomApprovals)).not.toThrow() + for (const change of [ + { id: 'other' }, { version: '1.0.1' }, { source: { ...value.source, revision: '0'.repeat(40) } }, + { source: { ...value.source, path: 'src/custom/other' } }, { source: { ...value.source, repository: 'https://github.com/other/effects' } }, + { platform: { ...value.platform, binary: { ...value.platform.binary, sha256: sha } } }, + { evidence: { ...value.evidence, sourceSha256: sha } }, { evidence: { ...value.evidence, tier: 'none' } }, + { platform: { ...value.platform, pedals: [{ ...value.platform.pedals[0], firmware: '1.00' }] } }, + { resources: { ...value.resources, memoryBytes: null } }, + ]) expect(() => requireModwerkPublication({ ...document, ...change } as ModwerkModule, zoomApprovals)).toThrow() + }) it('refuses what the pedal can’t take or Modwerk can’t list', () => { const with_ = (change: (value: ReturnType) => void) => { const value = zdl(); change(value); return () => parse(value) } expect(with_(value => { value.platform.file = 'LoopLonger.ZDL' })).toThrow('at most 8 letters') diff --git a/src/catalog/module-contract-v3.ts b/src/catalog/module-contract-v3.ts index 1c0af6d5ae..ff9a10205e 100644 --- a/src/catalog/module-contract-v3.ts +++ b/src/catalog/module-contract-v3.ts @@ -291,13 +291,34 @@ function parseEvidence(value: unknown, moduleVersion: string): ModwerkModule['ev } // Tiered release gate: published versions measure their memory and load and carry the author's hardware report. -export function requireModwerkPublication(document: ModwerkModule) { +type ZoomReleaseApprovals = { + machine: string; firmware: string; sourceRepository: string + modules: Record +} + +function hasZoomReleaseWaiver(document: ModwerkModule, zoomApprovals?: ZoomReleaseApprovals): boolean { + const { platform, evidence, source } = document + if (!zoomApprovals || platform.kind !== 'zdl' || document.machine !== zoomApprovals.machine || + !Object.hasOwn(zoomApprovals.modules, document.id)) return false + + const pin = zoomApprovals.modules[document.id] + const [pedal] = platform.pedals + return document.version === pin.version && source?.repository === zoomApprovals.sourceRepository && + source.revision === pin.sourceRevision && source.path === pin.sourcePath && + platform.binary.sha256 === pin.binarySha256 && evidence.sourceSha256 === pin.binarySha256 && + evidence.tier === 'emulator' && evidence.moduleVersion === pin.version && evidence.hardware === null && + evidence.verifiedBy === null && evidence.reports.length > 0 && + platform.pedals.length === 1 && pedal.machine === document.machine && pedal.firmware === zoomApprovals.firmware && + pedal.status === 'untested' && pedal.report === null +} + +export function requireModwerkPublication(document: ModwerkModule, zoomApprovals?: ZoomReleaseApprovals) { if (document.resources.memoryBytes === null) fail(document.id + '.resources.memoryBytes', 'measure the module’s memory before publication') if (document.resources.load.method === 'unmeasured') fail(document.id + '.resources.load.method', 'measure the audio and CPU load before publication') - if (EVIDENCE_TIERS.indexOf(document.evidence.tier) < EVIDENCE_TIERS.indexOf('author-hardware')) fail(document.id + '.evidence.tier', 'publication needs at least author-hardware evidence') + const waived = hasZoomReleaseWaiver(document, zoomApprovals) + if (!waived && EVIDENCE_TIERS.indexOf(document.evidence.tier) < EVIDENCE_TIERS.indexOf('author-hardware')) fail(document.id + '.evidence.tier', 'publication needs at least author-hardware evidence') if ('screenshots' in document.access && !document.access.screenshots.length) fail(document.id + '.access.screenshots', 'publication needs actual screenshots of where the mod appears') - // A Zoom effect is listed for a pedal only with hardware evidence on that pedal (docs/ZDL_MODULE_CONTRACT.md#evidence). - if (document.platform.kind === 'zdl' && !document.platform.pedals.some(pedal => pedal.machine === document.machine && pedal.status === 'confirmed')) fail(document.id + '.platform.pedals', 'publication needs a confirmed hardware report on ' + document.machine) + if (!waived && document.platform.kind === 'zdl' && !document.platform.pedals.some(pedal => pedal.machine === document.machine && pedal.status === 'confirmed')) fail(document.id + '.platform.pedals', 'publication needs a confirmed hardware report on ' + document.machine) } // The elemod build spec (build.json): what Modwerk's toolchain compiles and links. Stock bytes never appear here: diff --git a/src/community/agent-board.test.ts b/src/community/agent-board.test.ts index a3b654f37a..bb874285c9 100644 --- a/src/community/agent-board.test.ts +++ b/src/community/agent-board.test.ts @@ -206,6 +206,32 @@ describe('agent board', () => { expect(() => claimNote(note), note).toThrow() }) + it('reserves the approved Zoom keys together and counts them as one owner claim', async () => { + const { boardLogin, db, call, claim } = await fixture() + const owner = await boardLogin('repeat98'), other = await boardLogin('other') + db.prepare("UPDATE users SET github_id=? WHERE github_login='repeat98'").run('67785539') + const reserve = (token: string) => call('/agent-board/collections/zoom-multistomp', 'POST', {}, token) + expect((await reserve(other)).status).toBe(403) + const conflict = await (await claim(other, { kind: 'module', key: 'zoom/spiral' })).json() + expect((await reserve(owner)).status).toBe(409) + const mine = async () => (await (await call('/agent-board/claims?holder=repeat98')).json()).claims + expect(await mine()).toHaveLength(0) + await call('/agent-board/claims/' + conflict.claim.id, 'DELETE', undefined, other) + for (let i = 0; i < CLAIM_LIMIT; i++) expect((await claim(owner, { kind: 'issue', key: String(100 + i) })).status).toBe(201) + expect((await reserve(owner)).status).toBe(409) + const held = await mine() + expect(held).toHaveLength(CLAIM_LIMIT) + await call('/agent-board/claims/' + held[0].id, 'DELETE', undefined, owner) + const release = await reserve(owner) + expect(release.status).toBe(200) + const result = await release.json() + expect(result.claims).toHaveLength(28) + expect(new Set(result.claims.map((item: { key: string }) => item.key)).size).toBe(28) + expect((await (await reserve(owner)).json()).claims).toEqual(result.claims) + expect((await claim(other, { kind: 'module', key: 'zoom/spiral' })).status).toBe(409) + expect((await claim(owner, { kind: 'module', key: 'zoom/other' })).status).toBe(409) + }) + it('limits how many claims one person holds', async () => { const { boardLogin, claim } = await fixture() const ada = await boardLogin('ada') diff --git a/src/community/module-changelogs/digitone-kitbank.json b/src/community/module-changelogs/digitone-kitbank.json new file mode 100644 index 0000000000..2df384764d --- /dev/null +++ b/src/community/module-changelogs/digitone-kitbank.json @@ -0,0 +1,12 @@ +[ + { + "version": "0.2.0-experimental", + "date": "2026-11-14", + "changes": [ + "First release: KIT PER BANK in SETTINGS gives the 16 patterns of a bank the kit of its first pattern (A01 for A01 to A16), like the Octatrack's parts. Off at power-on.", + "Hold PTN and press YES to lock the active pattern to its own copy of the sound; again to share the bank's kit. The switch and the locks are saved with the project.", + "Pasting a pattern never overwrites its bank's sound. Old projects open with the switch off and play as on the stock OS.", + "Known issue: for under a second after PTN+YES, a knob turn can be ignored while the kit reloads." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-arrakis.json b/src/community/module-changelogs/zoom-ms-70cdr-arrakis.json new file mode 100644 index 0000000000..d9e20554d7 --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-arrakis.json @@ -0,0 +1,9 @@ +[ + { + "version": "2.0.0", + "date": "2026-11-20", + "changes": [ + "A Dune-style detuned sub-octave drone: two subs beating against each other." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-carillon.json b/src/community/module-changelogs/zoom-ms-70cdr-carillon.json new file mode 100644 index 0000000000..c3e4a7770e --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-carillon.json @@ -0,0 +1,9 @@ +[ + { + "version": "0.4.0", + "date": "2026-11-20", + "changes": [ + "A resonant filter bank: 32 narrow filters from C2 to C8, snapped to a key and scale. A filter at low Decay, ringing bells turned up." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-chimera.json b/src/community/module-changelogs/zoom-ms-70cdr-chimera.json new file mode 100644 index 0000000000..ab0a24b53e --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-chimera.json @@ -0,0 +1,9 @@ +[ + { + "version": "0.3.0", + "date": "2026-11-20", + "changes": [ + "Your guitar as the voice of a simulated throat and mouth, like a talkbox: vowels, jaw, body size, nose, and a mouth that can follow your notes or babble." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-chopdly.json b/src/community/module-changelogs/zoom-ms-70cdr-chopdly.json new file mode 100644 index 0000000000..24148b08e4 --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-chopdly.json @@ -0,0 +1,9 @@ +[ + { + "version": "1.4.0", + "date": "2026-11-20", + "changes": [ + "A delay that chops what it recorded: every repeat replays the last cycle cut into 1-16 chops (or at your notes), rearranged, reversed, pitched and stretched, and the repeats get re-chopped." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-corrupt.json b/src/community/module-changelogs/zoom-ms-70cdr-corrupt.json new file mode 100644 index 0000000000..5a81f6ac03 --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-corrupt.json @@ -0,0 +1,9 @@ +[ + { + "version": "2.0.0", + "date": "2026-11-20", + "changes": [ + "A Data Corrupter-style square synth: the note you play, a tracked sub and a divided harmony." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-deform.json b/src/community/module-changelogs/zoom-ms-70cdr-deform.json new file mode 100644 index 0000000000..738eb00be4 --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-deform.json @@ -0,0 +1,9 @@ +[ + { + "version": "0.4.0", + "date": "2026-11-20", + "changes": [ + "Drive, crush and compression in one, after the Torso S-4: two-band drive, a soft crush and a one-knob compressor, with noise that follows your playing." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-dissolve.json b/src/community/module-changelogs/zoom-ms-70cdr-dissolve.json new file mode 100644 index 0000000000..146f2a9a3a --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-dissolve.json @@ -0,0 +1,9 @@ +[ + { + "version": "2.0.0", + "date": "2026-11-20", + "changes": [ + "A glitch delay after the OBNE Parting: chunks of what you play are dropped, smeared into a wash, reversed or dropped an octave." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-droplets.json b/src/community/module-changelogs/zoom-ms-70cdr-droplets.json new file mode 100644 index 0000000000..6a0918dab4 --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-droplets.json @@ -0,0 +1,9 @@ +[ + { + "version": "0.3.0", + "date": "2026-11-20", + "changes": [ + "A granular delay: short grains sprayed from the last 2.5 s, with pitch steps and patterns, scan, randomness and feedback. Feedback at 100 freezes the buffer." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-dustbox.json b/src/community/module-changelogs/zoom-ms-70cdr-dustbox.json new file mode 100644 index 0000000000..86d8070137 --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-dustbox.json @@ -0,0 +1,9 @@ +[ + { + "version": "1.0.0", + "date": "2026-11-20", + "changes": [ + "A Buzz Box-style fuzz with a flip-flop sub-octave. Contributed by Marcelo Fuentes (MIT)." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-flower.json b/src/community/module-changelogs/zoom-ms-70cdr-flower.json new file mode 100644 index 0000000000..9c5116d381 --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-flower.json @@ -0,0 +1,9 @@ +[ + { + "version": "2.0.0", + "date": "2026-11-20", + "changes": [ + "A Korg-style random sample-and-hold step filter: the \"Digital Bath\" sound." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-galactic.json b/src/community/module-changelogs/zoom-ms-70cdr-galactic.json new file mode 100644 index 0000000000..171d865815 --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-galactic.json @@ -0,0 +1,9 @@ +[ + { + "version": "1.2.0", + "date": "2026-11-20", + "changes": [ + "Airwindows' lush Galactic reverb, its wet path boosted for pedal levels." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-genloss.json b/src/community/module-changelogs/zoom-ms-70cdr-genloss.json new file mode 100644 index 0000000000..43e7a69103 --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-genloss.json @@ -0,0 +1,9 @@ +[ + { + "version": "1.0.0", + "date": "2026-11-20", + "changes": [ + "Tape and VHS generation loss: wow, a head-bump tone shift and hiss." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-gyre.json b/src/community/module-changelogs/zoom-ms-70cdr-gyre.json new file mode 100644 index 0000000000..44554cedff --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-gyre.json @@ -0,0 +1,9 @@ +[ + { + "version": "1.0.0", + "date": "2026-11-20", + "changes": [ + "A loop you hold that keeps spiralling: two grains half a window apart make it unity-gain, so Decay at 0 holds for ever and Rise climbs or sinks it each pass." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-horizon.json b/src/community/module-changelogs/zoom-ms-70cdr-horizon.json new file mode 100644 index 0000000000..cf59a5b2c3 --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-horizon.json @@ -0,0 +1,9 @@ +[ + { + "version": "0.3.0", + "date": "2026-11-20", + "changes": [ + "A huge, spacey reverb: eight long, slowly moving lines, from a room to a cathedral, a minute-long tail and a hold, a swell that blooms each note in." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-horizonl.json b/src/community/module-changelogs/zoom-ms-70cdr-horizonl.json new file mode 100644 index 0000000000..42adaa8e58 --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-horizonl.json @@ -0,0 +1,9 @@ +[ + { + "version": "0.2.0", + "date": "2026-11-20", + "changes": [ + "Horizon at half the sample rate inside: the same space for about half the DSP, for chains where Horizon crackles. Hi tops out at 10 kHz." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-howl.json b/src/community/module-changelogs/zoom-ms-70cdr-howl.json new file mode 100644 index 0000000000..ad6c6ca1bb --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-howl.json @@ -0,0 +1,9 @@ +[ + { + "version": "2.0.0", + "date": "2026-11-20", + "changes": [ + "A Total Sonic Annihilation-style feedback loop that self-oscillates on demand." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-hydra.json b/src/community/module-changelogs/zoom-ms-70cdr-hydra.json new file mode 100644 index 0000000000..4f1e9572b7 --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-hydra.json @@ -0,0 +1,9 @@ +[ + { + "version": "1.0.0", + "date": "2026-11-20", + "changes": [ + "Two extra playheads on one delay: a double-time ghost an octave up and a half-time drag an octave down, locked to tempo. Built for drums." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-klang.json b/src/community/module-changelogs/zoom-ms-70cdr-klang.json new file mode 100644 index 0000000000..ee6dffd61c --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-klang.json @@ -0,0 +1,9 @@ +[ + { + "version": "2.0.0", + "date": "2026-11-20", + "changes": [ + "A swept-carrier ring modulator: sirens, dive bombs and clanging metal." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-oxide.json b/src/community/module-changelogs/zoom-ms-70cdr-oxide.json new file mode 100644 index 0000000000..265d998557 --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-oxide.json @@ -0,0 +1,9 @@ +[ + { + "version": "1.1.0", + "date": "2026-11-20", + "changes": [ + "Airwindows ToTape9: tape saturation with Dolby-style tilt, bias, flutter and head bump." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-rewire.json b/src/community/module-changelogs/zoom-ms-70cdr-rewire.json new file mode 100644 index 0000000000..fd371461b5 --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-rewire.json @@ -0,0 +1,9 @@ +[ + { + "version": "1.0.0", + "date": "2026-11-20", + "changes": [ + "Five lo-fi blocks (crush, drive, ring mod, comb, frequency shift) in a chain you can reorder." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-ring.json b/src/community/module-changelogs/zoom-ms-70cdr-ring.json new file mode 100644 index 0000000000..96971f5734 --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-ring.json @@ -0,0 +1,9 @@ +[ + { + "version": "0.3.0", + "date": "2026-11-20", + "changes": [ + "A spinning ring that follows your signal, full screen. Passes the sound through." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-rooms.json b/src/community/module-changelogs/zoom-ms-70cdr-rooms.json new file mode 100644 index 0000000000..76382bb26b --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-rooms.json @@ -0,0 +1,9 @@ +[ + { + "version": "2.0.0", + "date": "2026-11-20", + "changes": [ + "A multi-mode reverb after the DBA Rooms: Room, Digit, Peak, Gate, Wave and Gong, with Freq and Depth reused per mode." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-shatter.json b/src/community/module-changelogs/zoom-ms-70cdr-shatter.json new file mode 100644 index 0000000000..de09fdcf86 --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-shatter.json @@ -0,0 +1,9 @@ +[ + { + "version": "2.0.0", + "date": "2026-11-20", + "changes": [ + "A stutter and beat-repeat glitch for drums." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-skull.json b/src/community/module-changelogs/zoom-ms-70cdr-skull.json new file mode 100644 index 0000000000..4a6370d1a0 --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-skull.json @@ -0,0 +1,9 @@ +[ + { + "version": "0.6.0", + "date": "2026-11-20", + "changes": [ + "A shaded 3D skull that reacts to your playing: the jaw opens, the eyes light, it jolts on attacks and explodes at the loudest. Passes the sound through." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-spiral.json b/src/community/module-changelogs/zoom-ms-70cdr-spiral.json new file mode 100644 index 0000000000..b63afa8dbd --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-spiral.json @@ -0,0 +1,9 @@ +[ + { + "version": "1.0.0", + "date": "2026-11-20", + "changes": [ + "A tempo-locked delay whose repeats climb or sink in pitch, compounding with every repeat; Glide adds a rise that starts at each note." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-spool.json b/src/community/module-changelogs/zoom-ms-70cdr-spool.json new file mode 100644 index 0000000000..31d24277a2 --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-spool.json @@ -0,0 +1,9 @@ +[ + { + "version": "1.2.0", + "date": "2026-11-20", + "changes": [ + "A tempo-locked tape echo with flutter, wow, head wear, drive and a spring tail. Feed self-oscillates above about 90." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-taffy.json b/src/community/module-changelogs/zoom-ms-70cdr-taffy.json new file mode 100644 index 0000000000..76823c5e0e --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-taffy.json @@ -0,0 +1,9 @@ +[ + { + "version": "3.0.0", + "date": "2026-11-20", + "changes": [ + "A tape warp after the Red Panda Tensor: reverse, stop, double speed and random slips." + ] + } +] diff --git a/src/community/module-changelogs/zoom-ms-70cdr-tonic.json b/src/community/module-changelogs/zoom-ms-70cdr-tonic.json new file mode 100644 index 0000000000..a2517269bd --- /dev/null +++ b/src/community/module-changelogs/zoom-ms-70cdr-tonic.json @@ -0,0 +1,9 @@ +[ + { + "version": "0.1.0", + "date": "2026-11-20", + "changes": [ + "A Bitters-inspired multi-effect: drive, a phaser and one of decimate, crush, FM or ring mod, in either order." + ] + } +] diff --git a/src/components/ModulePreview.tsx b/src/components/ModulePreview.tsx index 20c45770ac..e36dd2b116 100644 --- a/src/components/ModulePreview.tsx +++ b/src/components/ModulePreview.tsx @@ -242,10 +242,10 @@ const ART: Readonly ReactElement>> = { export function ModulePreview({ id, compact = false, indicator }: { id: string; compact?: boolean; indicator?: ReactElement }) { return ( diff --git a/src/components/ModulePreviewTitles.test.ts b/src/components/ModulePreviewTitles.test.ts new file mode 100644 index 0000000000..782d057f3d --- /dev/null +++ b/src/components/ModulePreviewTitles.test.ts @@ -0,0 +1,23 @@ +// @vitest-environment jsdom +import { createElement } from 'react' +import { renderToStaticMarkup } from 'react-dom/server' +import { expect, it } from 'vitest' +import { ModulePreview } from './ModulePreview' +import { MODULES } from '../catalog/modules' +import { DigiModPreview } from '../devices/DigiModPreview' +import { DIGI_MODS } from '../devices/digi-mods' +import { ZoomEffectPreview } from '../devices/ZoomEffectDetail' +import { ZOOM_EFFECTS } from '../devices/zoom-effects' + +it('shows artwork without a title overlay on module thumbnails across devices', () => { + const previews = [ + ...MODULES.map(mod => createElement(ModulePreview, { id: mod.id })), + ...DIGI_MODS.map(mod => createElement(DigiModPreview, { mod })), + ...ZOOM_EFFECTS.map(effect => createElement(ZoomEffectPreview, { effect })), + ] + for (const preview of previews) { + const doc = new DOMParser().parseFromString(renderToStaticMarkup(preview), 'text/html') + expect(doc.querySelector('.signal-art')).toBeTruthy() + expect(doc.querySelector('.preview-label')?.textContent ?? '').toBe('') + } +}) diff --git a/src/devices/DigiModPreview.tsx b/src/devices/DigiModPreview.tsx index 66059c9826..01c390c4ca 100644 --- a/src/devices/DigiModPreview.tsx +++ b/src/devices/DigiModPreview.tsx @@ -6,7 +6,7 @@ export function DigiModPreview({ mod, compact = false }: { mod: DigiMod; compact const document = digiModuleDocument(mod), thumbnail = document.media.find(item => item.kind === 'thumbnail')! return (