1 unstable release

0.2.2 Feb 7, 2025

#317 in Concurrency

Download history 121/week @ 2025-02-04 21/week @ 2025-02-11

142 downloads per month

MIT license

145KB
3K SLoC

clap-clap

CI

A CLAP plugin runtime. Very much WIP. 🚧

Goals

  • Provide a dynamical runtime environment to access CLAP API from safe Rust.
  • Follow CLAP terminology and the framework of CLAP extension modules.
  • Build a testing and debugging platform for plugin authors.

Example (plugin template)

You can find the source code of a simple plugin template here.

To compile the sources, install Rust 1.85.0 or later (for the 2024 edition, available on nightly and beta channels) and clone the repository:

git clone https://github.com/mira-merkell/clap-clap

Build the example plugin with:

cargo build --example plugin_template --release

and look for the compiled dynamical library in target/release/examples/. The name of the library is OS-specific:

  • Linux: libplugin_template.so
  • Windows: plugin_template.dll
  • macOS: libplugin_template.dylib

Copy the file to where your DAW can find it and rename it to: plugin_template.clap.

No runtime deps