-
Need KSP Help: Small adjustments for a keyswitch note fade out/mute script for Kontakt
There are two adjustments I've been looking to make to a keyswitch note fadeout script that I've been working on for an instrument.: - I'd like for the keyswitch to ignore any notes that I still have my fingers held down on, and to only fade out/mute the notes that I've taken my fingers off of. - I'd like for the keyswitch…
-
Kontakt Custom UIs not Displaying in Kontakt 6.7?
Our company has been making Kontakt instruments for almost 15 years. Suddenly we are getting reports of the UIs not loading in Kontakt 6.7. Does anybody know of anything that might have changed? We can't reproduce the issue on our end. We are using the resource container method: on init make_perfview set_ui_height_px(199)…
-
Pre-amp gain knob for gain staging?
I have a chain of per-voice pre-amp group FX, some of which need gain staging (e.g., Lo-Fi). Is there any way to do this in a continuous way that doesn't use noteably more CPU? I can set the zone volume (which doesn't get applied continuously), the engine volume knob, the $EVENT_PAR_VOLUME, but none of these are applied…
-
Show values on S88 mk 2
Hey guys, When I make an instrument with custom knobs(sliders) I cant get my S88 mk2 to display the parameter changes above the knobs (see pictures), but when I use standard knobs everything works fine .. I guess I'm forgetting something in the script, but I can't figure out what ..?? Peace :-)
-
Modstrip value change on switch press
Hi There, i have a problem on my modswitch script. I want a switch to switch 2 Modstrips, between 2 Modstrip states. But it only works in one way. The "else" statment did not work but why? the functions in there are only for showing and hiding other switches. Thx for your help on ui_control($ModSwitch) if ($ModSwitch = 1)…
-
Update the playhead positions of multiple ui_waveform elements
I have an instrument with multiple waveform UI elements. I can update the playhead position of a single waveform element using the code seen in the reference manual: on note while ($NOTE_HELD = 1) $playPos := get_event_par($EVENT_ID, $EVENT_PAR_PLAY_POS) set_ui_wf_property($layer1RiseWf, $UI_WF_PROP_PLAY_CURSOR, 0,…
-
Is there a limit of 999 sliders?
I have been trying to troubleshoot why I get an unexpected 'control X was not declared or variable is no control' error, and I wonder if I haven't found the culprit. The issue seems to resolve itself when I reduce the number of sliders in my script to 999 or fewer. That is a nice, round number, so I'm thinking I found my…
-
Change play position in the middle of a note (custom looping)
I'm implementing a custom looping mechanic where the user can drag start/end loop cursors over a waveform. Changing the engine's loop points with the following code is kind of slow, so calling it every time the user drags one of the cursors causes the cursors to move very slowly:…
-
How to make script to play multiple samples at certain percentage
How can I use a script to allow multiple samples to be played from different groups, while allowing the user to determine the percentage, or gain, of each sample being played? So, for example, a knob will expose values between 0 and 100 and allow the user to select a value. This value will be used to determine the amount…
-
Reaktor Blocks SVF self-resonance?
Hello! The Blocks reference guide says that the SVF in Blocks can self-resonate with the resonance turned up. I haven't been able to make this happen, where SVF functions on its own to create a pitch. I am familiar with this technique in the modular world to make sine waves, kick drums, etc. SVF only works for me with an…
-
Custom labels
Hi all, I'm creating a new instrument and have finally got my new slider/knob appearing and functioning. Unfortunately the values that come with the native Kontakt display disappear once you replace it with a custom .PNG. I figured out how to create a ui_label or add_text_line but the Kontakt labels and text just look so…
-
What to put in empty if statement?
The short story is I need to allow an if statement to be empty. Since SublimeKSP gives me an error when an if statement is empty, I need to put something in there to satisfy it. I could declare a dummy variable and write to it, but I don't want to declare anything extraneous like that. What is a good fast, low memory…
-
Image format for get_font_id(<file_name>)
Does someone have an example of what the format of an image is supposed to be for use with get_font_id(<file_name>)? My text shows up as thin vertical slices of random characters instead of the characters I type. I assume it's a problem with my .png image and/or the .txt file that accompanies the image. Here's what I did:…
-
Best Way To Reset Labels?
Hey there everyone, I'm looking into ways to have labels display values within a ui_control callback and then reset to their original label. For example, "Freq". So far, all I've been able to come up with is using a for loop to create a timer, of sorts, that resets the text after the UI control has been set for a short…
-
on persistence_changed, select button
Hi everybody! I'm looking to select a button by default. I'd been using an "on persistence_changed" then "play_note" to trigger a keyswitch on persistence_changed play_note (0,127,0,0) end on But as EvilDragon pointed out, this play_note interferes with the ks_list. And I'd much rather select a button on default, something…