Skip to content

Add versioned custom panels for Open MPC plug-ins - #34

Merged
keremimo merged 5 commits into
keremimo:mainfrom
bsauce42:draft/modular-plugin-ui
Nov 23, 2026
Merged

keremimo merged 5 commits into
keremimo:mainfrom
bsauce42:draft/modular-plugin-ui

Conversation

@bsauce42

Copy link
Copy Markdown
Contributor

Summary

Open MPC VST2 packages can opt into a shared Melodee renderer by shipping melodee-gui.txt with a MELODEE-GUI 1 header. Version 1 provides an accent, a live stereo output scope, and up to three parameter readouts. The existing K1–K3 controls, banks, and preset path stay in use. Missing, malformed, unsupported, or invalid descriptors fall back to the generic view.

The rack validates the descriptor on load and publishes output peaks through bounded lock-free storage. The UI reads copied values through the existing snapshot. The PR includes a Second Spin descriptor, format documentation, and focused tests.

Validation

  • ARM64 Linux cross-build, layout checks, and focused metadata and stereo trace tests passed.
  • A native VST2 smoke test confirmed Input, Output, and Mix readback, distinct left and right peaks, and a trace change after editing Mix.
  • On an MPC Sample, Second Spin passed audio, showed two live traces, and updated all three readouts from the knobs. Bypass cleared the traces and disengaging bypass restored them. Preset recall refreshed the readouts. With the descriptor removed from discovery, audio and standard controls still worked and the generic view returned.
  • Unsupported versions are covered by the parser test. The broader macOS test run could not execute Linux binaries, and its model-test crash reproduced on the upstream base.

@coderabbitai

coderabbitai Bot commented Nov 19, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@keremimo

Copy link
Copy Markdown
Owner

Thanks for this PR. We adapted it into Melodee 0.7.0. A plug-in's panel now comes from a page file: in Melodee/Plugin Pages/ on the card, or shipped by the plug-in, for an Open MPC package as melodee-pages.json beside plugin-meta.xml. A page file sets the plug-in's pages, and can bring a skin with the maker's art, value readouts and a scope. An effect in a chain shows its sound in and out, and a plug-in can draw its own screen through sdk/melodee-screen. The format is in docs/PLUGIN_PAGES.md.

Your commits are merged into main's history so you show as a contributor, but main keeps the 0.7.0 code in place of this PR's changes. You're also credited as a contributor to 0.7.0 in the release notes: https://github.com/keremimo/melodee-sample/releases/tag/v0.7.0

@keremimo
keremimo merged commit 79f49a8 into keremimo:main Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants