Scripting Workshop
Discussion List
-
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…
-
How to make the initial picture frame state of a custom slider/button match its PAR_DEFAULT_VALUE?
All of my custom sliders and buttons function correctly, but they all seem to visually default to their first frame of animation. I have to ctrl+click on the control, or otherwise manipulate it, for it to display correctly. From there on out, the controls will always be visually correct. Thanks :)
-
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 :-)
-
scripting independent-count Round-Robins for all 128 notes?
Hi, I need help properly scripting independent round robins on a multi-mic instrument. (Guitar) I have 2 mics, 5 Velocity layers and Two RR per note. I've set this up in 4 groups. 1 - Mic A RR1 2 - Mic B RR1 3 - Mic A RR2 4 - Mic B RR2 I don't know how to tell kontakt to play each note on an independent RR count. Group 0…
-
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)…
-
How to work with zone commands
on the KSP reference pdf, I found section 15. Zone Commands It sounds like there is something that called "user zones". I don't know how to use set_zone_par() I'll explain what i'm trying to achieve, I want to take voices/samples and change their velocity properties on the fly. any idea?
-
Scripting a delay based on DAW tempo?
Is it possible for one to create a script that plays samples in the "on note" section of a script at a delay which is based on the tempo of the project in the user's DAW. Thus, when the user hits a note, that note is played by a certain sample and can other samples be played at perhaps a quarter note delay or an eighth…
-
Disable set of key switches with menu
Hi Guys, I am trying to have a menu that allows the user to move between a 'simple' and 'advanced' key switch system. The problem is that when I select advanced even though the red 'simple' key switch notes disappear and the magenta 'advanced' ones appear, the blacked out key switch 'simple' notes still work when the…
-
Using menu to change key switch sets
I have asked about this before but I am trying something a little different now and am stuck. I have tried to adapt the code from the Kontakt factory library so I can have two different sets of key switches (a 'simple' set and an 'advanced' set). The idea is that there is a menu with a dropdown for each set and when one is…
-
ignore_event still triggers a voice?
Hi. I got a counter variable in my code that is supposed to be increased in the on note callback and decreased in the on release callback. In the on note callback I also use ignore_event($EVENT_ID) and then follow this up with my own play_note(...) function. When I play a note it does counts up by 1. When I release a note…
-
make_instr_persistent for function/group select
Assuming I have a callback for switches selecting a sample group. If I was to switch samples/groups how do I keep this persistent if the script is reset (panic reset)? Below is a snippet of what I am doing (as an example) function callback set_control_par(%ID[$original],$CONTROL_PAR_VALUE,0)…
-
Unisono Portamento Script - PGS Script for Time Control
Hi, I am struggling with the PGS scripting for the Portamento Combi Knob (Time). Can anyone help please? I have tried to follow the instructions from previous posts but keep running into script errors. I simply want a knob in script slot 1 to control the Portamento Time knob in script slot 4. The script below is where I…
-
Keeping keyboard colours the same when resetting Kontakt
Hey all, Currently I have two buttons that colour different key ranges when selected. Looking at the code below, when I press button1 and then the reset '!' in Kontakt I want the current button key range to stay the same and not revert back to what I have written for the initialization section, how can I make the key…
-
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,…
-
[BUG] has "tick" noise when use time-machine and play quarters
reproduce: create new instrument map source_120_loop_.aif to c2 go to "source" panel and change from "BFD" to "time-machine pro". and speed to "zone" on the "modulation" panel I reduce the "release" to 0ms add this script: on note ignore_event($EVENT_ID) play_note($EVENT_NOTE, 127, $DURATION_QUARTER * ($EVENT_VELOCITY -…
Categories
- 12.4K All Categories
- 21 Welcome
- 566 Hangout
- 69 NI News
- 273 Tech Talks
- 1.3K Native Access
- 5.8K Komplete
- 763 Komplete General
- 1.4K Komplete Kontrol
- 2.1K Kontakt
- 568 Reaktor
- 186 Battery 4
- 316 Guitar Rig & FX
- 222 Massive X & Synths
- 280 Other Software & Hardware
- 2.6K Maschine
- 24 Sampling Room
- 3.1K Traktor
- 2.9K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators
Popular Tags
- Traktor Pro 3 1,058
- Kontakt 6 967
- Maschine 2 SW 671
- Native Access 589
- Maschine MK3 580
- Maschine Plus 557
- Komplete Kontrol SW 497
- Kontakt 7 438
- Feature Request 393
- Reaktor 6 284
- Native Access 2 235
- Bug 222
- Mac 217
- Traktor 213
- Maschine 212
- Guitar Rig 6 210
- Komplete 210
- S4 MK3 208
- Logic Pro 203
- Ableton 201
- Komplete Kontrol Keyboards 182
- Kontakt 166
- Battery 4 166
- Windows 162
- Apple Silicon 160