nih-plug
vst-rs
Our great sponsors
nih-plug | vst-rs | |
---|---|---|
30 | 7 | |
1,378 | 1,033 | |
- | - | |
8.5 | 1.7 | |
9 days ago | 11 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
- Loudness War Winner
-
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).
-
A writeup on my journey so far developing PCMG synthesizer! A couple interesting titbits about my frustrations with WASM target.
Looks nice! Rust really is a perfect fit for real-time audio software. At work we also use cpal for audio output, and has found some bugs as well. In my free time I'm tinkering with CLAP plugins for Bitwig, your app looks quite similar to Bitwig Grid which I like a lot. Maybe providing it as a plugin would be a future option.
-
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.
-
DSP and Audio plugins.
There’s nih-plug for VST and CLAP plugins
-
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 there a common project for VST:s in Rust?
Your best bet is probably nih-plug.
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
glicol - Graph-oriented live coding language and music/audio DSP library written in Rust
vst3-rs - Easy to use VST3 library for Rust
adsb_deku - ✈️ Rust ADS-B decoder + tui radar application
cargo-limit - Productivity improvements for Rust ecosystem: warnings are skipped until errors are fixed, LSP-independent Neovim integration, etc.
faust - Functional programming language for signal processing and sound synthesis
loopers - Loopers is graphical live looper, written in Rust, designed for ease of use and rock-solid stability
vst3-sys - Raw Bindings to the VST3 API
OpenAudio - A list of open source VST/audio plugin projects. Please contribute more links or open source your own plugins.
kakoune-lsp - Kakoune Language Server Protocol Client
duplicate - Easy code duplicate with substitution for Rust