-
I got stuck with my first scripting project
Hi there...My name's Ezequiel, from Brazil...First of all, I wanna thank in advance for taking the time to help me with this... I tried to my limits to finish this without help, but unfortunately i got stuck with my first scripting project. To shorten my story, I've been using kontakt as my vst instrument for over 10…
-
on note not being executed in Maschine CP
I'm building an instrument that hides certain parts of the GUI in the on persistence_changed. When loading the instrument in Kontakt 6 or 7 it all works flawlessly. When loading a snapshot through Maschine CP in Kontakt 7, both the persistence_changed and the _pgs_changed callbacks are not executed. on note also doesn't do…
-
Check My CC Transform Script Please? I'm New
And by new, I mean I've been reading the forum and manual for about two hours haha Basically I just want a script to change incoming CC#0 to CC#35 on all channels and output byte 2 as it came on CC#0. Here's what I've got so far on midi_in if ($MIDI_COMMAND = $MIDI_COMMAND_CC and $MIDI_BYTE_1 = 0) set_midi…
-
textedit font problem?
Hello, I have realized that the color of the font shown in Kontakt does not correspond to the one selected in creator tools. I don't know if it's a problem or it's always been like this. version Kontakt 7.7.3 Creator Tools 1.5.2
-
Release Trigger + Hammer On Issue
Hi, I am having trouble figuring out how to script the On Release block for a Bass Guitar instrument... I want the following behaviour from 4 groups - Pluck, Hammer On, Pluck Release, Hammer On Release. If the hammer on code is active, the release trigger used for basic pluck notes should mute/not play when the note is…
-
Play Only customized Chords capability
Good morning, let me start by saying that I don't have much musical knowledge and would only need to play the chords of any virtual instrument present on Kontakt. I would like to be able to associate the chords (major, minor, sus etc..) to the keys on the Mac keyboard and therefore be able to play them. So far, the only…
-
Why isn't sin() function working in KSP?
I have $v := (sin(($v/10)-8)+1)/2in the script below. But the sin(x) function isn't working despite sin(x) being in the KSP manual. In fact, none of the trigonometric functions appear to be working, at least in a note on without some special activating code or something NOT described in the KSP manual. on init…
-
Press a button, play note and set_key_pressed
Hy, I tried to find out how it is possible to do the following: press a button, play a note and show the played note on the kontakt ui keyboard. But I had no luck. Thanks a lot for your help and ideas. on init declare ui_button $test declare $noteID declare $root_note :=60 set_key_pressed_support(0) end on function EE() if…
-
Registry Error
After installing Komplete Kontrol on iMac Intel, I get the error message 'Registry Error' when launching Komplete Kontrol. I have reinstalled Komplete Kontrol with Native Access but I get the same error.
-
UI Panels Max Limit?
Hi, I have hit a wall whilst coding a huge instrument using UI Panels. Can someone tell me if there is a limit on the number of UI Panels I can use within an instrument? As soon as I add an extra code block and UI Panel attached to that control, I get a code error which previously passed the Apply test. I've already used a…
-
Native UI .nki examples + Documentation => ideas
Hi =) I saw that the Native UI development is in closed-alpha/beta status. If I may suggest an idea: It would be really cool if there were many more, realistic, creative examples in the documentation. The most user and developer friendly approach would be to have concrete, testable, downloadable .nki examples as well.…
-
Repeated note polyphonic limit with change_vol() applied specifically.
For a series of same-note voices, I would like a script that does these things: on 1st note: do nothing. on 2nd note: change_vol of 1st to half of whichever is quieter of the 1st or 2nd. on 3rd note: change_vol of 2nd to half of whichever is quieter of the 2nd or 3rd. change_vol of the 1st to be half of whichever is…
-
Help Needed: Kontakt Scripting Challenge with PGS Commands
Hi guys, I've been exploring Kontakt scripting for a few weeks and trying out pgs. I found a tempo buttons script in a post in vi-control , placed it in slot 5, and set up my main script in slot 1. Everything works when I hit the buttons, but there's a snag. Pressing the first button runs through all three pgs commands on…
-
Kontakt: Sync drum loops to tempo withOUT retaining pitch
Hi folks, Everyone talks about retaining the original pitch of a loop while syncing to a new tempo, but I'd like to know if it's possible to sync a loop to a new tempo and without retaining the pitch? For example if I want to make some drum n bass beats by increasing the speed of a drum loop so that it is fast AND high…
-
"on note" callback not executed if gap after release is too small
Hi there! I am trying to write a legato script in Kontakt 5 script processor. It has some functionalities like: - if there is a note overlap, naturally a legato sample is played back. -1 seconds after a legato transition, if the note is held, the legato sample blends into a "start" sample, in case legato samples are not…
-
Menu Sizes and Text alignment
Hey guys, Sorry, couldn't find this anywhere. I really wish we still had the old forum. Where can we find the actual size of the regular buttons, menus and other UI elements from Kontakt? Another issue that i'm having is whenever I create a custom Menu image, for example, and tell Kontakt to centre the text, the text ends…
-
ALL SLIDERS ARE RESETED WHEN I CHANGE PAGES
Hi there, I created a ui_panel for LFO and MOD on my first page. LFO is what you see by default. If I switch to the second page and have previously activated the mod section and go back to page 1, the function names of the mod section remains but the ui_sliders of the LFO section are shown to me. How can I script it that…
-
How to get Convolution Preset wav to Project Folder?
I am working on making a sample instrument in Kontakt 5, and I have a preset for the Convolution reverb that I am using. When I save my instrument as a new .nki file, with samples, the location of the source convolution wav file remains where the preset is stored. The only way I have found to get the files to be in the…
-
Set sustain level in dB from script
Is there a way to set the decibel value of the sustain portion of an envelope in script? I would like a specific dB value but the units for setting it in script don't relate to dB at all. I've tried using Koala library with Bob's math conversion functions, and they work for the times (attack, decay, etc) but the volume…
-
Using Script on Factory Library 2 Instrument
Hi all, I searched over the forum for this argument but i didn't find it. I just bought Komplete 14 Standard and downloaded the FL2 Using Kontakt 7 stand-alone or opening with Camelot Pro I cannot assign a script on a instrument, because i don't find this option on instrument panel I see the Ksp button on the right of the…