-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
carla_host_control: import from pyliblo3 if available #1933
base: main
Are you sure you want to change the base?
Conversation
pyliblo has not been touched upstream since 2015 and doesn't work out of the box with Python releases since 3.11. There is an actively-maintained fork called 'pyliblo3' at https://github.com/gesellkammer/pyliblo3 which *does* work with current upstream Python releases. It provides a library called 'pyliblo3' rather than 'liblo'. Let's support it, and prefer it over the dead library (though the dead one will still be used if it is present and pyliblo3 is not). Signed-off-by: Adam Williamson <[email protected]>
I tested that, on Fedora 41 with Python 3.13 and the pyliblo3 library installed, with this patch, carla-control starts up successfully and shows its main window. I have no idea how to actually use it so can't see if there are any sneaky issues beyond that, but it's much better than the alternative (it crashes on start because we have no 'liblo' library any more). |
please test if it actually works. |
Well I'm not really sure I'm doing it right (I only vaguely know what any of this stuff is, I'm a distro quality/Python person, not an audio engineer :>) but it seems to work, yeah. |
The |
I backported this for Fedora 41 and, as I said, Carla seems to work as far as a non-specialist can test it. Haven't had any bug reports yet. |
I successfully compiled Carla version 2.5.9 on Void Linux using a similar patch. However, I removed the Following the explanation provided by falkTX:
I verified the functionality, and it worked perfectly. When I add a plugin in Carla-Control linked to Carla, the plugin appears in Carla's "Rack" and "Patchbay." However, when attempting to add a new plugin, an error appears stating:
This issue also occurs in the version compiled with The following log was generated in version 2.5.9 using pyliblo3 to establish the connection with Carla Log Output
When I added a plugin directly in Carla, I received the following log:
However, nothing appeared in Carla-Control after adding the plugin. |
I previously tested Recently, I revisited the issue after noticing that the This behavior was confirmed with both |
pyliblo has not been touched upstream since 2015 and doesn't work out of the box with Python releases since 3.11. There is an actively-maintained fork called 'pyliblo3' at
https://github.com/gesellkammer/pyliblo3 which does work with current upstream Python releases. It provides a library called 'pyliblo3' rather than 'liblo'. Let's support it, and prefer it over the dead library (though the dead one will still be used if it is present and pyliblo3 is not).