OctaSine icon indicating copy to clipboard operation
OctaSine copied to clipboard

No GUI for clap plugin in Bitwig

Open greatest-ape opened this issue 2 years ago • 25 comments
trafficstars

A report has come in of no GUI appearing in Bitwig when using the CLAP plugin.

greatest-ape avatar Feb 21 '23 17:02 greatest-ape

I can confirm this, clap shows in Reaper, not in Bitwig

tank-trax avatar Mar 07 '23 14:03 tank-trax

I can confirm this as well. VST shows the GUI...

TjShredder avatar Apr 03 '23 15:04 TjShredder

The latest release should now work on Windows, but unfortunately not yet on macOS.

greatest-ape avatar Apr 05 '23 21:04 greatest-ape

still no GUI in Bitwig for the CLAP on my end v8.4 on Linux Mint 21.1

tank-trax avatar Apr 06 '23 14:04 tank-trax

Alright, annoying. For some reason Bitwig doesn’t seem to play nice with baseview / iced_baseview.

greatest-ape avatar Apr 06 '23 14:04 greatest-ape

You should report it also to Bitwig, they want CLAP to be a selling point and might help you to sort it out... Its all new and exciting...

TjShredder avatar Apr 07 '23 06:04 TjShredder

good idea and I agree

tank-trax avatar Apr 07 '23 17:04 tank-trax

Maybe related https://github.com/free-audio/clap/issues/323

porzione avatar Jul 01 '23 06:07 porzione

Yeah, that looks related.

greatest-ape avatar Jul 01 '23 07:07 greatest-ape

If any of you have the time, could you please try this build out and see if it works?

OctaSine-tmp-2024-03-16-macOS.zip OctaSine-tmp-2024-03-16-Windows.zip

greatest-ape avatar Mar 16 '24 10:03 greatest-ape

FYI https://nakst.gitlab.io/tutorial/clap-part-3.html shows .set_parent not just storing the host window pointer, but also setting it as the plugin window parent by calling [parentView addSubview:mainView].

Edit: I now realize the open_parented() call in show() is what effectively ends up doing the same thing as the above example, except here it happens in the show() call because open_parented() both creates and shows the plugin window. Hope my understanding is correct.

josb avatar Mar 16 '24 17:03 josb

Your tmp build gives the CouldNotReadMetaDataException during scan (but clearly some versions did pass the scan before). This is with Sonoma 14.4. Maybe it's an OS issue? Installed using

cd ~/Downloads
unzip OctaSine-tmp-2024-03-16-macOS.zip
sudo cp -r OctaSine/CLAP/OctaSine\ v0.9.clap /Library/Audio/Plug-Ins/CLAP
sudo xattr -d -r com.apple.quarantine /Library/Audio/Plug-Ins/CLAP/OctaSine\ v0.9.clap

But! Your work-2024-03-09 branch built here does show the GUI. 👍

josb avatar Mar 16 '24 21:03 josb

Yes, you’re right about open_parented, so it’s just a way to try to make it work with the baseview API.

Nice! Does CPU use drop again when the plugin window is closed/hidden? It was an issue previously that it did not, because the window wasn’t properly cleaned up.

greatest-ape avatar Mar 17 '24 08:03 greatest-ape

I can build the latest VST2 but not the Clap as my rust is not recent enough using Debian 12

tank-trax avatar Mar 17 '24 20:03 tank-trax

Thanks @greatest-ape, for confirming my understanding around open_parented().

I'll look into the CPU behavior soon and will report back. Looking at recent commits, latest iced_baseview is supposed to have addressed this.

josb avatar Mar 19 '24 06:03 josb

I can build the latest VST2 but not the Clap as my rust is not recent enough using Debian 12

Ok! Are you using Debian-packaged Rust? My current rust version policy is latest stable and I will probably not change it. I was happy to be able to get off nightly Rust a while back.

greatest-ape avatar Mar 20 '24 19:03 greatest-ape

Thanks @greatest-ape, for confirming my understanding around open_parented().

I'll look into the CPU behavior soon and will report back. Looking at recent commits, latest iced_baseview is supposed to have addressed this.

Ok, thanks!

I’ve switched to a fork of iced_baseview since I don’t want to upgrade to a more recent iced version yet, since it causes various crashes, bugs and performance issues that I don’t want to spend time on ironing out.

greatest-ape avatar Mar 20 '24 19:03 greatest-ape

can confirm too lol

RustoMCSpit avatar Apr 25 '24 18:04 RustoMCSpit

this is still broken on linux mint

RustoMCSpit avatar Jul 03 '24 19:07 RustoMCSpit

this is still broken on linux mint

Ok, even on v0.9.1?

greatest-ape avatar Jul 04 '24 06:07 greatest-ape

this is still broken on linux mint

Ok, even on v0.9.1?

yes

RustoMCSpit avatar Jul 04 '24 07:07 RustoMCSpit

Ok :(

greatest-ape avatar Jul 04 '24 09:07 greatest-ape