Kontakt Scripting: Lesson 4

(2 customer reviews)


The fourth and final lesson in the Kontakt scripting tutorial video series. Multi-tabbed interfaces and microphone mixers!


If you’ve followed the first three lessons in this series you should be comfortable with the basics of Kontakt scripting as well as some of the more intermediate techniques. This last lesson is designed to take your scripting to the next level and turn you into a professional Kontakt scripter.

Each lesson in the series is standalone, although there is a little bit of overlap. You don’t need to have seen any of the others to be able to follow along. As you progress from lesson one to four it is expected that your base level of Kontakt scripting knowledge and ability is higher.

Lesson Plan

During this lesson you’ll build a more advanced version of the drum kit from lesson one. It will feature a multi-channel mixer with mute and solo buttons, a tabbed interface, effects scripting, and an effects preset system.

You’ll learn new ways to manipulate Kontakt groups, how to send data between scripts using PGS keys, and how to script a random round robin system. Most importantly you’ll create a scripting framework that will exponentially speed up your scripting and allow you to work more efficiently by reusing code across multiple projects, without the need to copy and paste.

You’ll also study some more general concepts like multi-dimensional arrays, macros, and task functions for which you will discover a huge variety of uses.

How Become a Kontakt Scripting Professional

As a professional scripter you’ll often find yourself working on several projects at once, all of which will have some code in common – whether it’s declaring GUI controls or performing round robin repetitions etc.

During this lesson you’ll create your own templates and libraries which will enable you to manage all of your projects with ease and build a common codebase that is simple to maintain and quick to use.

Following these videos will greatly increase your workflow, reduce the amount of code you need to write through the use of a custom framework, reveal more tricks inside Sublime Text, and really round out your knowledge of Kontakt scripting.

Downloadable Content

The download package for this lesson includes: nine mp4 tutorial videos, audio samples, all the images and text files required for the user interface, a Kontakt instrument with all the samples pre-mapped, and the GUI script library used in the lesson that you can expand and incorporate into your own framework.

Lesson Plan:

1) Introduction

2) Frameworks
– Model, View, Controller (MVC)

3) Macros, Import, & Libraries
– Introduction to macros
– Importing code
– Libraries
– Name spacing

4) Mapping the samples

5) Writing the script part 1
– Tabbed interfaces

6) Writing the script part 2
– Mixer

7) Writing the script part 3
– EQ Panel
– Multidimensional Arrays
– Properties

8) Writing the script part 4
– Random round robin
– PGS Keys
– Distributing a finished instrument

9) Outro

System Requirements


2 reviews for Kontakt Scripting: Lesson 4

  1. elon59 (verified owner)

    If you are lost down a rabbit hole (like I was) with regards to Kontakt scripting and the sublime text ksp plugin by Nils Liberg. Then this lesson in 2023 is still very much valid. Great for those who know the basics but want to jump ahead quickly. Quick response from support also! Can’t go wrong here, Thank you!

  2. Chris (verified owner)

    Fantastic tutorials! As a musician with no previous coding experience, I was thrilled at how easily and comprehensively these skills were explained and exampled.

Only logged in customers who have purchased this product may leave a review.

You may also like…