-
Disallow_Group and release notes
Hello, very new to scripting. I'm having trouble getting the Disallow_Group command to work with release samples. To illustrate the problem, if I make a simple Kontakt instrument that contains only one group, and I run the following script: on note disallow_group($ALL_GROUPS) end on on release disallow_group($ALL_GROUPS)…
-
Is the performance view folder/file required?
I had only briefly tested Creator Tools, which began with the creation of an .nckp file. None of the Kontakt 5.x instruments I've developed previously included this file+folder, is it necessary?
-
K6 mismatched sample rates from same sample pool
Building out an instrument today, I noticed that one set of samples is playing ~1 semitone different than all the others. I've seen screwiness between Kontakt's sample rate and the system/DAW sample rate before (though my current issue is in standalone K6, not a DAW) but I've never seen *individual zones* playing back…
-
change_vol confusion
Hi, I was experimenting with change_vol and am a bit confused now. I guess my problem is that I don´t know what my events volume is to begin with? Is this parameter dependent on the velocity the event was played with?
-
Reloading duplicate samples efficiently, wait_async confusion
In my instrument, you can load up to 16 samples. The instrument itself can be in one of three sample modes ("time machine", sampler mode w/ reverse on, or "wavetable") set from a ui_menu. Because there's no way to change the sample mode from the script, I have to have 16 * 3 = 48 groups, each with it's own user zone and…
-
change_tune (KSP) question
I have problem with change_tune events - it works with some Kontakt instruments (for example it works perfectly with Mark I Rhodes) and doesn't work with another (for example Orchestral - Trombone). I did some investigation, and this function works with Trombone inside "on note" event, but doesn't work with "on controller"…
-
Odd behavior in copy made form K6 instrument
(I mistakenly posted this elsewhere before I noticed the scripting forum link...tho that post seems to have vanished) I had began creation of a new K6 instrument using Creator Tools which started with creating a performance view file. But I ended up going back to Sublime+KSP pretty much right away. The first instrument…
-
sharing variables between scripts in different instruments
Hello folks. Thank you in advance for any help you can give me. So I have written scripts between different instruments with in Kontakt 6. And I need some variables as they change in script A (let's say strings) to be changed as well in script B (let's say horns). I have read a lot about PGS, and I am using it in my…
-
Issues with Wave alphas
Can't seem to achieve full transparency on the background with this code, and can't seem to cause any change in the opacity of the waveform itself at all with this code. Am I doing something wrong? on init set_ui_height_px(290) make_perfview declare ui_slider opacity (0,255) declare ui_waveform $Waveform(6,6) attach_zone…
-
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…