Sign in

Rust CLAP-first example

Free
Plug-in format
Audio Unit CLAP VST3
Platform
Linux macOS Windows
Delivery
Plugin

Rust example project for developing self-contained CLAP-based audio plugins with extensions to VST3 and AU formats using clap-wrapper

Summary

This is a Rust-based example project demonstrating the development of audio plugins using the CLAP plugin format, extended to VST3 and AU formats via the clap-wrapper project. It provides self-contained AU and VST3 plugins compatible with Windows, Linux, and macOS.

Features

  • Writes CLAP audio plugins in Rust with safe bindings through the clack crate
  • Uses clap-wrapper to build self-contained plugins across multiple formats: CLAP, VST3, and AU
  • Static linking approach ensures plugins are standalone binaries
  • Supports exporting multiple plugins from a single binary
  • Example includes two simple gain plugins multiplying the signal by 0.5 and 2.0 respectively
  • Build system uses the xtask pattern for simplified building, installing, and releasing

Technical Requirements

  • Rust toolchain (2021 edition or later)
  • CMake version 3.15 or higher
  • C++ compiler with C++17 support

Customization

The example project can be adapted for individual plugins by renaming directories, modifying audio processing code, updating plugin descriptors, and adjusting metadata and build commands.

About

The project is open source under the MIT OR Apache-2.0 license and acknowledges contributors providing Rust bindings and inspiration.

Comments

Sign in to rate, comment and bookmark.

No comments on this tool yet.