Camomile icon indicating copy to clipboard operation
Camomile copied to clipboard

AU Validation for MIDI-only Plugin

Open TDLemon8 opened this issue 2 years ago • 1 comments

I wrote a trivial "midionly" plugin today (remapping of three midi notes to other keys) as Audio Unit; everything worked fine in Pd, but Mainstage / Logic Pro X refused to validate it (ERROR: -10877 IN CALL Get Output Format). After much googling and many hours, inspired by #166 and by this page, I tried and opened the Info.plist and changed the plugin type from "aumf" (kAudioUnitType_MusicEffect) to "aumi" (kAudioUnitType_MIDIProcessor), and that seemed to have solved the matter.

Maybe it would be a good idea to include a condition during the plugin generation, for example: if type = effect and midionly = true, then AU type = aumi instead of aumf.

Anyway, this project is wonderful! Kudos and thank you for the effort!

BTW, my environment: Mac OSX 10.13.6, Mainstage 3.2.4, Camomile 1.0.7

TDLemon8 avatar Jan 30 '22 20:01 TDLemon8

Hey, just wanted to say I've been having this exact same issue! I was trying a couple years ago to figure this out and ended up giving up... I just saw this post and tried it and it worked perfectly. For some reason my plugin was generating with the AU type set to aumu instead of aumf? I'm not sure what the aumu type is supposed to be, if you have any ideas? But anyway I did exactly what you said and changed the AU type to aumi in the info.plist and it worked. Thank you SO much for posting this!

aronco206 avatar May 13 '22 18:05 aronco206