I’m struggling very hard to get my AU Synthesizer to accept MIDI Input.
So far my plugin seems to work with Garage Band and the Juce Plugin Host. When I run my plugin in AULab it doesn’t get any MIDI, and aulab tells me “ERROR: -4 IN CALL MusicDeviceSendMIDI” during the MIDI Test.
I used the introducer to create a new audio unit project to test its behaviour with auval. Even when I set JucePlugin_WantsMidiInput and JucePlugin_IsSynth both to one, auval does not test MIDI with the newly created audio unit at all.
During development I found out, that Garage Band and Juce Plugin Host use the old Component Manager based AU handling which is deprecated with Mountain Lion. AULab und auval seem to work without the component manager.
Could it be that Apple changed something in the MIDI handling in AU when they deprecated the component manager?
Does anyone know a document, that explains how MIDI works with AU? The Apple Documentation (Audio Unit Programming Guide) does not cover this topic at all.
Does anyone know, how plugin tells auval that it has to test MIDI?
Does anyone has a similar problem (and maybe a solution to it)?
Does anyone know, what ERROR -4 in auval means?