Example of a simple VST Host


#1

Is there an example de minimis that shows how to build a VST Host with Juce? The sample is quite sophisticated and very powerful, but it’s extremely hard to figure out exactly what is needed to just create a basic host that will let you instantiate a single VST and communicate with audio and MIDI ports.

Thanks


#2

the vst sdk has an example of a host.

I have working vst-host code here:
https://github.com/falkTX/Carla/blob/master/source/backend/plugin/VstPlugin.cpp
But I wouldn’t call it simple…


#3

Wow – i had a quick look — lots of stuff going on.

Basically, what I’d like is a de minimis example that looks something like the following pseudo code (but actually works)

main()
{
InitMIDI…
InitAudio…;
LoadVST(“name of VST”); // Whatever else is needed so it can receive MIDI and send out audio
RunUntilClose…
}