-
Notifications
You must be signed in to change notification settings - Fork 404
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
Automation Hosts learn the wrong names (Live, Bitwig, VST2, AU) #247
Comments
Any way to get a demo version of live? I’ve never used it. |
I think this and #193 sound super similar right? |
@baconpaul well it could be related, if bitwig is a kind of "only one can get bound with a click" (i.e. it discards the first one of the "two" bindings).. |
@baconpaul to know for sure, i'd have to have bitwig installed.. |
OK so in bitwig I just automated Filter EG Decay and got the binding to only one thing, which was LFO4 Deform. So bitwig and Live are doing the same thing. Which means this and #193 are the same problem. And which means I can debug it because I can use bitwig! Note that the vst3 in bitwig basically totally doesn't work on automation. So definitely something interesting here. |
OK I'm going to consolidate into one issue. From #193
|
OK so may need some help from @kurasu here at least to understand the protocol I instrumented the VST2 host and ran it in bitwig. When I wiggle osc1 pitch (which is parameter 118) in learn mode the output is
so the right parameter is set (118) but the wrong one is initially queried (167). BitWig seems to learn the first queried one; Live seems to learn both. But my question is: How does the host know in learn mode to do that first query to 167? There is no other VST call happening. I'll dig around some more. |
Ahh the host calls AudioEffectX::beginEdit and ::endEdit around the move. I bet that path will lead me there. |
OK I absolutely know the problem here now. But I don't quite know the fix. In SurgeGuiEditor::beginEdit() it strips this off. But that function isn't called. Instead the beginEdits come from CControl which doesn't know to do the transformation. So we need to do the "- start_paramtags" somewhere else too; probably in the ::beginEdit in the Vst2Host. But start_paramtags is local to the .cpp file so I need to figure out the right function I can call from src/vst2. But very close on this one. |
Yup that's exactly it So let me put my code back together and then I will make a PR for @kurasu to review that fixes VST2. Then we have to fix VST3 and AU I guess |
thanks for the lovely fixes on this ticket, @baconpaul |
Steps to replicate:
Expected result:
the slider's slider will appear in Ableton Live
Current Result:
the slider's slider appears, but when you let go of tweaking the slider, another "twin" slider appears.
for instance,
Filter EG Decay
"twin" isLFO4 Deform
F2 Cutoff
"twin" isLFO 3 Rate
FX1 Send
"twin" isF2 Envmod
Output Pan
"twin" isF2 Resonance
F2 Resonance
"twin" isLFO3 Magnitude
F2 Keytrack
"twin" isLFO3 Unipolar
and so on and so on.
The text was updated successfully, but these errors were encountered: