This tutorial will guide you through the process of building a simple sample library and export it as VST / AU plugin.
This tutorial will guide you through the process of building a simple sample library and export it as VST / AU plugin. The following topics are covered:
The sample library will have these features:
The interface and the samples are kindly provided by Wavesfactory
You can find the finished project repository here, so if you get stuck somewhere or are too impatient to crawl through the whole tutorial, simply clone this repository and check out the final result.
Before we start, let's take a look at the interface of HISE.
Download the HISE installer and follow the instructions. For actual development I recommend using the standalone application. HISE changes its appearance according to the window size, so if you want all controls, set it to fullscreen (or a minimal width of 1300px). The window is divided into four sections:
The main topbar can switch between the workspaces and contains statistics and the tooltip popup.
This area can be arranged and populated with any kind of panel. This (and how to use the Custom Workspace) will be covered in a seperate tutorial, so you might ignore this area for starters.
The main area contains a vertically arranged list of all modules in the current patch. Everything in HISE is a tree. The root item is called master chain (and has the module type "Container"). You can add submodules by clicking on the
+ icon and select the desired module.
Above the area there are three other elements:
the right panel is not customizable, but contains some development tools that automatically popup when needed.
|A panel to set the macro controls settings|
|2. a live variable watch table for debugging scripts|
|3. the interface designer which allows WYSIWYG editing of script interfaces|
|4. a modulator plotter that is able to plot modulation signals of time variant modulators and envelopes.|
|5. the debugging console|
Now let's build this sample library. The first thing we have to deal with is some boring stuff: project management.
HISE has a internal project system that allows you to easily share and switch between different projects and it's crucial to understand how it works before everything else.
A project in HISE is a folder which contains all files (samples / scripts / images) as well as some specific setting (Project name, version etc). So the first thing you should do after loading up HISE is to create a new project by choosing File -> Create New Project Folder.
Select a directory and press OK. It will create all necessary sub folders within this directory. You can now copy all external files into the correct subfolder and access it within HISE as relative path so you can simply transfer the project on another computer. When you compile the plugin, all files (except for the actual samples) will be embedded into the plugin binary so it is crucial that you put everything that belongs to the project in this folder.
Now you are ready to get started with the sampler.