Skip to content

mira-merkell/clap-clap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clap-clap

CI

A CLAP plugin runtime. Very much WIP. 🚧

Documentation available at docs.rs.

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.