I’m building a plugin that generates MIDI and I’m having trouble loading the VST3 build in Ableton Live. Same goes for the ArpeggiatorPlugin demo that comes with Juce 5.4.5:
This happens on both Windows and Mac (Mojave) in the latest Ableton Live version (10.1.5). Other Juce VST3 plugins load just fine (e.g. the GainPlugin), and the VST2 version of my own plugin works flawlessly.
Is there any additional information on this? I’m having the exact same issue, but checking “plugin is a synth” isn’t working for me. The plugin will load in the JUCE audio host, but nothing else. I’ve tried Ableton and FL Studio, on both Mac and Windows, after compiling in Xcode and VS2019, respectively. I keep getting the same error message listed at the top of this thread.
Yup, that appears to be the problem. I just downloaded Reaper and my VST opens with no issues. Thanks so very much for pointing this out. This was slowly driving me insane.
Hmm… it seems that Ableton Live will load other VST3 plugins with no audio inputs just fine. If I load up any of the Arturia V Collection VST3 plugins in the AudioPluginHost, I see they have no audio input busses - and they work just fine in Live.
I’m able to make it work if I don’t check the box for MIDI Effect Plugin. I haven’t checked to see what’s different about the resulting code with this box checked, but the problem could be related to this.
Hi I’m just stumbling over the EXACT same problem: loading any MIDI related plugin into Ableton won’t load. I’ve tried all different configurations, “Plugin is a Synth”, “Plugin MIDI Input / Output”, “MIDI Effect Plugin” but it still fails to load. Even the arpeggiator example and any new project I generate has this problem.
Is there anything else I can try to make this work?
Any help is hugely appreciated!
It’s been awhile since I had the problem so my memory is a bit hazy on exactly which options I had checked off, but what ended up working for me was specifically not checking “MIDI Effect Plugin,” which is ironic since the only thing my plugin does is affect MIDI. Still, the plugin then started to compile.
Okay, thank you, thats really strange then. Unfortunately that doesn’t cut it for me.
I’ll keep trying things but I am slowly running out of ideas haha
Can you get the MidiLogger demo from the JUCE repo to load in Live? I remember having to enable some unused audio channels in order for it to load properly.
Yes! The MidiLogger does load! So strange… I have copied the exact same settings to a new project and that seems to work, but only as an effect and not an instrument. I’ll make some more tests but it seems be related to the VST3 category maybe… Thanks for the tip reuk
static BusesProperties getBusesLayout()
{
// Live doesn't like to load midi-only plugins, so we add an audio output there.
return PluginHostType().isAbletonLive() ? BusesProperties().withOutput ("out", AudioChannelSet::stereo())
: BusesProperties();
}
This is what you meant with unused audio channel! Got it.
as nicolezim pointed out it works in the midilogger tutorial.
Ableton needs an audiooutput. The easiest way ist to instatiate the Audioprocessor like this: