Tag: ksp
Kontakt Scripting (KSP) :: SCRIPTS :: Vertical & Horizontal Drag n Drop v2
Modified April 2026this is an update to the v1.0 drag & drop script. You can now set horizontal draggables or vertical draggables like lists (see animation below). For real use cases also see Rearrange FX Slots via Draggables
Kontakt Scripting (KSP) :: Basics :: various use cases for buttons (toggles, disabled buttons, reading & setting button states)
Modified April 2026This is a follow up to the Button Picture State tutorial. This article demonstrates various types of buttons like toggles and disabled buttons and some common use cases. Below are the six possible button’s picture states again, listed in the right order. But note via KSP (script) we can only address the on and off […]
Kontakt Scripting (KSP) :: Sublime Text – advanced functions with arguments & local variables
Modified April 2026this article explains everything about advanced user defined functions in sublime text. The basic syntax, how to use them with mixed arguments, how to declare local variables and how to return values. It also shows the differences between classic and advanced functions.
Kontakt Scripting (KSP) :: BASICS – user defined functions explained
Modified June 2024this article explains the user defined function in KSP. At the end of this article there is also a comparison between classic and advanced functions with sublime text.
Kontakt Scripting (KSP) :: BASICS :: callbacks – on ui_control explained
Modified April 2026The on ui_control callback gets executed whenever any ui element is used. So it is an important callback when it comes to creating a custom UI. This articles explains all you need to know about this callback.
Kontakt Scripting (KSP) :: UI :: Drawer or Offcanvas with slide in/out animation [Kontakt 6+]
Modified April 2026This article explains how to make a vertical drawer with a slide in/out animation with Kontakt 6 (and beyond). (see video) The download additionally includes a horizontal drawer with a slide right-in/right-out animation. You can customize both the drawer to your needs via some global adjustments
Kontakt Scripting (KSP) :: BASICS :: Outsourcing and Storing Script Files into the Resource Container
Modified July 2022Using the Script Tabs in Kontakt is not the only option we got. We can also “outsource” our scripts and store them into our resource container. We can then load them into one of our script tabs. This article and the video shows how this is done.
Kontakt Scripting (KSP) :: UI :: dialog windows (popovers / modals) with a responsive backdrop [ui_panel + z_layer] [Kontakt 6]
Modified April 2026with ui_panels and z_layers we can easily create dialog windows and add a backdrop which closes the dialog again when clicking on it. This tutorial shows the essentials of how to create such a dialog window & responsive backdrop combination. The download also provides an additional more advanced version with some controls (see the video).
Kontakt Scripting (KSP) :: set own font types – since Kontakt 6 via custom bitmap font sprites
Modified April 2026Since Kontakt 6 we can add custom fonts. Although the ksp coding part is very easy, creating such a bitmap font manually can be a pain in the ass. That’s why we built an online ksp font type generator (currently not working).
Kontakt Scripting (KSP) :: SCRIPTS :: Reorder FX Slots via Draggables, DLC
Modified April 2026this is an additional dlc to the drag & drop script. As you may already have seen with other Kontakt instruments we can create draggables to rearrange FX or anything else with up to 16 elements. This script in particular rearranges the instrument FX chain, related to the draggable positions (see video).
Kontakt Scripting (KSP) :: SCRIPTS :: Main Drag & Drop Script / Draggables for Kontakt 5 & 6+
Modified April 2026this drag & drop script can be used to rearrange anything with Kontakt. With up to 16 draggable elements. It can easily be customized by adjusting a few parameters like size, position, amount of draggable elements. The draggables can be skinned with custom images as well (see video).
KSP Scripting (NI Kontakt) :: BASICS :: What’s KSP – is it easy to learn?
Modified April 2026KSP is a rather simple procedural scripting language for Native Instrument’s Kontakt e.g. to create your own Instruments like those you are probably using all day long already.
Kontakt Scripting (KSP) :: BASICS :: ui_panel explained [Kontakt 6]
Modified April 2026with the introduction of the ui_panel since Kontakt 6, things became a little easier when it comes to complex UIs with multiple screens (= panels) inside one script tab. This article explains the ui_panel ind detail and shows some basic examples.
Kontakt Scripting (KSP) :: TOOLS :: Key Color Viewer & Key Color Table
Modified April 2026This tool shows all available key colors. Simply select one color from the dropdown menu. And copy the Variable name from the field below with ctrl+c The Key Color Viewer works with Kontakt 5, Kontakt 6 and above. Each key color has also been visualized with a keyboard-screenshots-table (below in this article)
Kontakt Scripting (KSP) :: Troubleshooting :: parser stack overflow error (workaround)
Modified November 2019If working on big Kontakt projects with large code segments inside the on init you may get confronted with the “parser stack overflow” error. This simple workaround shows how to avoid this error.
Kontakt Scripting (KSP) :: Animation Sequence (e.g. for VU-Meters, Oscilloscopes, LED-Arrays, Cartoons) via Sprite Sheet & picture_state
Modified April 2026Animations via image sprite sheet let your Kontakt instruments feel more organic and vivid. Sprite sheets can also be used for displaying dynamic info like note names or other information. This article is kept simple for a better understanding. The download contains a more advanced version of an oscilloscope, reacting on note height & velocity, […]
Kontakt Scripting (KSP) :: on mouse release event – 3 different methods
Modified April 2026Currently there’s no way to monitor real mouse events in Kontakt … only partly since Kontakt 6, which is introduced in this Drag & Drop Script. In general we can only simulate a mouse release event via some workarounds. In this article we will introduce 3 different methods.
Kontakt Scripting (KSP) :: Sublime Text – how to work with macros, tutorial
Modified April 2026in this tutorial we will work with sublime text and macros. A macro works almost like a function. We use them like functions and we can use arguments to pass expressions to alter or individualize several parameters inside a macro.
KSP Scripting (Kontakt) :: Custom UI :: Switchable, Dynamic Wallpaper via set_skin_offset()
Modified April 2026this tutorial is based on the Wallpaper and the Dynamic Wallpaper (via label element) tutorial. Actually once the initial wallpaper is set we can’t change it anymore but we can move the wallpaper image vertically via set_skin_offset(). So if we create a wallpaper sprite which is as double as high as our ui_size (in this case […]
Kontakt Scripting (KSP) :: watchdog timer – change knob or slider labels on mouse events (on click, on release) [dynamic labels]
Modified April 2026In this tutorial we will learn how to dynamically change labels and display the knob’s current value for the time the knob gets moved. After releasing the knob the default label shows up again after a certain delay. See video Also see these more conveniant solutions, using less code
Kontakt Scripting (KSP) :: Custom UI :: Buttons & Animations (on, off, pressed, mouse over states)
Modified April 2026in this tutorial we will create “animated” buttons for Kontakt 5 or 6 with the following states: off on pressed off pressed on mouse hover off mouse hover on
Kontakt Scripting (KSP) :: Custom UI :: Complex User Interface with multiple Screens/Menus inside one Script Tab
Modified April 2026In this Complex User Interface tutorial we will build a fully functional UI with multiple Screens: main screen, FX screen and about screen. Whereas the FX screen holds a sub menu for two different FX: a LoPass filter and a LoFi FX.
Kontakt Scripting (KSP) :: Fonts – List All Font Types, Tool for Kontakt 5,6 (and up)
Modified April 2026If you are missing a detailed list of all Kontakt fonts, here is a little tool for you. This is a simple nki for Kontakt 5 which lets you display all font types on miscellaneous background colors for better readability. UPDATE: since Kontakt 6 we can now create and use own fonts. Read this tutorial […]