Expansions & Favourites
-
@DanH I've been to sleep since then :)
-
@Christoph-Hart I've tried looking into this today but I don't quite understand how the preset database stuff works.
The problems are:
The favourite buttons for presets in expansions don't work. When you press the button nothing happens and when you go back to a non-expansion presets afterwards and press their favourite buttons nothing will happen either. You have to restart HISE to get it to work again for non-expansion presets.Solved!The search bar only searches in non-expansion presets or the presets of a currently loaded expansion, it doesn't allow you to search all presets from all expansions.
@DanH Also mentioned the load next/prev preset won't cycle through expansions - actually this is the behavior I'd prefer but I can see why it would be good to have it go through expansions in some scenarios. So if you do change this, make it optional :)
Here is a test project: ExpansionPresetsDemo.zip
-
Aha I think I'm getting somewhere!
Pushed to this branch/PR - https://github.com/christophhart/HISE/pull/368
I think I know what needs to be done for getting the search working across all expansions. It looks like it will require some brain power though so I'm not going to tackle it today.
-
@d-healey Is this working now on the develop branch? I can’t filter the presets using the favorite button or the search bar within expansions.
-
@bendurso might only work for full expansions, not sure as I haven't used it in a while
-
@d-healey Oh I'm using encrypted expansions. What are you using for searching presets and saving favs?
-
@bendurso I'm no longer using the expansion column in the preset browser so the search for me just works like with any regular (non-expansion based) project.
-
@d-healey do you mean that you are still using expansions but somehow getting the list of expansions into the 'regular' preset banks column so the standard search works or do you mean that you are no longer using expansions at all?
If it's scenario number 1 then I'd be interested to know how that works as searching across expansions of probably the number 1 user request we get asked about.
Thanks in advance
-
@rzrsharpeprod He's using expansions.
You can get the expansion list with Engine.getExpansionList, and set an expansion with Engine.setCurrentExpansion. So there's no need for the preset browser expansion selector.
-
@bendurso said in Expansions & Favourites:
@rzrsharpeprod He's using expansions.
You can get the expansion list with Engine.getExpansionList, and set an expansion with Engine.setCurrentExpansion. So there's no need for the preset browser expansion selector.
I got expansions working sometime last year (with the help of David actually) but I mean the search doesn't work across all expansions, only the currently selected one. I was trying to figure out if David - or anybody else had got this to work as it is a regularly requested feature
-
@rzrsharpeprod Oh, sorry — you meant the 'search' function in the preset browser. Yeah, as far as I know, that's only available for selected expansions. Maybe I'm wrong. Maybe you could change the source code to make it possible.
-
@rzrsharpeprod Yeah the preset browser search bar will only search within the current expansion. In my plugin that's ok because the expansions are loaded outside of the preset system.
-
@d-healey said in Expansions & Favourites:
@rzrsharpeprod Yeah the preset browser search bar will only search within the current expansion. In my plugin that's ok because the expansions are loaded outside of the preset system.
Ah ok I understand, so you have implemented a custom preset/expansion system. Does this then enable the search - or a custom version of a search function - to then search through all available presets across multiple expansions, or do you just not have a search function so it isn't an issue?
-
@rzrsharpeprod In my plugin the user loads an expansion and they can search using the standard preset browser search, through the presets of the loaded expansion only
-
@d-healey ah ok I understand. That's what ours does but as there are so many expansion/banks we're often asked by users for a global search as there are 100s of presets. I thought I'd maybe found a way to do this. Thanks for the explanation
-
@Christoph-Hart any chance of an option for this?