Latest version of HISE breaks existing presets....
-
The code that sends the macro value as plugin parameter is already in HISE 4.1.0.
What changed in that commit is that HISE registers a plugin parameter at index 0 for the UI control (basically what the compiled plugin is doing) so before that value was sent out to nirvana (or the DAW if HISE runs as a plugin), but now it loops back to the first UI component that is defined as plugin parameter.
HISE_MACROS_ARE_PLUGIN_PARAMETERS=1This solves the problem my registering the 8 macro controls as plugin parameters, so changing the first macro just changes the first plugin parameter (=macro) => no op.
So the proper fix would be:
if USE_BACKEND && HISE_MACROS_ARE_PLUGIN_PARAMETERS==0 => don't send the macro value as plugin parameter
if USE_BACKEND && HISE_MACROS_ARE_PLUGIN_PARAMETERS==1 => send it
Note that the compiled plugin is completely unaffected by this. All it would break is the behaviour of HISE to send out macro values as plugin parameter without that flag.
-
@Christoph-Hart do you want a copy of my project to test with?
-
@Lindon yes but please give me some guidance on what to look for. Also if you can dumb it down so I don't have to download gigabytes of samples, would be great.
-
@Christoph-Hart I know its a long way back but if you look at the first three or so posts in this thread I think that does dumb it down , and explain exactly whats happening.... let me know if thats not enough, I can send the project without the samples - as Im pretty sure they wouldnt be needed to see this problem anyway....your call.
-
@Lindon yes send over.
So your particular problem is that plugin parameters + macros + preset recall is not working (mastervolume +30 = 1.0 normalized)?
-
@Christoph-Hart When I open a project previously saved in a DAW using a plugin compiled with 2024 commit HISE (I only tried in Reaper and Logic on macOS), with the same plugin compiled with new HISE, the saved settings are not loaded in the DAW. The plugin is loaded with the default state.
-
@JulesV Are you using plugin parameters? And is this affecting only controls that are linked to plugin parameters or all values?
-
@Christoph-Hart In the plugin, all controls are set to plugin parameters. Also most of them are set to isMetaParameter. And all controls are initializing with default values
-
@Christoph-Hart said in Latest version of HISE breaks existing presets....:
@Lindon yes send over.
So your particular problem is that plugin parameters + macros + preset recall is not working (mastervolume +30 = 1.0 normalized)?
yes that about sums it up - I will send it over...
-
@Lindon Would it be possible that the single error that both you and @JulesV are experiencing is because of a drift between the plugin parameter value stored in the DAW project and the internal preset?
Whenever you save a DAW preset, it will
- create a .preset containing the plugin state (exactly as if you would save a user preset)
- store the values of all registered plugin parameters
and dump that into the binary data blob stored as DAW project.
In a "healthy" plugin, these values should not drift - the plugin parameter value is the value stored into the preset. But if there is a mismatch (either because of a new plugin parameter that wasn't stored or because of some initialisation error at startup, it might create these issues.
-
@Christoph-Hart I think not. As this is showing up in HISE as well as compiled plugins.... see my posts at the start about using Console.print to tell me whats happening...
Sent you the project link to your email