All Projects → free-audio → clap

free-audio / clap

Licence: MIT license
Audio Plugin API

Programming Languages

c
50402 projects - #5 most used programming language
CMake
9771 projects
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to clap

amanuensis
The Amanuensis is an automated songwriting and recording system aimed at ridding the process of anything left-brained, so one need never leave a creative, spontaneous and improvisational state of mind, from the inception of the song until its final master. See the README for instructions and feel free to message me at soundcloud.com/to_the_sun.
Stars: ✭ 30 (-96.08%)
Mutual labels:  daw
clap-detection
Simple clap rhythm detection on Raspberry Pi using Csound and Python. Toy example.
Stars: ✭ 29 (-96.21%)
Mutual labels:  clap
reverb
Straightforward (sound/multipurpose) reverberator
Stars: ✭ 23 (-97%)
Mutual labels:  daw
JUCE ARA
The JUCE cross-platform C++ framework, augmented with support for the Celemony ARA API
Stars: ✭ 32 (-95.82%)
Mutual labels:  daw
Vst3HostDemo
Vst3HostDemo
Stars: ✭ 16 (-97.91%)
Mutual labels:  daw
apollo-studio
Apollo Studio is a standalone editor and live playback engine for RGB Launchpad light effects.
Stars: ✭ 115 (-84.99%)
Mutual labels:  daw
flow-synth
*UNMAINTAINED* A modular digital audio workstation for synthesis, sequencing, live coding, visuals, etc
Stars: ✭ 36 (-95.3%)
Mutual labels:  daw
klask
Automatically create GUI applications from clap3 apps
Stars: ✭ 329 (-57.05%)
Mutual labels:  clap
Harmonicon
An experimental DAW for music as code.
Stars: ✭ 57 (-92.56%)
Mutual labels:  daw
sunrise
NumPy, SciPy, MRI and Music | Presented at ISMRM 2021 Sunrise Educational Session
Stars: ✭ 20 (-97.39%)
Mutual labels:  daw
sushi
Elk Audio OS Plugin host and DAW
Stars: ✭ 78 (-89.82%)
Mutual labels:  daw
vue-clap-button
👍 A Medium like clap button
Stars: ✭ 30 (-96.08%)
Mutual labels:  clap
Ardour
Mirror of Ardour Source Code
Stars: ✭ 2,318 (+202.61%)
Mutual labels:  daw
Wad
Web Audio DAW. Use the Web Audio API for dynamic sound synthesis. It's like jQuery for your ears.
Stars: ✭ 1,540 (+101.04%)
Mutual labels:  daw
Lmms
Cross-platform music production software
Stars: ✭ 5,450 (+611.49%)
Mutual labels:  daw
griode
Griode + Novation Launchpad + Raspberry Pi = a music instrument!
Stars: ✭ 116 (-84.86%)
Mutual labels:  daw

CLAP

Learn about CLAP

CLAP stands for CLever Audio Plugin. It is an audio plugin ABI which defines a standard for Digital Audio Workstations and audio plugins (synthesizers, audio effects, ...) to work together.

To work with CLAP, include clap/clap.h.

The two most important objects are clap_host and clap_plugin.

src/plugin-template.c is a very minimal example which demonstrates how to wire a CLAP plugin.

Entry point

The entry point is declared in entry.h.

Extensions

Most features comes from extensions, which are in fact C interfaces.

// host extension
const clap_host_log *log = host->extension(host, CLAP_EXT_LOG);
if (log)
   log->log(host, CLAP_LOG_INFO, "Hello World! ;^)");

// plugin extension
const clap_plugin_params *params = plugin->extension(plugin, CLAP_EXT_PARAMS);
if (params)
{
   uint32_t paramsCount = params->count(plugin);
   // ...
}

The extensions are defined in ext folder.

Some extensions are still in the progress of being designed and they are in the draft folder.

An extension comes with:

  • an header #include <clap/ext/xxx.h>
  • an extension identifier: #define CLAP_EXT_XXX "clap/XXX"
  • host interfaces are named like: struct clap_host_xxx
  • plugin interfaces are named like: struct clap_plugin_xxx
  • each methods must have a clear thread specification

You can create your own extensions and share them, make sure that the extension identifier

  • includes versioning in case the ABI breaks
  • a unique identifier

All strings are valid UTF-8.

Fundamental extensions

This is a list of the extensions that you most likely want to implement and use to get a basic plugin experience:

  • log, lets the host aggregate plugin logs
  • thread-check, check which thread you are currently on, useful for correctness validation
  • audio-ports, define the audio ports
  • note-ports, define the note ports
  • params, parameters management
  • latency, report the plugin latency
  • render, renders realtime or offline
  • tail, processing tail length
  • state, save and load the plugin state
  • gui, generic gui controller

Support extensions

Extra extensions

Resources

Plugins

Hosts

  • Bitwig, you need at least Bitwig Studio 4.3 Beta 5

Examples

Community related projects

  • clap-juce-extension, juce add-on
  • MIP2, host and plugins
  • Avendish, a reflection-based API for media plug-ins in C++ which supports Clap
  • nih-plug, an API-agnostic, Rust-based plugin framework aiming to reduce boilerplate without getting in your way

Programming Language Bindings

Artwork

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].