Searching across all expansions
-
Hi all,
I am presuming this isn't possible but I am asking just in case as it would be a nice feature for the end users to have.
Is it possible to get the search function in the preset browser to search across all of the currently installed expansions rather than just the currently selected one?For example, If I had 5 expansions installed and each of them had some bell presets in. Can I make it so that I can type the word 'Bell' into the search box and it show all presets with the word 'Bell' in them across those 5 expansions rather than just the presets with the word 'Bell' in the currently selected expansion?
Thanks in advance
-
@rzrsharpeprod You'd need to modify the HISE source code for this
-
@d-healey said in Searching across all expansions:
@rzrsharpeprod You'd need to modify the HISE source code for this
or build(or buy) a preset tagging library
-
const var exh= Engine.createExpansionHandler(); var presetList=[]; var expList= exh.getExpansionList(); for (e in Engine.getUserPresetList()) presetList.push(e); for (i=0;i<expList.length;i++) { for (e in expList[i].getUserPresetList()) presetList.push(e); } Console.print(trace(presetList));
I'm not in front of the computer but this should work.
-
@d-healey I thought that might be the case. I'll try the solution above first to see if can do it without the need to modify the source code
-
@d-healey said in Searching across all expansions:
@rzrsharpeprod You'd need to modify the HISE source code for this
That sounds like fun...!!
-
@mehmethand Thankyou, I will give this a go at the weekend and see how I get on