Rust bindings for JUCE using cxx.
JUCE is something of an industry standard for audio applications, so it would be nice to be able to make use of it from Rust.
Providing bindings for the entirety of JUCE would be a huge undertaking, and much of it would be duplicating functionality already available to Rust in the standard library or via crates.io.
The goal for this crate is to provide bindings for a subset of JUCE, in particular the mature and thoroughly battle-tested audio modules.
Add this to your Cargo.toml
:
[dependencies]
cxx-juce = "0.4"
Refer to the JUCE documentation for the dependencies required to build JUCE on your platform.
To build with ASIO support:
- Agree to Steinberg's licensing terms and download the ASIO SDK.
- Enable the
asio
feature for this crate. - Set the
CXX_JUCE_ASIO_SDK_DIR
environment variable to the path of the extracted ASIO SDK.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE)
- MIT license (LICENSE-MIT)
at your option.
The juce_audio_basics, juce_audio_devices, juce_core and juce_events modules are permissively licensed under the terms of the ISC license.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.