Build an Audio App with a VST(say a channel strip) embedded - not inserted like a DAW! Nothing else, just a Window with the VST. No midi, no synth, just Audio into the strip and out. The vst lives in resources/dir. Possible?

If there’s a tutorial please point me in the right direction.


Do you have the source code for the VST (and is it built with JUCE)? If so, the standalone plug-in target is what you want.

Otherwise, the rough procedure is:

    OwnedArray<PluginDescription> pluginDescriptions;
    KnownPluginList pluginList;
    AudioPluginFormatManager pluginFormatManager;

    for (int i = 0; i < pluginFormatManager.getNumFormats(); ++i)
        pluginList.scanAndAddFile("PATH_TO_PLUGIN_IN_RESOURCES", true, pluginDescriptions,

    String msg;
    instance = pluginFormatManager.createPluginInstance (*pluginDescriptions[0],

    graph.setPlayConfigDetails (nChannels, nChannels, 44100, 1024);

    auto sourceNode = graph.addNode (new AudioProcessorSource());
    pluginNode = graph.addNode (instance.release());
    auto outputNode = graph.addNode (new AudioProcessorGraph::AudioGraphIOProcessor (AudioProcessorGraph::AudioGraphIOProcessor::audioOutputNode));

    for (int i = 0; i < nChannels; ++i)
        if (! isSynth)
            graph.addConnection ({ { sourceNode->nodeID, i }, { pluginNode->nodeID, i } });

        graph.addConnection ({ { pluginNode->nodeID, i }, { outputNode->nodeID, i } });

    if (playAudio)
        player.setProcessor (&graph);

        deviceManager.initialise (nChannels, nChannels, nullptr, true);
        deviceManager.addAudioCallback (&player);

    if (showEditor)
        if (pluginNode != nullptr)
            editor = std::unique_ptr<AudioProcessorEditor> (pluginNode->getProcessor()->createEditor());
            addAndMakeVisible (editor.get());
            ComponentBoundsConstrainer* bc = editor->getConstrainer();
            setSize (bc->getMinimumWidth(), bc->getMinimumHeight());

That won’t compile (I’ve just pulled the important bits out of a test app), but it should be enough to get you on your way.


No t0m, one of my licensed vst’s, I have a few i’d like to try. Thanks very much for the code. I’ll do my best.


look at the PluginHost example project.


Still a bit of a noob at all this! I can’t get t0ms code working, and I’m studying the PluginHostDemo Thanks!