-
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…
-
Lower the Gain when I turn the Saturation up
Hi there can anyone help me with this? When I turn my Saturation Knob up, the Gain of the Saturation should be go down. What's the script for it 🤕
-
Setting sampleStart and sampleEnd in lua
Is it possible to set the sampleStart and sampleEnd of a zone in lua? I've tried every way I can think of and it doesn't seem to do anything. I looked in the Kontakt Lua Framework and I don't see it there either. It can be read, but I don't see where I can set it.
-
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…
-
$CC_NUM
Hello friends Is it possible to assign different values to the same cc number? That is to say... on controller If ($CC_NUM=3) "value 0" end if If ($CC_NUM=3) "value 1" end if If ($CC_NUM=3) "value 2" end if If ($CC_NUM=3) "value 3" end if end on I need to assign different functions depending on the value but I don't know…
-
Volume
Does anyone know how to program this volume?
-
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?
-
change fx command question about bypass state.
is it possible to recall the effect bypass state like control parameters when changing the effect type on a slot via a menu for example? i have tried the last days but when the effect changing it loads always as "active". I mean i have scripted a bypass switch and i d like to implement it when changing the effect.
-
Bug in Kontakt Factory Harmonize Multi Scripts
Both the 'Harmonise' and 'Harmonize - Tonal' Multi Scripts are issuing repeated note-offs on the actual played note. I suspect that 'ignore_midi' is missing from the $MIDI_COMMAND_NOTE_OFF call back.
-
Slices won’t loop using beat machine n Kontakt sampler.
Slices won’t loop using beat machine in Kontakt sampler
-
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
-
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? Thanks
-
From Script Modulator causes crash
Hi KSP wizards! I have some problems with kontakt crashing after a while when playing mpe via from script modulators. Kontakt just hangs itself especially when i play fast or lots of notes in a short time. I tested it with a Midifile; kind of bombing Kontakt with lots of events and it seemed to hang up after a certain…
-
update UI vs system resources
Hi, I'm planning to write a multi-script with a GUI. The GUI will have many UI controls (like knobs etc) which won't fit into one user interface. Therefore I will be arranging these controls into two separate groups / layouts which are displayed alternatively. The visibility of either group will be switched by an external…
-
Save last played note on a specific key
Hy, Is it possible that the last note that I played is "stored" on another key? For example: I press C3 and the note is saved on C2 (but sounding C3). When I press Bb4 it is also "stored" on C2 (sounding Bb4). I tried some codes I found but I can not get it to work. I hope you can help me. Thanks a lot Kind Regards Roman
-
Is there any way to "kill" a taskfunc instance?
Hi. Amateur ksp programmer here using SublimeKSP, and I have hit a roadblock in a piano script I am doing... In order to script re-pedal events (ie, rapid pedal press after release that "catches" a sustaining note and maintains it instead of fast decaying), I have scripted the normal release decay as a succession of 4 fast…
-
Scripting Mouse interaction and the XY Pad
Hi KSP’ers, I hope this post finds you happy, safe and very well. I have a KSP scripting issue with mouse interaction and the XY Pad: I have been able to get the XY cursors to play a sample with any of the multiple cursors when interacting with them with the mouse (on mouse-down, mouse-up and when dragging), but the…
-
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…