Clap Plugin Format

I’m into audio development in Rust. Do you have any plans to support the clap plugin format?

Hi tommikvnze and welcome to the forums. We don’t have any plans to implement clap support in the near future.

But I believe there are good wrappers for Vst, both 2 and 3, so you should be able to get a clap based plugin running in sushi without much hassle.

That would be a great addition, I fully agree.

I am also planning to try to write a plugin in rust, expose it as VST and run it in sushi.

My plan was to use GitHub - robbert-vdh/nih-plug: Rust VST3 and CLAP plugin framework and plugins - because everything is better when you do it yourself

However, I did not yet do a PoC. If you try something, I would be interested in your results. I would also share my findings here, as soon as I have something to share.

Thanks for the response. I want to use nih-plug, so let’s see how it goes.

Hi @tommikvnze

I did my first experiments. However, so far no success, because the built plugin has dependencies to X11 libs, even though I am not using any gui.

Let me know if you have more success on your side.

I was able to solve one problem. By mistake I had the ‘standalone’ feature enabled on the cargo build of the plugin, this cause the additional dependencies. After removing this, the dependency problems are gone.

But now I am facing the next problem

[2023-03-31 09:32:49.511] [info] [vst3] Querying plugin db-meter of type Audio Module Class
[2023-03-31 09:32:49.523] [info] [vst3] Creating plugin db-meter
[2023-03-31 09:32:49.523] [info] [vst3] Plugin supports Midi Mapping interface
[2023-03-31 09:32:49.523] [info] [vst3] Plugin supports Unit Info interface for programs
[2023-03-31 09:32:49.523] [error] [vst3] Failed to create connection points
[2023-03-31 09:32:49.523] [error] [vst3] Failed to connect component to editor
[2023-03-31 09:32:49.523] [info] [vst3] Plugin has 1 audio input buffers and 1 audio output buffers
[2023-03-31 09:32:49.523] [info] [vst3] Vst3 wrapper (db-meter) has 2 inputs and 2 outputs
[2023-03-31 09:32:49.523] [info] [vst3] Plugin has 0 event input buffers and 0 event output buffers
[2023-03-31 09:32:49.523] [error] [vst3] Failed to activate component with error code: 1
[2023-03-31 09:32:49.523] [error] [engine] Failed to initialize processor db-meter with error 9
[2023-03-31 09:32:49.523] [debug] [vst3] Unloading plugin db-meter
[2023-03-31 09:32:49.524] [info] [processor] Destroyed processor 2(db-meter)

I guess its related to stereo, vs mono