-
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…
-
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…