Rigid Audio Berlin | KONTAKT INSTRUMENTS | KONTAKT GUI MAKER V2 MODULES

SET ENGINE PAR | INSPECTOR OPTIONS

TYPE (cannot be changed)

ID (cannot be changed)

NAME (only within KGM2)

PLACEMENT (where to place the module’s code, connect e.g. to a slider CALLBACK pin)

PARAMETER (name/type of engine parameter to control, e.g. “$ENGINE_PAR_PAN)

VALUE (the value to set the engine parameter to)

GROUP (the zero-based index of the group in which the specified parameter resides)

SLOT (the zero-based slot index of the specified parameter)

GENERIC (this parameter applies to instrument effects and to internal modulators)

PLACE IN INIT (when set to 1, the module’s code will be placed in the KONTAKT script “on_init” section)

CONNECTING MODULES

Once you insert modules into your project you might wonder how to connect them so that your whole project “comes to life”.
Modules can be connected in any way you can think of (with a few restrictions), here is an example:

In the above picture, a SLIDER module has been inserted as well as a SET ENGINE PAR module.
The SLIDER modules has been renamed to “CUTOFF SLIDER”. The SET ENGINE PAR module was called “FILTER CUTOFF”.

The OUT pin of the CUTOFF SLIDER module was dragged to the VALUE input pin of the FILTER CUTOFF module.
In the FILTER CUTOFF module, the PARAMETER was set to $ENGINE_PAR_CUTOFF via the inspector to tell KONTAKT that it should control the filter cutoff amount in the first SLOT (zero-based) of the first GROUP (zero-based).

Also, the PLACMENT pin of the FILTER CUTOFF module has been connected with the CUTOFF SLIDER’s CALLBACK pin so that KGM2 knows where to put the FILTER CUTOFF module code action (in this case into the callback for the CUTOFF SLIDER).

Note that you can only connect pins that have the same datatype. (E.g. INT to INT or TEXT to TEXT)
Also, connections can only go from an OUTPUT to an INPUT.

Here is a picture of KONTAKT set up with a basic filter as described above.
A filter effect has been placed in the first slot of the first group. Again, both zero-based (starting from “0” instead of “1”):

INIT | OVERVIEW

TYPE: ON_INIT
INPUT: CALLBACK | CALLBACK ()
INPUT: INT | SKIN OFFSET (offsets the chosen background picture file vertically by the specified number of pixels)
INPUT: TEXT | MESSAGE (display text in the status line of KONTAKT)

INIT | INSPECTOR OPTIONS

TYPE (cannot be changed)

ID (cannot be changed)

NAME (only within KGM2)

CALLBACK ()

SKIN OFFSET (offsets the chosen background picture file vertically by the specified number of pixels)

MESSAGE (display text in the status line of KONTAKT)

HIDE INST ICON (whether to show the instrument icon in the KONTAKT instrument header section)

UI WIDTH PX (width of your KONTAKT instrument in pixels, max. 1000)

UI HEIGHT PX (height of your KONTAKT instrument in pixels, max. 750)

SCRIPT TITLE (sets the script title of the KONTAKT *.txt instrument script file, appears in KONTAKT’s script editor)

Automatically created and required for each project.

SCRIPT AUTHOR (sets the script author in the KONTAKT *.txt instrument script file, appears in KONTAKT’s script editor)

In KGM2, you work with so called “MODULES” that you connect to each other to create your actual KONTAKT instrument.
Each of these MODULES will perform a different function, based on their category, type and name:


SLIDER | OVERVIEW

TYPE: SLIDER (ui_slider)
INPUT: BOOL | VISIBLE (toggles visibility)
INPUT: CALLBACK | DECLARATION (used for additional variable declaration)
INPUT: CALLBACK | CALLBACK (script code placement of module’s “on ui_control” callback)
INPUT: INT | GUI X (X Position in GUI area)
INPUT: INT | GUI Y (Y Position in GUI area)
INPUT: INT | Z LAYER (layer depth. Place graphic above or below other items, -1,0 or 1)
INPUT: TEXT | PICTURE (FILE) (slider *.PNG file)
INPUT: TEXT | AUTOM NAME (automation name when beeing automated in KONTAKT)
INPUT: TEXT | HELP (mouseover help text in KONTAKT)
OUTPUT: INT | OUT (the current slider value)

SLIDER | INSPECTOR OPTIONS

TYPE (cannot be changed)

ID (cannot be changed)

NAME (only within KGM2)

VISIBLE (if the slider should be visible or not)

DECLARATION (used for additional variable declaration)

CALLBACK (script code placement of module’s “on ui_control” callback)

GUI X (X Position in GUI area)

GUI Y (Y Position in GUI area)

Z LAYER (layer depth. Place graphic above or below other items, -1,0 or 1)

PICTURE (FILE) (slider *.PNG file)

AUTOM NAME (automation name when beeing automated in KONTAKT)

HELP (mouseover help text in KONTAKT)

OUT (the current slider value)


ALLOW AUTOMATION (if the slider should be automatable or not)

PERSISTENT (if KONTAKT should remember the slider’s value or not)

MOUSE BEHAVIOUR (horizontal or vertical mouse movement, negative values mean vertical movement)

MIN VALUE (minimum slider output value, usually “0”)

MAX VALUE (maximum slider output value, usually “1.000.000”)

DEFAULT VALUE (default slider output value, usually “0”)

A basic, automatable slider (or knob) that can have horizontal or vertical movement.

SET ENGINE PAR | OVERVIEW

TYPE: SET_ENGINE_PAR
OUTPUT: CALLBACK | PLACEMENT (where to place the module’s code, connect e.g. to a slider CALLBACK pin)
INPUT: TEXT | PARAMETER (name/type of engine parameter to control, e.g. “$ENGINE_PAR_PAN)
INPUT: INT | VALUE (the value to set the engine parameter to)
INPUT: INT | GROUP (the zero-based index of the group in which the specified parameter resides)
INPUT: INT | SLOT (the zero-based slot index of the specified parameter)
INPUT: INT | GENERIC (this parameter applies to instrument effects and to internal modulators)

For more information, refer to the “KSP Reference Manual” from KONTAKT 5.8, topic “Engine Parameter Commands”.

Used to change KONTAKT engine parameters like volume, LFO speed or effect settings.