-
attach_level_meter outside on init
code gets accepted using attach_level_meter in a control callback but doesn't seem to work. Is there are trick to make it work? or does it only work on init?
-
$NI_FLAIR_MODE_SCAN
Hi, in Flair {$NI_FLAIR_MODE_SCAN} I can't seem to articulate the support of the three waveforms by the scan mode. Does anyone have an idea? Manage one menu by another menu. Thanks
-
Random Round Robins for Multiple Mics
Hi Guys, I've been working on my first VST, and I came across a problem I'm unsure how to solve. Hopefully, someone here could assist me. I recorded an instrument with three sets of mics and would like to have each group separately on the plugin. So far, so good, but I'd be happy to use the cycle random option for it to…
-
Saving Slider Positions
Hi Guys, I am trying to rework this script: on init declare %save[3] {number of mic signals} declare $sync_id declare ui_slider $Slider1 (0,100000) declare ui_slider $Slider2 (0,100000) declare ui_slider $Slider3 (0,100000) declare ui_menu $Menu declare $tmp declare const $GFX := -1 declare const $GROUP := 0…
-
Multiple Load/Save Buttons
Hi all, I am working on a project that requires multiple (separate) load/save buttons for different controls on a GUI. So far I have worked this out: on init declare $count declare ui_button $Load declare ui_button $Savea declare %preset[2] declare const $MAIN_PAGE := 2 declare %main_view_id[$MAIN_PAGE] declare…
-
Choking previous sample played when same MIDI note is struck again.
I'm working on a drum instrument, and I've been driving myself crazy trying to implement this functionality. Say I have a set of random round-robins for Tom 1 in one group tied to a MIDI note, in this case 42. This is working perfectly, however, I would like to choke the previous Tom 1 sample played when MIDI note 42 is…
-
Controlling a menu from another menu?
I am working on a drum instrument, and I have multiple kit piece options for each part of the drum kit (i.e. 4 kicks, 4 snares, 4 sets of toms, etc). I have menus to select the pieces working quite nicely, but I'd also like to have another menu so that I can have a few kit presets to flip through. Is there a way to create…
-
GUI is sluggish, too many elements?
(Sorry for spamming lately, got a lot of questions...) I have a script with roughly 600 ui elements; about 250 elements are visible at any given time. I think because of the sheer quantity of elements, the GUI takes a lot longer to refresh than a script with few elements. The issue is not a bulky listener. This issue…
-
Changing snapshots doesn't change zones -- how to make zones persistent?
My script has an area to drop an audio file into a waveform. But when I save snapshots and switch between them, whatever the last dropped audio file was remains. I know it's not just a graphical issue with the waveform because when I play MIDI I still hear the same sample as well. How do I make my zones persistent? I think…
-
EVENT_PAR_ZONE_ID in a listener sequence
I'd like to collect the zone ids for my played sequence running in the listener (in a retro machines style sequencer.) what works on note doesn't seem to in the listener this is my code just before playing the note in the sequencer. blip := play_note(played_note,1,0,1) change_vol(blip, -1000000, 0) wait (1) zoneid :=…
-
Speed knob scaling formula?
https://vi-control.net/community/threads/what-is-the-formula-for-this.3978/ https://www.native-instruments.com/forum/threads/calling-nicki-marinic-or-other-scripters-good-at-math.37073/#post-233780 These are the only real discussions I could find on this topic, and they're from 2006. Basically I need the percent value…
-
Duplicate objects ?
Hello, Is it possible to declare objects in a dynamic variable and duplicate them in a while ? I would like to create an instrument with 16 pads.Each of these pads would consist of several identical objects (button, menu, slider, label, etc.). I was thinking of using the panels as the parent of each pad, but how can I…
-
Welcome back to your "Scripting Workshop" area
Hey everybody, This is the place to talk about all aspects of the Kontakt Script Processor (KSP). We made sure to keep the more advanced area for both Kontakt and Reaktor available in our new community. We will do our best to compile some of the discussions you already had in our original forum. Feel free to join…