-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add Carla automation support #4571
Conversation
Sorry, What I mean was keeping consistency in new code, not changing old code. |
@PhysSong ; Ok do you want me to change them to spaces again? (I’ll prefer the tabs BTW.) I'm also working on putting the parameters in a subwindow since some Carla plugins have a lot of parameters. I have working code for this, but it needs to be cleaned before I put it online. Other thoughts of adding are giving the user the ability to colour a knob so it stands out and it easy recognisable. And adding a search/filter bar that will result in only showing knobs with matching names. |
It seems like you messed up the ZynAddSubFX submodule while merging branches, but it's okay. I can fix that before merging if you want. |
We use tabs for indentation, but indentation changes make it harder to view changes. I think we should convert them to tabs eventually. // old
if( a )
{
b( c );
}
// new
if (a)
{
b(c);
} Also, note that |
Since |
About the messed up ZynAddSubFX submodule: Hmm I didn’t touch anything but I made some changes (see commit log) in response to your review, thanks again :-) |
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.
I've suggested some improvements and cleanups. Sorry for the late response.
Just saw this, note that carla will have a way to handle automation in plugin mode "soon". |
Hello @falkTX , can you tell what that does mean for this PR? And the done base work, is it on the Carla git repo so we can follow it? |
Only the code that allows the actual automation of plugin parameters is in place, so nothing to see yet. My idea is to have a static number of parameters (say, 100), that the user can map to a specific plugin parameter. I have to expose the 100 parameters in the plugin code, and then design a new UI for this. |
Lemmie just revive for a sec: |
I’m not sure if it’s currently possible with Carla yet, but I will look into it.
I don’t quite understand, what do you mean by grab then? Grab and drag to a automation track? And this only happens when you add a new Carla Patchbay/Rack instance? What about after saving and reopening the project, does it work then? If you can tell me what version of Carla you use, I will try to reproduce on Linux, I don’t have access to a Mac. |
@cyberdevilnl the knobs wont show up in the knob menu. they only show up in existing Carla projects. im using Carla 1.9.12 2.0 RC2. |
and no, saving and reopening wont show the knobs either. |
I have found a way to get a list of loaded plugins by Carla but this is kinda tricky. Also I haven’t found a way to get dispatched by Carla on the changes of plugins. A lot of questions come to mind on how to handle such events, some examples: Unique identifier.The
Index (Id)We can access a plugin by their So I think it’s best to leave it this way and wait till the Also I’ve found two bugs in the current code. will fix that asap.
Oh and @gingkathfox, just to be sure did you press the |
I appreciate the enthusiasm here to try to get this working. Anyway, a proper implementation of this will need changing the code in carla. You are already in the right path by using the native plugin parameter API. |
@cyberdevilnl i did, still didnt work. |
… LMMS. * Fix bug: If there are knobs loaded, remove all plugins inside Carla, then reload knobs and the old knobs won’t be removed. It should be empty. * Some styling issues.
* Set window title on central widget so it is visible.
…ide. Just emit and accept.
* Added `overrride` to `CarlaParamsSubWindow::closeEvent`
…`m_curColumn` and `m_curRow`.
With Carla 2.0 we need to refresh the params and their values manual. With the What this means for this PR: It can be used if the behaviour of manual refreshing the parameters is acceptable. If it is not then we have to wait until Carla 2.1 is released. I'm in for waiting until the Carla 2.1 release. I created another branch on my LMMS fork with code that's working for Carla Please let me know what we want to do here so I can update this PR or create a new one. |
@falkTX How is that going on? We have Carla 2.2.0 now. |
This is fully supported now, exposed in Carla internal plugin as well as in the Carla VST2 version. There is a callback on carla plugin API for when a refreshing of the parameter list needs to be done (basically everytime a plugin is added, removed or reordered). Here is how it looks for the carla-rack plugin inside of carla: |
Closing in favor of #5846. |
...And I didn't really close this. 😂 |
Hey wait a minute, speaking of 'getting merged', if this issue is moved to #5846, why is this still in https://github.com/LMMS/lmms/projects/11? |
Thanks PhysSong for the review in the previous PR.