vst-rs
vst-rs copied to clipboard
VST 2.4 API implementation in rust. Create plugins or hosts. Previously rust-vst on the RustDSP group.
As of PR #115 we started seeing warnings for clippy's [`missing_safety_doc`](https://rust-lang.github.io/rust-clippy/master/#missing_safety_doc) lint. Unsafe functions should document what preconditions have to be met in order to safely call those functions. Remove...
In VST2, it is possible and even common for hosts to pass the same pointer for both an input and output buffer ([source](https://forums.steinberg.net/t/solved-fx-plugin-wrapped-for-vst2-receives-its-audio-input-in-the-output-buffer/201780/4)). This means that the API of `AudioBuffer`,...
Another one from a [suggestion by](https://github.com/RustAudio/vst-rs/issues/155) @Boscop. This adds README's Rust code block as a doctest in lib.rs. [doc_comment](https://crates.io/crates/doc-comment) seems less intrusive than [skeptic](https://crates.io/crates/skeptic) since it doesn't require a separate...
While the library is still young, it may be a good idea to write some examples, guides, and best practices for new users to get involved.
We are using `Box::into_raw` in `VSTPluginMain` but when a plugin is unloaded in a host, how will the memory get freed? How are hosts usually freeing the memory when unloading...
Not a real problem (unless the same plugin dll is loaded into different hosts at the same time) but if you have an idea how to do it better, we...
It took me some time to get [this](https://github.com/Bobo1239/rust-vst-demo) to work. (And I'm not sure if that's the intended usage.) Adding a host example which utilizes `AudioBuffers` and `(Midi)Event`s would make...
Right now, sending midi events is already quite simple: https://github.com/rust-dsp/rust-vst/blob/6dab92fbbf327837f468de9910414f9ea3e5fffc/examples/fwd_midi.rs#L20 But we are still requiring plugins to own a `SendEventBuffer` to be able to send midi events. This requires plugin...
See also https://github.com/rust-lang/rust/issues/52138
After long trial and error I have found that Ableton Live only recognizes plugins if they are universal binaries. For both this and https://github.com/RustAudio/vst3-sys, the dylibs must be compiled for...