Hi
I’m working on a MIDI effect plug-in, everything works fine with VST. But there is no MIDI available in AU version (Reaper: No midi in/out. Abletone: crashes on load).
Plugin is a synth = true;
Plugin wants midi in = true;
Plugin produces midi out = true;
Plugin is a midi effect = true;
Channel config: Tried different modes.
What should i do?
(Sorry for creating a new topic about this. Similar topics were old and i suppose things have changed since then.)
AudioUnit midi effect plug-ins are not supported in many hosts: I think it’s only Logic Pro, Studio One, Bidule and maybe a few more. They have a unique plugin type ‘aumi’ to distinguish them from AudioUnit effects ‘aufx’ and synths 'aumu/‘aumf’. Therefore, a host which does not support AudioUnit midi effects should not even find them - this is what happens on my computer. You should use vsts instead for those hosts.
Hmmm not sure. Must be something in your plug-in. Have a look at this sample midi effect plugin in the examples folder in JUCE. It works in Logic out of the box.
Arpeggiator AU works here too (ligic pro), but its vst build is useless, since it needs to be a synth to load on the instrument track. At least i couldn’t find a way to use it as effect.
VSTs are working for me but I don’t know what needs to be changed to make the AU work as a midi effect (in logic pro) like the Arpeggiator example.
I notice that logic lists 2 instance of the Arpeggiator, one label as effect which fails the validation, and the other one labeld as MIDI Processor which is the one that works in logic. But my plugin only shows up once as an effect type (Why?).
I copied the project setting from arpeggiator, and my PluginProcessor.cpp basically have the same classes. I even disabled all my custom codes. What am i missing here?
Okay i tried different settings. But the thing is if the settings were wrong the arpeggiator wouldn’t have worked either (I have resaved and rebuild that project and still works).
Here are my striped down files:
PluginProcessor.cpp
And my project settings are similar to Arpeggiator project. I’m unable to find anything logical why this is happening. Maybe someone could see what I’m doing wrong…
When i start a new Audio Plug-in project it works though…
I should try copying old codes to a new project to see what happens. Clearly something is wrong with the old one that i dont know about.
I got it to work. I think the problem was the all lower case plugin code i entered in my old project! Caused the AU to fail. Thanks to help tips on Projucer which i should’ve noticed before.
I can’t believe i wasted so much time on this.
You don’t have to uncheck the ‘Is a Synth’ for AU to work as MIDI processor. So without changing settings the project will work for VST and AU.
If you now rebuild the Projucer on the develop branch, then you will get a warning when you try to save a project that only uses lowercase plugin codes.
Hey guys, our plugins have lower case plugin codes for years and have all been working fine. (our manufacturer code “Srdx” indeed has an upper case letter)
Now Projucer fails to save the projects which have been working fine before. We also have MIDI controls working fine in SurferEQ (whose identifier is lower-case “surf”). Are you all sure this check is necessary? I’m afraid of changing the plugin code because I have a strong feeling that something in some host or os version will break…
My guess is that some caches of plugin attributes wouldn’t clear and when you changed the plugin identifiers it finally worked fine. I don’t believe this has anything to do with lower-case.
Like i said i’m not 100% sure what went wrong since i changed few things, but i suspect it was the plugin code or manufacturer code.
Anyways i thing a warning message could be enough to alert the user. (I admit there was already tips about that in Projucer. So its kinda my fault that didn’t expected something like that to cause fatal problems).