Override default VST plugin UI with custom UI
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- csharp
- Domain
- audio-video-rtc, desktop
Research direction
Start by reading the AudioProcessor.Initialize and ProcessMain entry points mentioned in the issue, along with the existing default UI integration. Determine whether replacing the default VST UI with an Uno Platform window is supported, including the required UI-thread lifecycle; done means a documented, reproducible integration path or a clearly stated limitation.
Written by the indexing model from the issue text.
Description
I wrote a bunch of classes that make up a UI that opens a window and draws graphics on its own. Where should I call the UI init code in the plugin?
I tried to call the method in a separate thread in my AudioProcessor's Initialize() method:
protected override bool Initialize(AudioHostApplication host)
{
_ = Task.Run(() => {
// ... UI init code here
});
return true;
}
...and it crashed the DAW.
I now tried to move it to the processors's ProcessMain() method without opening without a separate thread, and only the default UI for the plugin shows up.
How do I make my custom UI show up instead of the default UI?
Note: I know that this is barely even supported in the codebase but I assume that at least some people got something like this to work, so I thought to ask around here. I am using the Uno Platform to develop the custom UI for the plugin. This is such a long-shot but I figured it wouldn't hurt to try and ask here.
Thanks for any help regarding this!
- Dominant language
- C#
- Stars
- 152
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from xoofx/NPlug
-
Setting the Id or adding any attributes to a AudioMessage results in a duplicate key exception. Openbug PR welcome
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
-
question
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
question
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
UI/Midi Events Openquestion
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
enhancement PR welcome question
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·