The instruments background image is called “wallpaper”. Its’ the basic background texture where all UI elements (knobs, buttons etc) get layered on top. Just to give you an example: we could take our default graphic software and design a realistic synth surface wallpaper (png file) containing “sockets” for some knobs and buttons with detailed shadows, light reflections etc. After that we can create the individual knobs & buttons and place them exactly inside the designated sockets and areas by layering them on top of our background wallpaper.
KSP Scripting (NI Kontakt) – Tutorials
Like in other programming languages in KSP there are variables, arrays and constants. These can only be declared inside the on init callback but can be used throughout the whole script then.
Read more »
The Basic code structure is very simple. We basicaly put most of our code into callbacks
All callbacks look like this
on <callback> ... end on
In general the code inside callbacks gets executed when specific events happen. For example playing a note on our keyboard always executes the “on note” callback.
So callbacks build a framework for our instrument and are mostly needed to communicate with different parts of the Kontakt engine.
Before we start scripting we should create a resource container where we put in all our files we need for our instrument (e.g graphic files or impulse responses etc.)