Learn how to create complex UIs & functions with full Tutorials and scripts for download
Kontakt Scripting (KSP) :: SCRIPTS :: Vertical & Horizontal Drag n Drop v2
this 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)
This 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
this 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
this 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
The 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+]
This 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
Using 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]
with 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
Since 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
this 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+
this 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).
Kontakt Scripting (KSP) :: ENGINE :: dynamic routing & bus section – ENGINE PAR OUTPUT CHANNEL
This article explains the bus section and routing. Manual routing as well as dynamic routing via ksp drop down menu and button (premium).
KSP Scripting (NI Kontakt) :: BASICS :: distributing your instruments – best update & upload practice
Please note that this article is not about choosing the best and cheapest server for your needs nor is it about any marketing strategies! when your instrument is finally ready to be published, you probably start thinking about a best way to distribute everything including upcoming updates.
KSP Scripting (NI Kontakt) :: BASICS :: What’s KSP – is it easy to learn?
KSP 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]
with 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
This 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)
KSP Scripting (NI Kontakt) :: BASICS :: Absolute vs Relative File Paths
Never check “Absolute path” when publishing your instrument. Because with absolute paths, your customers/users are barely able to use your instrument. Learn more why…
Kontakt Scripting (KSP) :: Troubleshooting :: parser stack overflow error (workaround)
If 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 :: Quick Load Catalog – Better Organize all your Kontakt Libraries (recommended for our libraries)
KONTAKT-FULL-LIBRARIES, Libraries only made for the full version of Kontakt (and not added to the libraries tab), can be buried in oblivion, since they are not that accessible as those you can find in the libraries tab on the left. For this reason there is the Quick-Load Catalog, which is very very useful especially when […]
Kontakt Scripting (KSP) :: Animation Sequence (e.g. for VU-Meters, Oscilloscopes, LED-Arrays, Cartoons) via Sprite Sheet & picture_state
Animations 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) :: scrollbar vertical, scroll area, auto scroll (as mouse wheel replacement)
based on the button matrix this script lets you easily create a scrollable area like shown in the video. You can adjust many parameters (and even use custom images for the buttons and scroll bar) by changing a few variables at the top of the script. The relevant code parts are explained in the article […]
Kontakt Scripting (KSP) :: USEFUL SCRIPTS :: button matrix / automatic grid, alignment
this lightweight script creates a button grid with as many buttons you like. By default there are 4 buttons in a row but you can adjust the matrix (row number and column number) by simply changing a few variables. You can also adjust the button widths & heights, you can position the whole matrix and […]
Kontakt Scripting (KSP) :: CUSTOM SCRIPTS :: advanced round robin function (smart)
In the last article we’ve learned a basic round robin function via groups. Now we create a more complex round robin application. A simple guitar engine, containing 3 different instruments (acoustic guitar, flageolet & fx guitar). So this time we need to create a matrix so that the activated instruments are played round robin (see […]
Kontakt Scripting (KSP) :: CUSTOM SCRIPTS :: basic round robin function (groups & keys)
With samplers (or other software instruments) round robin basically means sound variations. Imagine you are picking a guitar! Your single picks will never sound the same since you always pick the strings slightly different. We can simulate that “humanization” by simply randomly varying between a few sound variations which we all have to recorded of […]