pierreguillot / Camomile

An audio plugin with Pure Data embedded that allows to load and to control patches
GNU General Public License v3.0
892 stars 62 forks source link

Chance for an update to Pd 0.54? #323

Open Josef-N opened 5 months ago

Josef-N commented 5 months ago

Hi Pierre, are there any chances that you will continue developing Camomile? I am using v1.0.7 and it is fantastic that the plugins still work without issues on MacOS Sonoma, both on Intel and M2. The only thing I am missing is, that I cannot use some new features from current Pd (0.54-1) like extended options in sigmund~, for instance. I tried plugdata, also a great and promising project, but using it as a plugin, there are still huge problems that make it unusable for me. And I have little hope, that this will be solved soon. Anyway, I prefer Camomile, it is more straight forward and lightweight. Hopefully you can find some time to continue. Thanks!

pierreguillot commented 5 months ago

Hi, I'm sorry but I don't have the time to maintain this project. If anyone would like to contribute or take over the project, I'm open to any proposal, that's all I can do at the moment.

Josef-N commented 5 months ago

Well, I have already been assuming this. Too bad, but thank you for your feedback!

Josef-N commented 4 months ago

After some research I successfully recompiled the project (dev/v1.0.8), following your instructions for Compilation. My environment: MacMini M2, macOS Sonoma 14.3.1 cmake-3.28.3, Xcode 15.2

There is only one thing I had to change in: Camomile/CMakeLists.txt Line 3: set(CMAKE_OSX_DEPLOYMENT_TARGET "10.13" CACHE STRING "Minimum OS X deployment version") –> change version "10.9" to "10.13" (this seems to be the minimum for Xcode 15). and one correction in your instructions: cmake .. -G"Xcode" (instead of -G"XCode“)

additionally one modification: I replaced [sigmund~] in ibpd/pure-data/extra with the version from pd 0.54-1

Might be, that other objects would work too, but replacing the entire extra folder does not. I did not try one by one, I am just happy about sigmund.

Building plugins with the script method also works. Tested Instruments and Effects, AU, VST3, LV2 both on MacMini M2 and on MacBookPro 2018/Intel, both in Sonoma 14.3.1 with Logic 10.8.1, Blue Cat's PatchWork and Reaper 7.11.

A little bit funny is only, that the plugin packages with working executable files are distributed in different places, but I found everything. And: the file size exploded, it is more than twice compared to your original build. In build/build … Debug/Objects-normal are two folders with binaries: arm64 and x86_64. The size of the individual binaries is about that of your build. The final plugin seems to have the code twice, each for the respective architecture. I have absolutely no idea about that, I assume, it has to be just like that to be universal. I don’t really care, just wanted to mention it, because the size is much bigger now.

Everything else is unchanged, so not an update, but at least up to date with current macOS and v1.0.8 is working now in Sonoma. I cannot directly contribute with commits, but I can attach my recompiled version. Maybe someone else wants to test it. To avoid confusion, I chose a different name for the folder: Camomile-MacOS-Sonoma Oh, the file is too big, instead a link: https://novotny.klingt.org/Camomile

pierreguillot commented 4 months ago

That's great! Feel free to create a pull request, it won't be merged into the code directly.

Josef-N commented 4 months ago

ok, I will try. What I found out so far is, that I have to create an own fork first. Let’s see ... I have no experience at all with those things.

Josef-N commented 4 months ago

All right, I made the pull request with this tiny modification, this was easy. But I gave up with sigmund~, this is too complicated for me. Also, I don’t know, if exchanging all files within this folder could lead to fatal results. I have my private build which works for me, but who knows … @hyperpenelope – I think, you know what you are doing, unlike me. Would you be interested in looking into it? What I did is replacing the entire folder [sigmund~] in ibpd/pure-data/extra with the one from pd 0.54-1. Maybe you can estimate if it’s a good idea and safe. Besides that, I am unable to find out how to send the commit to the right destination. Thanks!

Josef-N commented 4 months ago

Thank you for merging! I tried to update sigmund~ too. But I don’t know which of your branches in pierreguillot/pure-data I should choose for a pull request. Default is dev/master, but this is much older than master. And would the changes in the submodule automatically be reflected in the main project Camomile dev/v1.0.8 then? If not (maybe it means a lot of work for you), then it’s useless, I think. Would be nice, but not essential.

pierreguillot commented 4 months ago

the proper way to do it is to update the Pure Data submodule. I've created a branch with Pd updated to 0.54-1 but unfortunately, this seems to require changes in Camomile project.

Josef-N commented 4 months ago

I have been afraid of that. At the moment I cannot continue either, but I will do, latest in summer. I will try to find someone to help me. There are a lot of things I have to learn to go deeper into it.