Start a new topic

Useful script to unlock "push" dimension (aftertouch) in NI Kontakt

Most of Kontakt libraries uses modwheel (CC#1) to control changing dynamics of instrument (x-fade via layers of samples etc).

Here's a script for NI Kontakt that converts aftertouch (our "push" dimension) data into CC messages. I found it in audio-specialized forum:


on init

    declare const $CHANNEL_PRESSURE := 208

    declare const $CONTINUOUS_CONTROLLER := 176

    declare const $CC_NUMBER := 1

end on

 

on midi_in

    if ($MIDI_COMMAND = $CHANNEL_PRESSURE)

        set_midi($MIDI_CHANNEL, $CONTINUOUS_CONTROLLER, $CC_NUMBER, $MIDI_BYTE_1)

    end if

end on


Click on "KSP" button in the upper right of Kontakt window, click  "edit", paste this script and click "apply". Then you can save preset to use in future.


This ("declare const $CC_NUMBER := 1") lane shows CC destination of  aftertouch data, you can change CC number to any other.


I was surprised that in your video about using Kontact with Roli, the question of using aftertouch has remained a mystery. Here's the solution.


Push.jpg
(263 KB)

Thank you! 


1 person likes this

Thanks Kirill Yartsev!!!


1 person likes this

Nice, thank you :)

Login to post a comment