Preset MIDI Learn doesn't load in compiled plugin
-
Yes this is a problem I have faced too. @Christoph-Hart We really need the option to set a default preset, this would solve this issue and several other issues, some of which there are workarounds for. One in particular is even if we save/export with what we want as our "default" preset it doesn't highlight it in the preset browser so the user may not be aware that a particular preset is loaded at all.
-
I can live without the default preset if it’s super-hard to implement, but it would be lovely if the midi mappings worked. I know I can script them in but that doesn’t work well with Logic’s non-realtime bounce and some automation artifacts start showing up. So I have to use the midi mapping instead but it doesn’t work on init...
-
Yeah it‘s more likely that I fix the midi mapping and let you set a default preset as file just for displaying.
-
@Christoph-Hart said in Preset MIDI Learn doesn't load in compiled plugin:
Yeah it‘s more likely that I fix the midi mapping and let you set a default preset as file just for displaying.
That would be awesome! When would you say we can expect this?
-
@tomekslesicki said in Preset MIDI Learn doesn't load in compiled plugin:
That would be awesome! When would you say we can expect this?
Wasn't too hard :)
https://github.com/christophhart/HISE/commit/060a887f06595a97f1dc1770bba5292f97f7221b
-
Awesome stuff! Thank you!
-
Hey @Christoph-Hart, I'm working on AAX versions of the plugins now and it seems like there's a problem with loading the initial preset in ProTools. All slider values look kind of random on init:
When I load the preset again, they load just fine:
These are not default slider values either.
Help!
-
Here's a lead: if the sliders are not set to be plugin parameters, the instrument loads fine.
-
@tomekslesicki Could it be that the DAW overrides the default?
-
@d-healey that would be my guess, too. @Christoph-Hart ?
-
Ah yes, I think I remember that was a Protools special:
TLDR: Make sure that the
defaultValue
property match the value in your initial preset. -
Ok, I experimented with this further and it seems like the only thing that helps is to disable 'is plugin parameter' for the sliders on AAX plugins. defaultValue doesn't help much.