Expansion Tutorial
-
Hi everybody,
as it appears to be a rather hot topic, I've decided to spend some time to write a proper tutorial project that covers the basic features of the Expansion system. I think I've included every feature and fixed some of the issues along the way, so the example projects should work inside HISE as well as when compiled to a plugin / standalone app.
- Pull or download the hise_tutorial repo
- Make sure to update HISE to the latest scriptnode
- Load the ExpansionTutorial project in HISE
- Load the Help.xml project which contains an overview over each included example and some guidance how to compile them.
Let me know if anything is not working, it's supposed to be a minimal use case that works everywhere and can be used as starting point.
-
Thanks Christoph, just saw all the commits, you've been busy!
-
@Christoph-Hart Very hot topic, right timing.... Thank you!
-
Oh my God! Such a present for Xmass! :D
-
@Christoph-Hart i noticed that floating PresetBrowser has issue with default text :)
-
Are expansion images held uncompressed in RAM like images embedded in the plugin?
-
@arminh Ah yes, I overlooked that one. It's fixed now.
-
@d-healey said in Expansion Tutorial:
Are expansion images held uncompressed in RAM like images embedded in the plugin?
I think it loads only used ones, but you might find it out using a big image and the Taskmanager :)
-
hello I have a question about expansion. the end user will have to proceed how for the installation? the presets will be put directly in the vst or will it be necessary to import them manually?
-
@yall You'll need to handle that with your installer. The expansions have to go in the app data folder.
-
@yall Be aware that this tutorial does only cover FileBased expansions, which are mini project folders including human readable samplemaps and no encryption whatsoever.
For a end user distribution you might want to look at one of the encrypted formats, but this will be covered in another tutorial later on.
-
@Christoph-Hart Is the API already there for the encrypted version?
-
@Christoph-Hart thanks for quick update. I checked setExpansionCallback method and i see it's execute function on changing preset instead expansion itself.
-
If you load a preset from an expansion, it will also change the current expansion.
-
@d-healey said in Expansion Tutorial:
Is the API already there for the encrypted version?
Yes, but I can imagine that there's a few things to clean up before it can be used. I just want people to get acquainted with the basic functionality before taking the next step.
-
@Christoph-Hart :) I'll have to update my expansions video
-
@Christoph-Hart it's not really work like this. I just made Console.print in setExpansionCallback and i see log only when i switch preset in expansion but it not work on changing preset. I hope you understand what i mean.
-
@Christoph-Hart @d-healey I will try tomorrow. Is there a way to create a link button that redirects to the app data or application support folder from the vst? this would make it possible to create an "installation" button. 1 for the presets and 1 for the samples. It could be a quick and easy solution while waiting for an expansion version which includes sample + preset. What do you think?
-
i just finished and compiled a vst test with 4 expansions. everything works very well. the use is quite simple but for an end user it can be complicated. I look forward to the possibility of doing it with the .ch1 sample because otherwise with the wave samples, the size of the sound bank can really be gigantic ^^
-
@yall You can already use ch1 samples with expansions.