-
Notifications
You must be signed in to change notification settings - Fork 65
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
Can't load Fx AU in Logic Pro 10.4.4, message: "Failed to load Audio Unit ..." (instruments do work!) #166
Comments
I'm working on a Macbook Pro (Retina, 15-inch, Mid 2015) running MacOS High Sierra 10.13.6 and Logic Pro X 10.4.1, and i'm having the same issue as above. I tried downloading the newest release (v1.0.7-beta15) and recompiling the AudioUnits, but i keep running into the same problem. I can use the plugins as "Midi-controlled Effects", but when i try to use them as a regular AudioUnit i get the error "Failed to load Audio Unit "PluginName", please contact the manufacturer for an updated version or further assistance. " And this is purely a Logic issue, they all load fine in any other software. |
Can you give further information? Which plugin did you try? Why did you recompile the Audio Units? What do you mean? Did you clean the cash of the Audio Units? |
The error occurs with any plugin (my own or the examples) generated by Camomile. And by recompile, i just meant generate new versions of the Audio Units with the updated Camomile. The generated plugins run great in Ableton and other DAWs. I could try on a slightly newer version of Logic X (10.4.4), but i can't update to the newest version, because i need to keep my current version of MacOS. Also, issues aside, i wanted to say thank you this project! I had been dreaming about making pd patches into plug-ins for some time, and finding Camomile has made it so intuitive and easy. Thank you. |
My demo license will expire soon so if there is still a bug I should fix it quick... I'm on Logic 10.5.0, if you have the opportunity to test with it, I'll be pleased to know if it works. Also if you could try to remove the AuioUnits cache (in ~/Library/Caches, remove the "com.apple.audiounits.cache" file), that will rescan the Audio Units and perhaps it will solve your problem? |
I will test later today in 10.5.0 and report back. |
I ran into the same issue with Logic 10.5.1 on a different computer running on MacOS 10.15.5 Was still only able to open as Midi-controlled effect. |
So this is the inverted problem, the effects work but not the instruments? Did you use the pre-built examples? And did you clean the AudioUnits cache?
|
The instruments work normally, and the audio effects have strange behavior. It's not exactly clear as to what the issue is. From the screenshots you sent with Logic, they seemed to be behaving normally on your computer. For me, the plugins are validated fine by Logic, but when I try to put them in plugin slot on a track, they can't be used. This is only an issue with the audio FX plugins. Software instruments work perfectly, and the audio effects only work in their 'midi instrument' mode (I've attached some pictures explaining this). So for whatever reason, Logic only lets me use the plugins (effect or instrument) as midi instruments, and will not let me use the audio effects in the way that audio effects are typically used. And i already tried clearing the Audio Unit cache, and it didn't seem to change the behavior of the Camomile-generated plugins. |
Hi, I'm sorry for this late answer. The investigation is difficult because I still don't have access to Logic (as the trial period is out) and I don't really know the how to load a plugin as a MIDI-controlled effect or simply as an Effect. But I can have a solution and if someone that uses Logic could test it, it would be really helpful! There are different types of AudioUnit (MusicDecice, MusicEffect, Effect, Generator, etc.). CamomileFx is a MusicEffect (kAudioUnitType_MusicEffect with the code "aumf" - so it accepts Audio and MIDI) but perhaps the plugin should simply an Effect (kAudioUnitType_Effect with the code "aufx" - so it accepts Audio but not MIDI). Perhaps this doesn't require any internal change 🤞, and in this case, only the code corresponding to the type in the file Info.plist should change. Here is how to test it:
|
If it works, I can modify the script that generates the plugin to uses |
Hi, I tested your idea in Logic 10.14 and unfortunately this does not seem to solve the issue. I can also replicate that it does load fine when you load the plugin as midi controlled effect. |
@gijs-c Thank you for your feedback I found another macOS machine to test with the Logic X Trial but the machine is on macOS 10.14 and now Logic 10 requires macOS 10.15, so I'll have to find another solution. |
Hi, I wanted to post this since long, then I forgot, now I do it. iolayout 1 1 | 1 0; iolayout 2 2 | 2 0; and here an example, where I wanted to be able to select individual outputs: or as instrument: Logic offers for Camomile instruments and Midi-controlled effects Mono, Stereo, Multi-Output(16xMono or Stereo) and Multi-Output(25xMono or Stereo); I hope, this helps a little bit. These are only a few examples, that made sense for me. Best, Josef |
Thank you Josef for this highlighting. So it seems that "regular" AudioUnit effects require to add a side-chain (even if the side-chain is not necessarily used). This could be a workaround, in the meantime, I'll investigate the channel management of the AudioUnit plugins, there might be something that I missed. @gijs-c and @fbarton112, can you retry a plugin with this approach, changing the channel layout of the Bulgroz to |
Yes, it seems so, that the plugin needs a side-chain. |
Yes, this fixes the problem consistently! Just tried it with both Castafiore and Bulgroz. I haven't tried all possible combinations yet, but so far the only iolayout configuration that works is 2 2 | 2 0;. Both 2 2 | 1 0; and 2 2 | 0 0; (was worth a shot!) do not work. Still have to try with a mono plugin. |
@gijs-c Thank you. So it could be used as a temporary workaround. I think I found the problem in the code with the channel layout, I'll try for the next release! |
I think I fixed the problem but as I can't test on Logic I'm not really sure. Can you try with these binaries? |
I tried Bulgroz now. Unfortunately it does not work, same error message as before. But very interesting, when inserted as Midi-controlled effect, it works in stereo and also as surround plugin! This is new. |
Hum, this was not intended :( Perhaps the effects plugins simply require an extra input bus on Logic? In this case, I just have to change the configuration of the examples and to add this information on the wiki pages. Can you try this juce demo plugin and tell me if it works as an effect on Logic? |
yes, this juce demo plugin works in Logic as an effect. |
Thank you! So this means that there is something wrong with the way Camomile manages the audio buses... |
this version crashes the host, tried with Logic an also with Blue Cat’s Patchwork. |
Oops sorry, I updated the minimum target to 10.9 on this one |
this version is ok for 10.14, but sorry ... same thing again with the error message. |
Okay, I really need to find a way to test and debug directly in Logic... :( |
yes, I understand. But as there is a workaround, it is not dramatically urgent, I think. |
Many thanks, and bravo for this project that maybe will help me to re-write a deprecated component named CEPbinaural I downloaded Camomile 1.0.7 and tried to insert Bulgroz. It was also rejected with"please contact the manufacturer for an updated version or further assistance". And I found this thread, I changed Bulgroz.txt Now I think I am able to code my first component, in fact to re-write it in Pd because my primary version was built with the now deprecated SonicBirth. But where I could find a minimum component body that is not an example? Best, Charles |
You should have a look at the wiki pages for documentation on how to create a plugin. There are also videos that could be useful. And if you have any questions, feel free to create a discussion. |
Hardware: MacBook Pro (Retina, 15-inch, Mid 2015) (MacBookPro11,4)
OS: macOS Sierra version 10.12.6
DAW: Logic Pro X version 10.4.4
Pd version 0.49.1
Format: AudioUnit
First off: thank you for this wonderful and amazing project! I'm having an issue however trying to get effects to work in Logic Pro X. I keep getting the following error message:
"Failed to load Audio Unit “CamomileFx”, please contact the manufacturer for an updated version or further assistance. "
All instruments I made work perfectly (all of the example instruments and one of my own) but I can't get any effect plugin to work. I've tried all of the examples and my own patch in versions 1.0.6 and 1.0.5, using the terminal method (1.0.6) and the manual method (1.0.6 and 1.0.5) and all result in the same message.
I loaded the VST's in Izotope RX7 and they work fine.
The text was updated successfully, but these errors were encountered: