-
-
Notifications
You must be signed in to change notification settings - Fork 18
VST3: optional self-contained VSTGUI editor #139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
edumeneses
wants to merge
24
commits into
celtera:main
Choose a base branch
from
edumeneses:vst3-vstgui-editor
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
5f86954
vst3: optional self-contained VSTGUI editor
edumeneses b585225
vst3: enable OBJC/OBJCXX for VSTGUI on macOS
edumeneses d66bce3
vst3: add VSTGUI include root for editor sources
edumeneses 3a0ac8a
vst3: fix VSTGUI control construction (CFrame/CKnob/CTextLabel APIs)
edumeneses 7f9446c
vst3: strip VSTGUI's macOS -Werror so its internal warnings don't fai…
edumeneses 2d4a1a9
vst3: set MSVC /Zc:preprocessor on the vstgui + module targets
edumeneses 326bd88
vst3: add /Zc:preprocessor at directory scope before the SDK subdir (…
edumeneses 38e07e0
vst3: force-include vstguidebug.h on MSVC to define vstgui_assert
edumeneses 5e80f1c
vst3: force-include a vstgui_assert shim on MSVC (fixes C3861 in VSTGUI)
edumeneses 4ec5932
vst3/vstgui: wire host IRunLoop into VSTGUI on Linux (fixes X11 edito…
edumeneses c17f250
vst3/vstgui: include platform_linux.h for VSTGUI IRunLoop types
edumeneses 8dce65c
vst3/vstgui: qualify IRunLoop types with VSTGUI::X11 (matches VSTGUI …
edumeneses 62955c3
vst3/vstgui: init VSTGUI platform from the module handle on Linux (Mo…
edumeneses a3cb16d
vst3/vstgui: use VSTGUI::init/exit in module entries on all platforms
edumeneses ec4d2e5
vst3: define DEVELOPMENT only in Debug (SIGTRAP asserts crashed relea…
edumeneses 3e4983f
vst3/vstgui: compute editor size in ctor (hosts call getSize before a…
edumeneses 1598b28
vst3/vstgui: nicer default editor — title bar, on/off buttons, corona…
edumeneses 61e3300
vst3: report boolean controls as stepCount=1 (toggle, not knob)
edumeneses 8ac25e9
vst3/vstgui: set toggle button fill gradients so the label stays read…
edumeneses 1e374a0
vst3/vstgui: render momentary buttons (bangs) as kick-style buttons
edumeneses 5fb2571
vst3/vstgui: show each knob's value under it, live on edit
edumeneses 667a6dd
vst3: don't lose momentary button presses within one process block
edumeneses b8bf94d
fix: getParamNormalized always returned 0 (map_control_to_01 overload…
edumeneses 9eb394d
vst3/vstgui: widen the editor grid for parameter-heavy plugins
edumeneses File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems to use the official vstgui backend from steinberg which is really terrible for making UIs (and won't help us when we want to use CLAP etc.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Real Edu here: What do you propose as a cross-platform UI tool for plugins?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW, the decision was based on portability. The first TimeMachine UI indeed looks bad, but it is just a bunch of sliders for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
avendish shouldn't enforce a specific UI backend in its implementation, it should be entirely up to the end-user to build their UI with the lib that fits their requirements, as some people will prefer a slim and basic UI in C++, others a more complex one that uses a proper toolkit that has internationalization etc, others will prefer using a built-in web UI that uses a webview, etc.
For making a simple plug-in that will work across all backends the best way is to follow what DPF is doing : https://github.com/DISTRHO/DPF
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
other good options for context usecase:
https://github.com/thorvg/thorvg https://github.com/sammycage/plutovg
my main requirement for the one I'm using for examples is that it can work all the way from esp32 to wasm as those are all avendish-supported platforms, so if someone wants to make "an ui for my algorithm" then the "default choice" should not cause build errors on any of those (which restricts to simple, pixel-graphics-only framework)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, that makes sense.