nih-plug
vst-rs
Our great sponsors
nih-plug | vst-rs | |
---|---|---|
30 | 7 | |
1,308 | 1,031 | |
- | 1.2% | |
8.5 | 1.7 | |
5 days ago | 10 months ago | |
Rust | Rust | |
ISC License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nih-plug
-
Write your business logic with Rust, Empowered by Rinf for Native Performance Apps
Super cool. Any experience doing audio/synthesis/DSP work with this in a Flutter app? It would be particularly awesome if this enabled building VST plugins with Flutter and one of the Rust crates for VSTs (like NIH-plug or similar).
-
Get Started Making Music
I don't think Max4Live is not a good choice for building audio plugins. It's a weird platform that was designed for 'institutionalized academic music,' as I once read someone describe it. It's difficult to program in and not efficient. None of my favorite music software is made with it. It's also quite buggy, in my experience. For doing some basic extensions to Ableton Live specifically, beyond what VST allows access to, it's OK, since it's the only official way to do so.
If you want to just dive into DSP using wires and boxes, with some additional code sprinkled in, SynthEdit or Reaktor Core are faster, more fun, and produce better results. If you don't mind C++, check out iPlug from REAPER's WDL codebase: https://www.cockos.com/wdl/ — there are some forks of it.
There's also JUCE. You'll find some people complain about it and some people regret using it, despite it being relatively popular.
There are some Rust things for doing VST (and AU) development. Here's one that I've seen a few things made with: https://github.com/robbert-vdh/nih-plug/tree/master I wouldn't worry too much about the differences between C++ and Rust in this world. Audio software tends to be buggy, so the bar for being considered 'good enough' is pretty low.
-
Chromatic - instrument tuner by nate-xyz.
As it's written in Rust, perhaps it could be implemented as a CLAP plugin. This is a nice framework I've been playing with https://github.com/robbert-vdh/nih-plug/
-
What do you think is the next major direction for Rust adoption?
The potential is both in terms of moving away from proprietary corporate-controlled standards (but also still providing shared wrappers to support those "legacy" :) audio plugin formats) and supporting Rust as a first class development language (via e.g. https://github.com/robbert-vdh/nih-plug).
- Ask HN: Any sound-related project suggestions for learning Rust?
-
Seeking: Non GPL - VST3 basic API support
Yep, Steinberg licensing sucks. I suggest you use nih-plug, it has a much nicer Rust API and supports generating both VST3 and CLAP plugins from your code. I'm only targetting CLAP nowadays, but unfortunately not many DAW's support it.
-
Is it possible to create a VST that wraps around a standalone Java program, launching it as a separate process?
Since I seem to be stuck in turning the Java program into a VST, is it instead possible to create a separate program that is a VST using C++ (e.g. with JUCE) or Rust (e.g. with nih-plug) that starts my Java synth as a separate process and communicates via localhost or pipes and just forwards any inputs to the synths, as well as recieving any audio data generated?
-
I'm a (kinda) new programmer with some questions
If you want to make a CLAP audio plugin, you should use nih-plug, as it's a higher level library that supports vst and clap bindings. Also check out rust.audio
-
Uses of Rust and C++ that only one has?
At least, https://github.com/robbert-vdh/nih-plug already gives many features for developing VST and CLAP. I know, it's not JUCE, and maybe it even doesn't want to be like JUCE in terms of GUI building blocks, but it makes very promising progress.
-
Multiband FX-4
This free one exists, although I haven't personally used it https://github.com/robbert-vdh/nih-plug/tree/master/plugins/crossover
vst-rs
-
What would you rewrite in Rust?
https://github.com/RustAudio/vst-rs this what you mean?
-
How do you go about making VSTs?
I hate to "uhhmm ackchyually" this, but unless you need native VST3 support* (which uses the C++ ABI directly) other options are available, a favourite of mine would be Rust!
-
OctaSine v0.7.0 released (free and open source FM synth VST plugin for macOS/Windows/Linux) with major improvements
VST2 bindings exist (https://github.com/RustAudio/vst-rs) but the VST3 and AU situation is rougher around the edges. There is work being done on abstracting over different plugin standards and easing parameter handling, notably https://github.com/wrl/baseplug and https://github.com/robbert-vdh/nih-plug, but nothing completely stable yet.
-
Announcing Audio Limiter: automatically lower the volume of loud sounds on your computer in real-time
One limitation that they mention is "Only one GFX and one LFX APO can be registered for an output device and only one LFX APO can be registered for an input device." which could be a problem for people who are already using one like Equalizer APO. What you could do is make a VST version of your limiter using vst-rs and use Equalizer APO to handle the APO part.
-
Elementary Audio: a modern platform for writing high performance audio software
I agree with the first half. For the second half, I think for beginners, the examples are very important. From this perspective, many Rust projects comes with examples:
https://github.com/RustAudio/vst-rs
Once following the readme, it is very easy to get it work in your own machine. Then beginners can edit things while learning new stuffs with books or online resources.
Rust audio has also got a very helpful Discord community where beginners can always ask questions.
For the GUI part, I am not an expert, but there are more and more Rust GUI libraries (egui, iced, druid, rui): among them, egui-rs and iced-rs can all be used for VST. Still, there are some examples to get started with.
-
Show HN: Glicol(Graph-Oriented Live Coding Language) and DSP Lib Written in Rust
https://youtu.be/yFKH9ou_XyQ
If you want your own vst (with your name on the author and you can sell),you can start with vst-rs:
https://github.com/RustAudio/vst-rs
Wanna some GUI, here is a template:
-
OctaSine, a FM-based VST2 synthesizer written in Rust
When I came across the vst-rs, I realised that I could try out writing an audio plugin. Since I was already familiar with FM synthesis from Elektron Monomachine and FM8, I decided to go with it. It has worked out pretty well.
What are some alternatives?
augmented-audio - Rust - Augmented Audio Libraries
vst3-rs - Easy to use VST3 library for Rust
glicol - Graph-oriented live coding language and music/audio DSP library written in Rust
adsb_deku - ✈️ Rust ADS-B decoder + tui radar application
faust - Functional programming language for signal processing and sound synthesis
vst3-sys - Raw Bindings to the VST3 API
duplicate - Easy code duplicate with substitution for Rust
loopers - Loopers is graphical live looper, written in Rust, designed for ease of use and rock-solid stability
OpenAudio - A list of open source VST/audio plugin projects. Please contribute more links or open source your own plugins.
cargo-limit - Productivity improvements for Rust ecosystem: warnings are skipped until errors are fixed, LSP-independent Neovim integration, etc.
iced - A cross-platform GUI library for Rust, inspired by Elm
OctaSine - Frequency modulation synthesizer plugin (VST2, CLAP). Runs on macOS, Windows and Linux.