KSP Scripting (NI Kontakt) – Tutorials

You get Sublime 3 from https://www.sublimetext.com/3

Note: you can use it without any restrictions but you still need to buy a license. It’s really worth it!

Thx to Nils Liberg and nojanath who created a KSP plugin for Sublime Text with many new possibilities like macros, for statements, functions and many more, using Sublime is almost essential when it comes to complex scripts since it simplifies things a lot (like structuring our code and saving lots of code-lines). It also helps us to better reveal some errors. There are also new practices & features, like a different (easier) coding with less required code. Read more »

In 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


Read more »

In 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.

In this article we only create the GUI with a functional Navigation, the FX Knobs are not working! Refer to the engine par article to make them work.

You can skip this article:

  • If you are already working on Sublime and more advanced. Just move to working with macros
  • If you are on Kontakt 6. Also check out the ui_panel article which simplyfies a lot now.

Better not skip this

  • If you are new to kontakt scripting because this article still helps to better understande the other articles.

Read more »

Unfortunately once the initial wallpaper is set, we can’t alter the image file anymore. Even not by setting different initial wallpapers for each script tab. Because the last applied wallpaper will be the one and only initial wallpaper for the whole instrument.

But we can either offset the initial wallpaper that means moving it via set_skin_offset() or we can use a label element to set up multiple backgrounds (covered in this article). Even dynamically like switching them when hitting a navigation button. The set_skin_offset method is explained in this article

Read more »