To create a library, you need a program that is set up the way you want it and that can be played and adjusted via the quick controls and the macro page.

The following steps need to be completed prior to creating a library.

  1. You have sampled the required sounds and noises.

  2. You have cut and processed the samples.

  3. You have mapped the samples to the keyboard.

  4. You have structured the samples in layers, for example, for different articulations.

  5. You have set up the program so that you can switch between articulations, either using MegaTrig or your own Lua script.

  6. You have added the MIDI modules to be used by the instrument, for example, a MIDI player.

  7. You have added custom script code to process some special playing features.

  8. You have added busses and effects to control the audio routing and deliver the integrated effects intended to be part of the instrument.

  9. You have configured the quick controls.

  10. You have built a macro page with all the knobs, sliders, and other control elements.

  11. You have assigned the macro page to the program.


If you want your library to work in HALion Sonic, the Program Tree should contain a program and a layer. The program is exported as a HALion Sonic layer and contains the macro page and the quick control assignments. The layer contains all samples, synth zones, sublayers, MIDI modules, internal busses, and effects.