Load multiple expansions
-
Hello!
Do you know if it's possible to load all expansions simultaneously? This is to be able to display and load all the sample maps in a single combo box, and the presets in another.
Thank you
Lumi -
according to the doc, it's looks like you can load content from multiple expansions, but I haven't tried yet.
Thanks to the unique wildcard for each expansion, you can load content from multiple expansions simultaneously and even combine it with data from the Factory Content . However HISE has a concept of an active expansion, which can be used to do different stuff like change the skin depending on the active expansion change the list of instruments in a combobox to show the instruments available in a specific expansion. You can select an expansion to be active by either: Load a user preset from an expansion Manually call setCurrentExpansion() with the name of the expansion you want to select. If you want to use that feature, you can set a Javascript function that will be called whenever one of these events happen. The concept of the active expansion is also important during development: for example the list of available samplemaps in the HISE sampler module is using the active expansion. You can change the active expansion in HISE using the ExpansionEditBar , which is part of the Sampler Workspace
-
@Dan-Korneff yes the „currently active“ expansion is singular but optional (so you can use it if you want to use it as a concept in your project) - you can fetch content from different samplemaps at all times.
-
@Dan-Korneff Thank you
-
@Christoph-Hart Ok Thank you!