-
Menu Entry based changes in note and velocity value for specific key ranges
Hi! I am a beginner in kontakt scripting and hope somebody can help me with my problem. Based on a menu entry I would like to play with the keys of the octave 24-35 the notes of octave 12-23 and only one velocity layer chosen by a menu entry value. I achieved the note and velocity changes with the following code. But when…
-
KSP scripting: how to set a velocity value to get a visual feedback on a custom knob
Hi, I'm a KSP newbie and probably I'm doing something really stupid... I'm using Kontakt 5.8 engine, full version, trying to develope a simple instrument. Every time I play a note (on note event) I'd like to have a custom knob that can visually display the current velocity value in order to give the user a visual feedback…
-
XY Pad Reciprocity with ui sliders
Hi KSP Scripters, I hope you are happy and well :) I have a question about the XY Pad. I have tried for days to solve, trawling thru the manual and forums, experimenting with real_to_int and int_to_real but cannot solve my quest. The Quest: I have an XY Pad assigned to various parameters such as Filter Cutoff and Replika…
-
Modulating volume of groups programmatically
My intended design is to seamlessly crossfade between three groups using the Mod Wheel. Group 1 is at full volume when CC01 = 0. Then as CC01 increases, the volume of Group 1 decreases and Group 2 increases and so on. Is there an established method of accomplishing this? This is should work by my estimation (which…
-
Snapshot not loading saved main level out settings
I am building an instrument using ui_sliders. There are over 50 of them and they all recall correctly when saved in snapshots except for one which is assigned to the main level out in the top right area of the Kontakt instrument ( which also has its own slider). The problem I'm having is that it only updates when I click…
-
In KSP multiscript, “stop_wait” stops working— and $NI_CALLBACK_ID returns a negative number
I wrote a KSP multiscript for Kontakt which uses stop_wait to cut short the wait times I've applied to other events. For the most part, the script works as I want it to. But every now and then, out of the blue, it stops working. (It ceases to stop the wait of the other events.) I was debugging it and noticed that while the…
-
Scripting LFO frequency and delay
I'm using Kontakt 5. Please see attached code. Functions reset_attack and reset_lfo_intensity work fine, but reset_lfo_freq and reset_lfo_delay have no effect. What am I doing wrong?
-
Deprecated Command for ADSR Control, alternative?
Hello, it's my first post here so be easy on me 😅 With the introduction of Kontakt 7, the find_mod() command has been deprecated, replacing it with get_mod_idx(). I'm sure I am doing this correctly (according to Kontakt 6 standards), but maybe I have something wrong. on ui_control( $ADSRView_attack ) set_engine_par(…
-
KSP Script Comment Line
If it's available, I can't find it. Currently using Kontakt 6.7.1 How do you insert a comment line in KSP? (something that the compiler will strip/ignore) I'm currently assigning the comment to a string variable, but that seems inefficient as the variable will get updated with each and every callback use
-
Hi do I map my edrum kit's hi hats in Abbey Road?
Man this is frustrating. Plugins like GGD are easy to map, but this right click-learn CC thing isn't working for me. I've tried choosing the command, then select by midi, then opening the pedal, and all different order of operations to try this. It's been a few very frustrating hours of trying to get this to work. I'm…
-
Can I automate/modulate the Delay BBD TYPE with the LFO?
Hi there, I'm new in this whole scripting world and I would like to know If I could automate/modulate the Delay BBD TYPE with the LFO? What I'm looking for is that for example the LFO Rate changes the Time of the Replika Delay. Like when the LFO modulates the PAN it goes Left and Right or Bipolar. I want a Button where I…
-
assigning automation to group selector in Kontakt
I am very new to Kontakt... I want to create an instrument for use on the Maschine Plus in standalone mode. I have different samples in seperate groups. And want to select them with a knob on the hardware. As far as I understand I have to assign the automation to the Group Selector. I found a script called Group Selector…
-
Scripted change of ring mod wave shape issue
i loaded a ring mod in slot 0 of bus 0 in the inst buss and gave this code below. I tried with and without a wait_async command. Hitting the button resulted in update to a square wave with the internal panel showing ***. but that was the only result no matter what button position. Am I doing this incorrectly? on init…
-
"hidden gem" tips for KSP?
Hello, I'm looking for tips you found, almost by accident in random forum answers, or quirks of Kontakt (KSP) everyone should be aware of in your opinion. Those 'life-saver' tips - anything. I'm all ears, thanks in advance!
-
Change a knob to a slider in Kontakt scripting preset
Hello guys, I am using the "Unisono - Portamento" script preset from Kontakt in one of my instruments. All parameters are knobs. But I want to change the "Time" knob in the portamento section to a slider, so I can apply my own knob design to it. Can someone help me to do this? Thank you!