Hi,
I can’t figure out a way to enable the MIDI input ports for my AUv3 plugins on iOS. They just don’t come up in AUM for example. I talked to the developer and it is certainly possible (Koala Sampler does it for example). I need to define it as ‘aumf’ (kAudioUnitType_MusicEffect) and enable the MIDI input ports. This way the host can see the input ports and connect them and I should get the MIDI events in the processBlock in the usual way.
Any clues how to do this?
Thanks!
Are you definitely returning true from AudioProcessor::acceptsMidi, and have you enabled the “wants MIDI in” plugin characteristic? This can be done in the Projucer with a checkbox, or in CMake by passing the NEEDS_MIDI_INPUT argument to juce_add_plugin.
Yes, definitely
Anything else I could try?
To select the use of kAudioUnitType_MusicEffect you can set the AU_MAIN_TYPE definition, I have done this in CMake in the juce_add_plugin section.
juce_add_plugin("Target"
AU_MAIN_TYPE kAudioUnitType_MusicEffect
all the other flags.....)
Nice, didn’t know about this CMake setting. However this is already done as it seems:
Solved!
It was my fault, at some later point in our CMake scripts I was setting AU_MAIN_TYPE to kAudioUnitType_Effect. Sorry for the confusion, it‘s working now! Thank you!
1 Like
