ksp

  1. d.healey

    My KSP libraries, now on github

    Hi, I've been meaning to do this for a couple of years and I finally got around to it this evening. I've published my main KSP libraries to github I can't guarantee they all work as it's been quite a while since I last updated them but hopefully some of you will get something useful from them...
  2. K

    Release trigger counter based on key position (sample length)

    I got an instrument that has release samples. The groups have key ranges from C0 or below up to C5. The lengths of the samples are also very different, from 40s at C0 to 10s at C5. When release trigger counter is used to control the release sample volume over time (0-25s), the different key...
  3. thelasthaven

    Min/Max Values of Knobs/Sliders

    Hi everyone, I am trying to create a script where I should adapt knobs/sliders for different tasks. Is it possible to change min/max values of GUI units not in "on init" callback? I have something like this: on init declare ui_knob $knob1 (0, 1000000, 1) <other parts of the script> end on...
  4. karelpsota

    Batch renaming to velocity ranges?

    Hi, Do you know how to batch rename sequenced files (from "1 to 13") into progressive velocity ranges? Example: Audio 1 -> Audio 1-10 Audio 2 -> Audio 11-20 Audio 3 -> Audio 21-30 ... Audio 13 -> Audio 121-127 Thank you. -KP
  5. jfino

    Free Table Inverter!

    I made a simple table inverter, might be handy for someone. If there's a better way to code it please let me know! :) on init declare $i declare ui_table %array[127] (5,5,127) declare $temp declare ui_button $invert end on on ui_control ($invert) $i := 0...
  6. jfino

    How to detect if a value on a table has been changed?

    Hi Everyone, I'm trying to figure out how to detect if a value on a table has been changed and which index of the table it belongs to. I'm thinking probably having a duplicate array to compare it to, but I don't know where to go from there. Any thoughts ? Thanks!
  7. jfino

    Array Circle shift algorithm?

    Hi Everyone, I came across this : https://www.geeksforgeeks.org/array-rotation/ Allows you to shift an array in a circle Ex. Shift by 1 to the right. 1,2,3,4 4,1,2,3 3,4,1,2, Can someone knowledgeable translate it to ksp? I'm sure a lot of people will find it useful! Would be cool to shift...
  8. jfino

    Table Value Position Play Cursor

    Hello everyone! What are some of the way you can show where the current value on a table is at? Similar to the waveform play cursor. But on a UI table. Heavyocity Vocalise did it beautifully: Is this some kind of overlay animation? Thanks!
  9. jfino

    UI Button setting Value of Slider

    Hello everyone! Quick question: I want to assign a value to a slider(s) using a button. The slider controls several parameters. In the below example its controlling the Volume. When I press the button, the value for the slider updates but the parameters that the slider controls don't...
  10. joanhadeau

    Preset loading from nka array

    Hi Everyone, I want to have a next and prev button to "cycle" through presets that load from an .nka file in the Data folder. But I have no idea what command to use. So I save a preset as "preset0.nka" save another one as "preset1.nka" , "preset2.nka" and so on. through the browser and thats...
  11. jfino

    How to avoid "Clipped to max value" Warning?

    Hi everyone! Quick question: I'm trying to add a random element to a slider. How do I avoid getting the Clipped to max value Warning? I tried several things but I still get the warning so obviously, I'm not doing something right :( Thanks so much for your help! on init message ("")...
  12. jfino

    How to script a Non Repeating Random Round Robin ?

    Hi Everyone! Happy new year to you all. I need some help scripting a non-repeating random round robin. How is this achieved? An example or Pseudo code would be very helpful since I'm new to programming. Thanks so much for your help. Jimmy
  13. A

    Waveform & Play Position

    Hi. I've ran into a small issue with my ui_waveform. It displays the cursor (play_pos) correctly when I'm pressing a note, but if I press a second note while the first is still held, the cursor glitches back and forth between the two. I want the second note to "take over", and the cursor to...
  14. jfino

    How to offset a group start time?

    Hi everyone! is it possible to offset a group start time? I have 3 groups, I want to be able to adjust each group start time with a slider. Any ideas? thank you for your help!
  15. jfino

    Controlling multiple parameters at different rates with one slider?

    Hi everyone, Noob question... How do you go about controlling multiple parameters at different rates with one slider? example: Tape Saturator Gain And Compressor ratio thanks in advance!
  16. willbedford

    Snake game in Kontakt

    I made Snake in Kontakt. Feel free to waste some time - https://www.dropbox.com/s/a2j3g51oj6l5mfi/Snek.zip?dl=0 Enjoy ;)
  17. C

    Limit keyrange of specific groups

    Hi everyone! I'm creating an instrument where I have 3 different layers where the user can select different waveforms, one in each layer. I also have another layer that we can call the sub oscillator. I want to be able to limit the keyrange of the sub osc without limiting the other 3 elements...
  18. Kyle Preston

    KSP Preset Legalities

    I looked but couldn’t find a specific answer to this question. Do developers need to obtain a license from Native Instruments if they choose to sell a Kontakt instrument that uses or modifies a KSP preset? I’m not talking about becoming a “Powered By Kontakt” library, just selling as a third...
  19. H

    Kontakt dB values

    Hi What is the math operation for obtain on KSP the values from 630859 (or 631000) to 0.0dB, 500000 to -6.0 dB, etc. ? Cheers
  20. S

    KSP - Round Robins across multiple mic positions

    Hey all, I'm doing some preliminary script testing for a percussion library I'm working on and have hit a snag. I found a script from Nils that will allow for round robins per zone selected (meaning I can have independent RR counts per velocity, per note). I'm now trying to figure out how to...
  21. jfino

    Re-trigger notes with breath controller

    Hi Everyone, I'm thinking of making a simple flute to learn more about KSP. I have a basic true legato working and key-switching for articulations. I would like to incorporate breath controller input. I was looking a the amazing Flute from sample modeling. On one video the guy seemed to...
  22. jfino

    Ui_menu height?

    Hi Everyone, quick question.. I have a menu with lots of items, is there a way to limit the height and have a scroll bar? Thank you for your help! Jimmy
  23. jfino

    Gaussian Random Script Function For Micro tuning

    Hi Everyone, I came across the Gaussian Random Script Function on a post here developed by the Great Nils and the Epic Big Bob. I very new to ksp and I dont know how to use it. How would i use it for micro tuning? so every note played is slightly different in pitch. From what I gather and I...
  24. jfino

    Change Source module through KSP

    Hello everyone, Quick question: is it possible to change the source module through KSP example: from tone machine to time machine? thanks!
  25. jfino

    Displaying values on a single label

    Hi! I'm using the factory script Unisono - Portamento and I want to display all the knob readings into one label. Any ideas on how this is done? Thank you so much! Jimmy
  26. Reegs

    HALion Script

    Not a Halion user, but I found this image on Steinberg's site related to Scripting advertised in HALion 6: Definitely some similarities to KSP, but at a first glance the syntax seems a little more sane, without need for the dedicated compiler step. Appears to be based off Lua, maybe? Like...
  27. E

    Not able to hide parts for custom buttons

    I hate to ask a question like this but, I can not for the life of me figure this out even after all of the searching and experimenting I have done... I am wanting to have customs buttons which are pre labeled and have the 6 states required. However, the label for the button glitches and still...
  28. E

    Swapping note and velocity mappings

    Hopefully someone better than myself may have an answer. =) I have mapped my round robins to the velocity layer as I can randomize and sync them with other groups with ease. HOWEVER, I do not want to lose my ability to use the velocity data for volume control. So my idea then was to separate...
  29. RGcomposer

    Filter type knob

    Hey guys and gals I'm currently in the middle of setting up my first sample library. This is purely a learning experience for me so I don't care how long it takes me to learn ksp ect. It's a fun process for me anyway. I have a design query that I feel I could get an answer from in here. I...
  30. S

    Script portability for simple and complex libraries

    I recently wrote my first ksp script- nothing fancy- just a call to change_note() and change_tune() in the note callback. It seems to work ok for simpler libraries. However, when I try to use it in a more complex library, with lots of scripted functionality, like the NI pianos (e.g. The Giant...
  31. S

    Script to transpose note in DFD library (S.mod)

    Hi, I'm trying to write a reusable script (using K5) that I can drop into any library (including a big stock library like 'The Giant') and it will transpose incoming notes. It seems quite easy if the library is in Sampler mode, but not so much in DFD. But short version, for reasons of...
  32. azrulsaleh

    Lock With Password In Script

    Hi all. I've got a question for the Kontakt scripting geniuses on this forum! Is it possible to set the lock with password in code? I can't see any reference to setting the password in the KSP reference manual and when I try to set the password by clicking on the lock with password button in...
  33. magneto538

    "Variable $NI_CB_TYPE_ASYNC_OUT was not declared"

    Hello folks, I am trying to use $NI_CB_TYPE_ASYNC_OUT but the script won't apply. The error I get is "Variable $NI_CB_TYPE_ASYNC_OUT was not declared". I am running Kontakt 5.5.2. Is there anything special about this constant?
  34. mcalis

    Great collection of free orchestral (raw) samples!

    EDIT: Made the mistake of not using search before posting this (in my enthusiasm). I see that this resource is already fairly well known and used in the VI community. Apologies! Perhaps this has already been posted here at some stage, but this is a fantastic resource of free samples...
  35. kurtvanzo

    Keyswitch Persistence?

    I've built an instrument with keyswitches using group start options and it all works great. But when I save the .nki with the sustains selected, then reload the instrument, nothing plays until I hit the sustain keyswitch again. I can see the samples are loading up fine and I have no disallow...
  36. magneto538

    Koala: a KSP library for developers - UPDATES THREAD

    What is Koala? Koala is an advanced scripting library for Kontakt KSP developers. The latest version is v1.0. The Koala project is open source and covered by MIT licensing system. The official web page of the Koala project is available here. This thread will be updated with updates and...
  37. magneto538

    Koala KSP Library for developers - UPDATES THREAD

    Hello guys. [EDIT 2017-06-03] Here's another MASSIVE update for Koala. I haven't been updating this thread in a while now, so here's the full changelog since the last version. New snippets available as well The current version is 2.1.6. Follow the Installation guide in Koala's Official Wiki...
  38. magneto538

    Custom functions and ksp_builtins_data.py issues

    Hello people. I am working at a custom library of functions for KSP developers. It's quite a massive job which took 9 months of work so far. So I'd love to add my custom functions and macros to ksp_builtins_data.py in order to speed up the workflow. Here's my problem. When I add a function...
  39. tsherr

    Include Guards

    I've been trying to use a combination of the SET_CONDITION() and USE_CODE_IF() directives to act as include guards with the import "..." command. Unfortunately, Nils' compiler complains about re declarations as if the directives were absent. Does anyone know of a way to ensure scripts are...
  40. Reegs

    KSP Syntax Highlighting for the forum

    on init declare @str @str := "Let's have syntax highlighting on the forum!" declare ui_button $pushme declare $x declare $i end on on ui_control $pushme $x := $ENGINE_UPTIME message(!str + " " + $x) end on on note for i := 1 to 10 {It also works for KScript syntax!}...
  41. willbedford

    PGS memory usage

    Has anyone ever tested the memory efficiency of the number of PGS keys versus their size? For example, if you had a PGS key with 50 values, would that be more/less efficient than 50 PGS keys with 1 value each?
  42. willbedford

    Granulate update 1.0 in progress (Kontakt granular synthesis engine)

    Hi everyone, For the past few weeks I've been working on an update to my granular synthesis engine for Kontakt. This is just a quick post to let you know what's to come. New Features: New, shiny user interface Per-note ADSR (useful for creating naturally-evolving pads) New asynchronous sample...
  43. Alan Wave

    Transient Mastet Scripting, is it possible?

    I'm summoning all the wizards for this one! It's not in the manual, but.. Can the sustain of the Transient Master effect as an insert in K5, be controlled by a slider?
  44. paulplaysguitar

    Change_pan() for Release Samples???

    Hey guys, I've written a script that generates values for pan position based on certain conditions, but I can't get these changes to take the same effect on release samples that they take on notes. Is this just a limitation of the much discussed KSP release engine? Below is the portion of the...
Top Bottom