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
Initial VST plugin #99
Conversation
Note: to build VST on MinGW, it needs to fix the SDK in
Change to:
|
fe80715
to
b187440
Compare
Linux and Windows confirmed working (Reaper) |
@@ -0,0 +1,167 @@ | |||
// Copyright Jean Pierre Cimalando 2018-2020. |
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.
So this semaphore class is RT-safe in both post
and try_wait
? If so I actually need one of these on the background loader !
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 semaphore is "async signal safe".
Some info is noted here on this matter https://github.com/drobilla/jalv/blob/15f779a8603bc3f020e7000189900c52964771cd/src/zix/sem.h#L55-L58
Hi, I took the liberty to revert the VST mutex lock for now. 4efdcd0 On second thought, I am uncomfortable about removing it for this reason (moreover than it's harmless): It also synchronizes R/W access into the state structure, which might have 3 actors.
From docs, I think save/load can happen while VST runs, and so I'll rather keep the state fully synchronized. |
Ok no problem! |
hello, I built the recent develop branch and the VST3 built successfully. It loads in Reaper and Bitwig recognizes it, however as with many other VST3 plugins Bitwig only displays a black screen. this thread may be of interest |
We do the runloop hack that should support Linux supposedly, it's like what Steinberg does officially in their official VSTGUI XML editor. I was aware already of some Bitwig trouble that surrounded Surge and expected we would be hit the same, and apparently it didn't miss. I haven't tried running Bitwig myself. As I recall, current Surge still suffers of the same problem right? I know that it uses an even bigger layer of hack to make Linux run, but it's not perfect. |
I observe the following problem which is logged in Bitwig.
It's on the controller parameters which are MIDI-mapped to the CC. I don't really know if that's wrong to do.. at least the VST3 validator didn't complain about this. |
Maybe the VST Host is supposed to handle this? Meaning if you give the host a list of MIDI CCs it has to handle possible automation. |
It has to do with setting the flag In the VST samples, It's the problem here that a parameter is both MIDI-mapped and |
With Surge the VST3 screen can display upon opening but the menus are dead, it's possible to navigate presets via the Patch and Category +/- buttons, but once a menu is called no go, when clicking on the hide/display GUI button in Bitwig the screen reappears all black again with no way to reverse it other than double clicking the instrument in the browser in which case it loads in its INIT state The ryukau VST3 plugins had a similar issue and after the fix they now display the GUI intermittently Reaper is stable for VST3. Bitwig still has challenges. |
If the Auburn sounds VST are the ones working best, then It'll be surely a good idea to have a look how Dplug implements it. |
Maybe the underlying assumption of VST is that if a parameter is a MIDI CC then it is automatable but the host is responsible for choosing how to present this automation? E.g. by the same sliders as automatable parameters or by any mean it wishes to use. I can try it ok with bigwig later this week 😄 |
VST3 no longer displays GUI in either Reaper or Bitwig am at commit 474f221 using Debian Buster my mistake, had an old version installed in ~/.vst3 appears to work in Both Reaper and Bitwig (will test further) |
@tank-trax here I don't experience problems in Reaper. What happens on opening UI? (black screen, or other?) @sub26nico, did you have a chance to try VST3 in Reaper with UI on LZK3? |
@jpcima I hadn't cleared VST cache and was using an older build GUI is working now but noticed some SFZ's don't give sound, also some anomalies with the GUI |
This is a VST3 plugin. There remain a few TODO items.