I have been searching everywhere but I can't find a tutorial or some documentation that explains how the VST API is used to write pure MIDI plugins (such as synth editors). All I can find is examples and tutorials on how to write sound plugins.
Purely looking at source code of existing MIDI plugins or of the VST SDK is no help to me, my skills are not that advanced to figure it out purely by looking at source code without any tutorial or explanation on how the API works.
does a tutorial exist on how to write a MIDI VST plugin?
Moderators: MattKingUSA, khz
Re: does a tutorial exist on how to write a MIDI VST plugin?
Thanks falkTX, that's a starting point for me, but if anybody knows of proper documentation or a tutorial and could post a link to it, it would be even better.
Re: does a tutorial exist on how to write a MIDI VST plugin?
Thanks will check it out, but as I said, reading source code (unless it's full of comments) does not help me a lot at my skill-level.falkTX wrote:I know pizmidi are a collection of vst midi plugins, so checking out its source might serve as documentation.
Good to know that I'm not the only one struggling with the lack of documentation.Documentation for VST SDK has always been lackluster, it's not very detailed on what devs should do, which leads to plugins implementing the same API in sorta different ways...
Re: does a tutorial exist on how to write a MIDI VST plugin?
Does it need to be VST, or can it be LV2?
Author of BackupBand at https://sourceforge.net/projects/backupband/files/
My fans show their support by mentioning my name in their signature.
Re: does a tutorial exist on how to write a MIDI VST plugin?
It needs to be VST as it has to be multi-platform and work with all common DAWs.
Or does some kind of wrapper exist to use a LV2 in VST compatible DAWs?
Or does some kind of wrapper exist to use a LV2 in VST compatible DAWs?
- SpotlightKid
- Established Member
- Posts: 260
- Joined: Sun Jul 02, 2017 1:24 pm
- Has thanked: 57 times
- Been thanked: 61 times
Re: does a tutorial exist on how to write a MIDI VST plugin?
Yes, for example Carla, by the present, illustrious falkTX.tux99 wrote:It needs to be VST as it has to be multi-platform and work with all common DAWs.
There are also frameworks, which allow you to write the core processing code of a plugin once and export it in different plugin format. Not many of these support LV2, though, and MIDI support is often less developed than that for audio.tux99 wrote:Or does some kind of wrapper exist to use a LV2 in VST compatible DAWs?
I'm not aware of such a framework, which supports all important plugin formats across all platforms, most are missing support for either LV2 or AU (and support for less important formats like RTAS is even rarer).
Again, falkTX has something on offer here: DPF supports LADSPA, DSSI, LV2 and VST, but I'm not sure how extensive MIDI support is. falkTX himself can probably can answer this better
-
- Established Member
- Posts: 381
- Joined: Sun May 28, 2017 3:52 pm
Re: does a tutorial exist on how to write a MIDI VST plugin?
Yes, https://github.com/x42/lv2vst/blob/master/README.md, but it doesn't support all features, so not all plugs work.tux99 wrote:It needs to be VST as it has to be multi-platform and work with all common DAWs.
Or does some kind of wrapper exist to use a LV2 in VST compatible DAWs?
But as an example, most Harrison plugs work in Reaper.
That said with Steinberg supporting VST3 with a SDK for Linux, I'd imagine that VST3 could be important on Linux.
Reaper/KDE/Archlinux. i7-2600k/16GB + i7-4700HQ/16GB, RME Multiface/Babyface, Behringer X32, WA273-EQ, 2 x WA-412, ADL-600, Tegeler TRC, etc For REAPER on Linux information: https://wiki.cockos.com/wiki/index.php/REAPER_for_Linux