I’m trying to get a test host up and running with midi in and out, my plugins work with external synthesizers.
Midi in works fine.
I added the following to add an MidiOutput filter -
FilterGraph::FilterGraph - added -
addFilter (internalFormat.getDescriptionFor (InternalPluginFormat::midiOutputFilter), 0.25f, 0.1f);
FilterGraph::newDocument -added -
addFilter (internalFormat.getDescriptionFor (InternalPluginFormat::midiOutputFilter), 0.25f, 0.9f);
InternalPluginFormat::InternalPluginFormat()-added-
{
AudioProcessorGraph::AudioGraphIOProcessor p (AudioProcessorGraph::AudioGraphIOProcessor::midiOutputNode);
p.fillInPluginDescription (midiOutDesc);
}
InternalPluginFormat::createPluginInstance - added -
if (desc.name == midiOutDesc.name)
retval = new AudioProcessorGraph::AudioGraphIOProcessor (AudioProcessorGraph::AudioGraphIOProcessor::midiOutputNode);
PluginDescription* InternalPluginFormat::getDescriptionFor - added -
case midiOutputFilter: return &midiOutDesc;
InternalPluginFormat - added -
PluginDescription midiInDesc;
updated -
enum InternalFilterType
{
audioInputFilter = 0,
audioOutputFilter,
midiInputFilter,
midiOutputFilter,
endOfFilterTypes
};
This gave me a Midiout plugin I can add, but it does not function.
I saw two different threads that had suggested changes to JUCE core code, but they must be too old, as it generated tons of errors. Plus I saw that midiout appeared to be implemented in those classes now.
I have written several stand alone apps that use midi in and out with JUCE and now I’m trying to convert some to vst3 plugins. Plus I wanted to have my own base host for other projects and I need midi out.
What is a method to add midi out to the demo host, or simplest structure to build one from scratch?
I have found lots of info on plugins, but almost nothing an creating VST host apps.
Thanks,
David