Switching presets w/ button loads slowly
-
Hello,
While switching presets I noticed the load time increases when I stay on a preset for a while then switch to the next one and also when I 1st open the plugin up. Is that just standard or can it be fixed?I have 2 samples in use in the project I’m working on.
-
@BWSounds Are you loading samples when changing presets?
-
@d-healey
Yes. -
@BWSounds Then I assume the delay is the time it takes to load the samples. The fact the time increases when you've been on one preset for a while could be some kind of caching thing. Are you testing this in a standalone build?
-
@d-healey
Standalone Yes. It’s just odd to me, when I use the preset browser to select a preset it does it right away, every time. -
@BWSounds said in Switching presets w/ button loads slowly:
I use the preset browser to select a preset
I assumed that's what you were doing. Are you saying this issue is only noticeable when changing the preset through scripting?
-
@d-healey yes sir
-
-
// previous arrow //
inline function onButton8Control(component, value)
{
if (value ==1)
{
Engine.loadPreviousUserPreset(true);}
};Content.getComponent("Button8").setControlCallback(onButton8Control);
// next arrow//
inline function onButton15Control(component, value)
{
if (value ==1)
{
Engine.loadNextUserPreset(true);
// Buttonsyncenv.changed();
}
};Content.getComponent("Button15").setControlCallback(onButton15Control);
-
@BWSounds I can't see anything wrong with that. I like the wonderfully clear naming choices for your buttons :p
-
@d-healey
humm..well that's weird. i'll mess with it a bit more, maybe chance the names of the controls haha -
@BWSounds are the buttons saveInPreset disabled? Though I'm not sure this would have an impact on your particular problem…