Expansion User Presets
-
I've created a pull request. I noticed that my text editor seems to have saved every blank line as a change which unfortunately clogs up the changelog a bit :( I'm assuming this is due to the line ending difference between Windows and GNU/Linux so next time I make edits I'll switch to Windows style line endings and see if that solves it.
-
Yeah I try to figure out how to show the actual diffs, because I can‘t check in stuff into the precious codebase without reviewing it ;)
-
Not sure if you noticed, but I merged the request and ran the API generator over it so you can use your script functions now in the "official" branch.
-
@Christoph-Hart Oh excellent, I noticed the merge but forgot about the API generator :) I shall rebuild.
-
Almost have my player plugin working, abusing the expansion system to the fullest!
-
I’m having trouble inheriting the presetbrowser class from the expansion handler(to show the updated user presets from the expansion folder) Would somebody be willing to help me in the right direction. Thank you lots!
-
This is in the scriptnode branch, no need to tinker with the C++
-
Im waiting for tutorial tutorial :D
-
Where do we find these settings in Scriptnode ?
-
@Dalart Yes. You need to compile with these options
HI_ENABLE_EXPANSION_EDITING
&HISE_ENABLE_EXPANSIONS
. This is an unofficial feature though currently so you'll need to create your own method for users to install expansions. Once Christoph is back from his music writing vacation I hope we might see some of the expansion handling stuff from PercX make its way into HISE. -
@d-healey Thanks again David, more stuff to tinker with. I appreciate the responses and help you give !
-
@d-healey said in Expansion User Presets:
HI_ENABLE_EXPANSION_EDITING
I was able to find HISE_ENABLE_EXPANSIONS in the Projucer project file, I was unable to locate the HI_ENABLE_EXPANSION_EDITING setting though. Is there another location I need to look in ?
-
@Dalart You have to add it as a Preprocessor definition.
-
@d-healey how i can get list of expansions? I tried something like this
const var Viewport1 = Content.getComponent("Viewport1"); var expList = Engine.getExpansionList(); Viewport1.set("items", expList.join("\n"));
It's not work for me, instead exp list im getting object code ;P
-
@arminh You need to loop through the result. I'll make a video about the expansion system for next month.
-
@d-healey im waiting for this tutorial! I made simply for loop and yes i had arr with 2 values - 0 and 1, but i don't know what do next. I better wait for your guide :D
-
@d-healey I joined your patreon and watched the expansions 101 video, everything worked as you showed it would - however I really like this 4 column layout you have in your player is there a snippet or video that shows how you did this ?
-
@Dalart There is no snippet, but don't worry, in the latest version of HISE scriptnode the 4th column is built into the preset browser - however the expansion system is currently broken so we need to wait for Christoph to fix it before it can be used.
-
@d-healey Ok, Thank You.
-
@Christoph-Hart any updates about expansions system? Im not even thinking about inbuilt installer but i would like to see update where plugin can store last used preset after daw restart.