-
Can ADSR Knobs Automatically Change Per Group?
I have a set of basic ASDR knobs, and some key switches and ui buttons that change which group is being played. Everything works fine however, the ADSR values will just display for group 1. If I hit a keyswitch or button to only allow group two, the ADSR values don't change. Is there a way for them to automatically change…
-
Hidden UI elements show on instrument reload - Kontakt bug?
Hi guys, I'm seeing a strange bug in which the hidden UI elements of my instrument are all displayed whenever the "!" engine restart button is pressed, or when the instrument is dragged and dropped in. The elements re-hide again once the GUI is refreshed, either by pressing the single-instrument view button, or by clicking…
-
How do you make a key trigger subsequently play a specific note?
I'm not the best with KSP, so I'm wondering how to script a key trigger that, when pressed and held, plays a specific note on the keyboard, without having to play the note itself on the keyboard. I'm looking for this to account for the note on and note off information and while the note is held. I know this may sound…
-
button HIDE_PART_BG
seems you can't HIDE_PART_BG for a button/switch , but with all these cool constants for button states now PRESSED HOVER etc, I guess the best solution is an invisible button pic
-
How to script ENGINE_PAR_ for instrument Main FX
Hello i try to code a engine_par for Makeup SComp in Main FX slot 1 but it don't work on ui_control($SComp) set_engine_par($ENGINE_PAR_SCOMP_MAKEUP,$SComp,-1,0,-1) end on
-
ERROR: Instrument Groups Not Properly Configured
Hi all, I'm making a virtual instrument and it works without any problems, BUT, every time I drag the instrument into Kontakt 6.0.3, the error message "ERROR: Instrument Groups Not Properly Configured" starts flashing in the bottom left corner of Kontakt. As I mentioned, everything works, and the error message stops…
-
stuck on on note
Hi everybody, I'm working on a script and I'm kinda stuck on the range of notes played. on init declare %CMaj[29] := (48,50,52,53,55,57,59,60,62,64,65,67,69,71,72,74,76,77,79,81,83,84,86,88,89,91,93,95,96) declare $key_count on note if($EVENT_NOTE = 36) while ($NOTE_HELD=1) play_note(%CMaj[random(0, 28)]+$key_count,…
-
How to make different groups respond differently to CC64?
Hello, This is a problem I haven't worked out the solution for. I have group 0 and group 1. I want group 0 to not be controlled by CC64 (not by default), while group 1 to be controlled by CC64 (just as default). I thought of 2 different ways: Only bypass group 0's response to CC64 using 'SET_CONDITION…
-
Link menu items to array
Hi everybody, I am a newbie on ksp scripting so forgive me if I ask dumb questions. I am working on a kontakt project right now, but I am kinda stuck. I am planning to make a sort of randomizer with musical keys. So my purpose is that when the randomizer is on and a certain key is chosen, only the notes inside that key…
-
Unable to move or add pictures to UI slider
Hello all, Please can you help with a KSP issue I am having. I have declared a ui_slider and I am unable to move it or add a photo to it on the script. No errors are coming up on the KSP Script when applying in Kontakt. declare ui_slider $Rate_knob (0,100) { set_text ($Rate_knob,"Rate")} make_persistent ($Rate_knob)…
-
childpanel with filmstrip crash
Hey there, Kontakt (6.1.1) crashes when stacking a panel that contains an ui element with attached filmstrip into another panel. So nesting panels does not work. is this fixed with last update or am I doing something wrong? ✌️ on init make_perfview message( "" ) declare ui_label $demolabel( 1, 1 ) set_control_par_str(…
-
Question On Custom Release Sampling
Hello! I am currently working on a piano instrument and am trying to work out how to script the release samples to work in the way I want them to. Basically - I want the release samples to play all the time, regardless of whether the sustain pedal is down, but also bypass the current bug with Kontakt's release triggers…
-
KSP Crossfade between 10 groups
Good afternoon everyone, I have been trying to do this for a week and I have not achieved it after searching in the old forum so I come here for help. I have recorded samples from an analogic synth, and I have built a Kontakt instrument with 10 groups, each one for a different waveform of the synth that I have recorded.…
-
Memory exhausted, transition to SublimeKSP
I've been working on a big project and I just ran into the "memory exhausted" issue, so (instead of stooping to 1=1) I'm condensing the ICB by making one big control param array, which I should have done from the beginning. In order for me to understand what refers to what, I need to put a comment at the end of every row…
-
Kontakt Scripting - Unlimited Play_note via while script?
UPDATE: I find out, the problem was in the last argument in play_note() Hello, Sound stops if 8191 < Note event used How is possible trigger more play_note() continuously just via scripts? ... ignore_event($EVENT_ID) while($NOTE_HELD = 1) ...