Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 945 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 945 Bytes

minimal-clap-plugin-c

This repository relates to one of my blog posts.

This repository contains whatever is needed to compile a minimal CLAP plug-in in plain C, which free-audio's clap-info accepts. It's made to be built on MacOS, perhaps other OSes will follow someday. It has not been tested in a digital audio workstation (DAW) yet.

When cloning the repository, make sure to include --recursive-submodules to get the clap and clap-info submodules.

Afterwards, run

cd tools/clap-info && git submodule init && git submodule update

to fetch clap-info's dependencies.

Building and running

To compile the plug-in to a shared library (outputting it in a subfolder of the template plugin.clap bundle):

make build

To compile the plug-in and clap-info, and then also run clap-info to validate the plug-in:

make run-clap-info