Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AU Validation for MIDI-only Plugin #296

Open
TDLemon8 opened this issue Jan 30, 2022 · 1 comment
Open

AU Validation for MIDI-only Plugin #296

TDLemon8 opened this issue Jan 30, 2022 · 1 comment

Comments

@TDLemon8
Copy link

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

@aronco206
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants