Hosting a VST/DX instrument in C#/C++?

user2189331 picture user2189331 · Mar 4, 2010 · Viewed 7.7k times · Source

I'm trying to get a read on the effort level involved in building a barebones virtual instrument host in C++ or C# but I haven't been able to get any hard information. Does anybody know any good starter apps, tutorials, helper libraries for this sort of thing?

If it matters, the goal would be to a) accept incoming MIDI events and b) dispatch them to the virtual instrument. In C++ or C#, if possible.

Thanks!

Answer

obiwanjacobi picture obiwanjacobi · Mar 8, 2010

To capture incoming Midi events use the C# Midi Toolkit (on codeproject.com) by Leslie Sanford or my MIDI.NET library.

VST.NET allows you to load and communicate with managed and unmanaged VST (2.4) plugins. You can also create managed VST plugins with VST.NET that can run in unmanaged Hosts.

There is also a simple C++ open source VST host available at http://www.hermannseib.com/english/vsthost.htm (down at the bottom of the page)

Hope it helps.

Marc Jacobi (Author of VST.NET)