Skip to content

prokopyl/clap-hot-reload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clap-hot-reload

Add hot-reload capabilities to any Rust CLAP plugin!

This is a small library that wraps a traditional CLAP entry structure. When loaded by a host, it spawns a file watcher thread, and reloads all the contained plugins whenever the CLAP bundle changes.

The reloading happens on the fly, reloading the plugin's GUI and parameters (among other things) and switching audio processors without interruption, even while the DAW is processing audio or the transport is running.

This library is based on Clack for CLAP host and plugin integration.

State of development

This project is in its very early stage, quite unfinished and probably not that robust, although it works great on my computer™.

Development next steps / future ideas

  • Finish implementing support for all CLAP extensions
  • Add hot-reload capabilities to e.g. audio ports, note ports, etc.
  • Harden the file watcher against e.g. symlink loops and other fun stuff that can happen on filesystems
  • Write documentation and publish on crates.io
  • Expose a C API, so it can be used by non-Rust projects

License

clap-hot-reload is distributed under the terms of both the MIT license and the Apache license, version 2.0. Contributions are accepted under the same terms.

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages