Au parameters not loaded correctly when opening AUM project
Nikolozi
open
Just changing the status of this back to Open for now (as I'm not actively working on it), going to wait for Apple's WWDC conference in June to see if they have improved anything and then look at it again closely.
AcoustiMan
Nikolozi thx for the update
Nikolozi
AcoustiMan A quick update. I spoke with Apple's Core Audio engineer during the WWDC labs. It was a productive discussion, demonstrating the bug and providing him with all the details. They will look into it. I'm hoping they fix it by the time iOS 18 is released. If Apple fixes it that would be ideal because you won't need to rely on AUM and Mela hacks-arounds.
AcoustiMan
Nikolozi thx for the update!
Nikolozi
in progress
The bug is still happening when loading bigger AUM projects.
Nikolozi
complete
Fixed in Mela 4.2 and AUM 1.4.5. If the issue is still happening, please leave a comment and I'll reopen it.
Nikolozi
AcoustiMan a quick update, looks like there's a bug in Core Audio API where hosts don't get notified about the parameter tree changes on plug-in state load.
I worked with the AUM developer and both Mela and AUM will have a workaround for this bug in their respective next update. You will be able to see the correct parameter list and mapping settings shouldn't be lost.
I will also file a detailed bug report to Apple, so hopefully, they can fix this.
AcoustiMan
Nikolozi: thx for the update. I appreciate that!
Nikolozi
AcoustiMan: If you have access to AUM beta, the fix is in AUM 1.4.5 (build 317).
AcoustiMan
Nikolozi:👍
Nikolozi
in progress
Nikolozi
under review
Nikolozi
The problem is hosts sometimes aren't properly observing for AUParameterTree object changes. I'll see if I can improve this from my side, and I'll also get in touch with Jonatan (AUM dev) to see if we can investigate it together.
AcoustiMan
Nikolozi: 👍
AcoustiMan
Nikolozi: in the changelog of 4.2 you mention an added workaround. Can you explain where to find it in 4.2?
Nikolozi
AcoustiMan: you don’t need to do anything it should just work. The workaround is in the code.
Also, you’ll need AUM 1.4.5 (which is still in beta I think) for your AUM session to correctly recall MIDI wirings.
If you are on AUM TestFlight please try out Mela 4.2 with AUM 1.4.5 and let me know if it’s all working as expected.
AcoustiMan
Nikolozi: 🙏
AcoustiMan
Nikolozi: Fortunately AUM version 1.4.5 is finally released. That gave me the opportunity to test the loading of the AU-parameters and the midi-mapping. It works fine for 8 instances of Mela 4 each with different modules. But with more Mela-instances AU-parameters are not loaded correctly again when opening an AUM-project.
Nikolozi
AcoustiMan: ah that sucks. I'm not too surprised because the hack was based on timing and if a project takes longer to load it could mean timing changes. Apple has confirmed that bug and I'm hoping they fixed it in iOS 17. I'll test it tomorrow when it comes out. Otherwise, I'll have to see if the hack can be improved until Apple fixes the bug.
AcoustiMan
Nikolozi:in the meantime I use a workaround with an auv3 plugin called Midi-messenger. With this plugin I can automatically load a saved Mela-preset when loading a AUM-session.