-
More than 16 custom event parameters
Currently, you can have only up to 16 values stored with $EVENT_PAR_CUSTOM. Unfortunately, my program is really complicated and needs probably double that for most events. I need the parameters so that I can communicate a lot of information between the NCB and the LCB (a lot of weird per-voice modulation stuff). I'm…
-
KSP bug, ui_table precision lost
Run this code: on init declare ui_table %table[4] (1, 1, 7200) %table[2] := 1908 message(%table[2]) end on on ui_control (%table) message(%table[2]) end on When the script loads, the third column will be set to 1908 and be printed out. Now set any column except the third column to something else with your mouse. The third…
-
MIDI Map Menu - No duplicate entries.
Hey all! I have a nut I've been trying to crack all day. I have a panel with 24 menus so that a user can assign MIDI notes to drum articulations. It's all functioning beautifully except for one thing: I'd like to make it so that there are no duplicate entries. IE: If the Snare is set to MIDI Note 38 (D1), and someone tries…
-
"Multiscript" Kontakt 6 for switching instruments in the "instrument bank" on midi controller.
Please tell me multiscript Kontakt 6 for switching instruments in the "instrument bank" on my midi controller (midi commander - meloaudio). All my instruments are on midi channel "A": 1,2,3,4,5,6,7,8 channels. Multiscript should disable all other instruments (midi channels) when switching to the next instrument, and the…
-
KSP feature request, special play_note() option
I'm not sure if there's a dedicated space for feature requests, so I'm just putting this here. The play_note() function takes a microsecond duration parameter so the note knows how long to hold. Setting this to 0 makes the entire sample play, and setting it to -1 will play the sample indefinitely until the key that…
-
How to make visible the name of the pasted tune scale in preset menu?
Hi, I modified the script, so it is possible to store Key position in Preset and show the name of the chosen tuning scale. But the name of tune scale doesn't show after copy-paste procedure. I tried different ways, my attempts were in vain. How to make visible the name of the pasted tune scale in preset menu?…
-
MD Array syntax in sublime
What is the syntax for a multi dimensional array in Sublime text? Are there any examples of this in use anywhere?
-
Disable Sustain on Certain Groups Only?
I have Kontakt instrument with multiple groups. I want to disable to Sustain on just a small number of groups. Can anyone point me in a direction in terms of scripting to do this?
-
Most optimal way of managing panels with repeat controls?
I'm working on a project that has tabs in the GUI that flip between different tables. On each tab is a table, along with a bunch of controls of various ui types. Each tab is the exact same with everything in the exact same position -- just different iterations of the controls. There are roughly 50 ui elements on each tab…
-
Custom Instrument / Interface
Hi folks.. is there some way to create a custom interface for a 3rd party kontakt instrument? E.g., specifically, I'm referring to Virtual Drum Line from Tapspace. I'd prefer to make a on-screen UI that helps me know what note plays what instrument in a visual way, rather than a 'keyboard view'. Even the instrument itself…
-
while NOTE_HELD puzzle
I'd like to run a loop while a note is held. The loop has a play_note in it fed by a buffer generated on_note if I call my loop inside on_note, the play_note loop instances for each note held, <-bad instead of just one continuous loop while any amount of notes held. (which i want) I can't set a var to be 1 on_note and 0…
-
Key Switches for 20 Groups
I have set up keyswitches and UI Buttons for different groups and they work great as most of my instruments only have a few groups to switch from. However I have a few patches that have about 20 groups and the way I have it scripted, it would be a huge task to replicate it for 20 groups. Just wondering if there is a better…
-
Unable to double-click on BPM in Wave Editor to manually key-in the value
Hi, I have an .nki which I've been working on for a few months. I can click and drag to change the value of zone's BPM, but when I double-click to attempt to manually key-in the value, nothing happens. If I create a new instrument from scratch, there is no issue with this at all. I am using the latest version of…
-
Randomize Button and Big "Macro" Knob Conflicting
Hi, I appreciate any help on this ! So I've been trying to figure out an issue i've run into recently with trying to get my big macro knob that controls multiple parameters to play nice with my random button which randomizes the same parameters in a given value range. I have both the big macro knob and the randomize button…
-
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
-
Play_Note Keeps Retrigging on All PGS Callbacks
Hi, So recently I've been running into a weird issue that i'm having trouble solving. I have been trying to create a noise texture menu that will play a looping texture (vinyl noise, rain, forest sounds. etc.) when selected from a dropdown menu. This will loop in the background of the kontakt instrument while you play and…
-
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
-
Don't work on latest Kontakt
Hi, I had an old code which changed the label picture when the slider is moving. However this used to work on the older versions of kontakt but NOT in the latest kontakt version. on init make_perfview set_ui_height_px(130) declare ui_label $label(3, 1) declare ui_slider $Cutoff(0, 6) set_text($label,"World")…