vst3sdk
vst-rs
vst3sdk | vst-rs | |
---|---|---|
7 | 7 | |
1,532 | 1,033 | |
1.2% | - | |
4.3 | 1.7 | |
11 days ago | 11 months ago | |
CMake | Rust | |
GNU General Public License v3.0 or later | 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.
vst3sdk
-
Swift Achieved Dynamic Linking Where Rust Couldn't
But you don't have only Linux, you have (and probably first) OSX and/or Windows and then Linux, and you need an API that works well in that case. Being an in-process dll/so plugin, while fraught with perils gets you to avoid other issues (state, health, restart, identity, etc.)
Also sometimes you don't have a choice, but have to make a dll, for example:
https://github.com/steinbergmedia/vst3sdk or https://ae-plugins.docsforadobe.dev/ and many others. Sometimes it's the only viable choice.
(I wish most have used grpc/flatbuffers/whatever to communicate, but then every RPC call have to be checked/retried/handled, and or shared memory well handled, with (?) locks, etc. - not a trivial thing for someone who is deeply specialized in making a very good effect/renderer/etc instead of dealing with this extra complexity on top).
-
is it possible to write a DAW (digital audio workstation) or VSTs with Nim? any audio software, in general
Yeah, you can use nordaudio which wraps PortAudio which has support for every major audio back-end. As for writing a VST you may have to find a way to wrap or interface with Steinberg's SDK. MIDI support is possible by using an RtMIDI wrapper, which I haven't linked because there are a few of them out there of varying quality and I don't know which is best because I just use ALSA directly for my purposes.
-
How hard is it to make a VST plugin? Whether a instrument or effect.
You can read the VST3 SDK manual for yourself here https://steinbergmedia.github.io/vst3\_doc/vstsdk/index.html and access the source here: https://github.com/steinbergmedia/vst3sdk.
-
Elementary Audio: a modern platform for writing high performance audio software
You have to use the steinberger SDK to make a vst
https://github.com/steinbergmedia/vst3sdk
But audio plugins come in many formats.
-
Is there a way to compile windows programs on linux?
https://github.com/steinbergmedia/vst3sdk#build-the-examples-on-linux
-
Question for programmers in this group: how do you incorporate programming in music and the other way around?
You can do VST3 as GPL. They dual license it. Lots of legalese to read but definitely an option. https://github.com/steinbergmedia/vst3sdk/issues
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?
iPlug2 - C++ Audio Plug-in Framework for desktop, mobile and web
glicol - Graph-oriented live coding language and music/audio DSP library written in Rust
react-juce - Write cross-platform native apps with React.js and JUCE
adsb_deku - ✈️ Rust ADS-B decoder + tui radar application
JUCE - JUCE is an open-source cross-platform C++ application framework for desktop and mobile applications, including VST, VST3, AU, AUv3, LV2 and AAX audio plug-ins.
faust - Functional programming language for signal processing and sound synthesis
wasgen - Web Audio sound generator
vst3-sys - Raw Bindings to the VST3 API
ARA_SDK - Umbrella installer for all ARA SDK submodules
OpenAudio - A list of open source VST/audio plugin projects. Please contribute more links or open source your own plugins.
fundsp - Library for audio processing and synthesis
duplicate - Easy code duplicate with substitution for Rust