-
Figma to Kontakt is out! A Tool to help UI design and implementation
Figma to Kontakt generates UI implementation code and helps creating buttons and fader animations. FOR FREE! 1) go to https://figmatokontakt.com/ 2) sign up for an account 3) install the plugin: https://www.figma.com/community/plugin/1171114784600697919/figma-to-kontakt 4) add the Figma to Kontakt starter…
-
HOW TO PASTE CODE ON THIS FORUM
When discussing about code, you might want to paste some code in. Here's how to get it formatted nicely. First, paste your code as regular text Then, select the whole code you have just pasted On the side, there will be a paragraph symbol (¶), click it Then press the quotation button, then select Code Block option Voila!…
-
HOW TO: APPROACHING MODULATION IN KSP
I see people are still struggling with this, after all this time. So I thought I could explain this to everyone once and for all, since it's quite an important thing when doing a custom scripted instrument. First, let's break things down. Kontakt has two types of modulators - internal and external. Internal are: LFO,…
-
KSP DEVELOPER TOOLS AND MUST-HAVES
Over on the VI-control forum, user Flaneurette compiled pretty much everything Big Bob had on his website. This includes the - evidently CRUCIAL - math library without which your beautiful custom labels and amazing voicing controls aren't going to be doing much of anything.…
-
Modify script "Notes per octave"?
Hi, I hope I'm in the right place for my question, which is: The script "Notes per octave", found among the presets of the script editor, has worked well for me, but now I would need to be able to automate the "Notes per octave" field's value by mIdi cc message. The value range in the original script is 1-1200 As I'm not…
-
Utility to auto add Kontakt zones in varying order?
Is there a way to add sample files to empty Kontakt groups using a script or other utility to convert an array of text filenames to Kontakt Groups and Zones? I need to add 9000 sample file/zones to 200 Kontakt Groups spread across multiple instruments for a multi-instrument guitar. It used to be possible to edit the old…
-
Kontakt Script to change Instrument and keyrange with modulation
This is an interesting problem. I need a script to change Kontakt Instruments depending on keyrange, and the keyrange will dynamically change with modulation CC#1. This is to select which notes along a guitar fretboard are to be played according to fret positions 0 through 17 assigned by mod wheel. One monophonic…
-
Kontakt Script to play_note() with keyswitch
I need a script to retrigger a held note when a keyswitch is depressed to change the group. I'm surprised this isn't a standard function to allow changing articulations with sustained notes, unless it's been added since Kontakt 5. The application is for guitar glissandos along a single string. The glissando samples are in…
-
LUA script: Global table 'Kontakt' is empty (nil value)
1st attempt to work with Visual Studio and Kontakt LUA scripts. I managed to launch Kontakt 8 from VS Run Task(*) and then I run the first lua script from the LUA API tutorial. As you can see in the screenshot below, the 'Hello World" command is printed. Yet, the Kontakt global object is empty. This means that API falied…
-
Any way to return whether a group is actively playing a sample?
I'd like my UI to indicate actively playing groups, similar to how the Group Editor illuminates the groups in orange which are playing samples. My first thought might be to store eventIDs along with the associated group number in an array and then somehow check when those no longer match up. Any ideas or something simple…
-
Can I export sample loop & release metadata from kontakt 8?
I am sampling a pipe organ and making a VST instrument. I like Kontakt and I would prefer to do it with it. The thing is, I have the chance to give it to a music museum in Barcelona. They have their own sampler there and I need to send them the samples with its loop and release metadata, so we can port it to their…
-
kontakt 7 sysex
HI. there is no midi CC to advance patches in kontakt using the < > arrows. Is there a sysex command? Thanks.
-
KSP script to stop Open Hi-Hat when Closed HH midi note comes in
Hi! Please help to make the code that stops midi note that triggers open hh sound when closed hh midi note comes in. My library works with bunch of round robbing groups, so the code must operate with midi notes and not the "exclusive group" feature that possibly could mute open hihats. ChatGPT didn't help me… Open HH midi…
-
Scripting Drum Outputs in Kontakt, while keeping GUI functions.
Hey everyone, this is my second post here, as I accidentally answered my first post about this topic, which seems to have not made post appear any further within new discussion boards. I'm trying to create a drum plugin, based on some sample I have recorded for a uni project. This is my first time ever scripting anything,…
-
Keyswitches
Hey, I'm new in Kontakt programming. Can anyone help me how to make red piano keys to stay pressed on when switching between different groups and how to display their names on the main graphic UI?
-
How do I script outputs for the kontakt sampler?
I'm designing a sample based plugin within Kontakt for a uni project. So far I've coded basic volume sliders, bypass buttons, and effects knobs. As my sample based instrument are drums, I want to have a drop down menu section for each element of the kit, which has options for routing within kontakt, to then go to whatever…
-
Play different groups with Midi Notes
Hy, I tried to figure out how to play different groups when playing different Midi Notes. For example: playing Midi Note 24 plays only Group 0, playing Midi Note 25 plays only Group 1 and so on…. There is a factory preset Group Selection and I tried to modify it but had no luck. Can you help me please? Thanks a lot
-
Kontakt Script - How to control Time knob on Unisono Portamento script
Hey there, I need help controlling the TIME knob on the Unisono Portamento script. My UI script is on slot 5 and the Portamento script is on slot 1. I am able to move the TIME knob using a ui_knob that I've made, but no change is happening. Here's my code so far. UI (slot 5): declare ui_knob $porta_combi_knob (0, 127, 1)…
-
Kontakt - How to loop a sample accross the key range without the sample speeding up or slowing down?
Kontakt - I'm sure this question has come up many times and various answers given too! How do you loop a sample accross the key range without the sample speeding up or slowing down as you play up or down the octave ranges? So I have a 6 sec sample created in my DAW at 120bpm on C3 (Middle C) and bounced down to audio. Then…
-
$CONTROL_PAR_SHORT_NAME
Hi _ I understand the principle of KSP but not at all the purpose of this part of KSP code: what is the point of naming a widget with a simple name (knob, menu, slider, etc.) ? What do we do next with this notion of SHORT_NAME ?
-
Redirect Output ?
Can we use a switch and the "redirect_output" code option to switch the output of a BUS from the "Bypass Insert FX" position to the third OUT 1 position ?
-
Question About Button Size in Kontakt
Subject: Question About Button Size in Kontakt Hi everyone, I have a question regarding a specific button (circled in red). Could anyone tell me where this button is located and how I can adjust its size? In the GUI, there's an image layer above it, causing the image to change on mouse hover. Is this button a built-in part…
-
Invalid $KSP_TIMER?
When I use this code (in a multiscript): on midi_in if ($MIDI_COMMAND=$MIDI_COMMAND_NOTE_ON) reset_ksp_timer $count := 1 while ($count<12) wait(10000) add_text_line($back,$count*10 & " " & ($KSP_TIMER/1000)) inc($count) end while end if end on I get: 10 0 20 39 30 39 40 39 50 39 60 79 70 79 80 79 90 79 100 119 110 119…
-
Monospaced font for multi-scripts?
Is there a way of using a monospaced font, at least for numerals, in a multiscript? There doesn't seem to be one available with $CONTROL_PAR_FONT_TYPE.