Search results

  1. K

    Routing in Kontakt, pan & EQ pre-post Send FX - solutions

    Okay, thanks for the comment on that and as far as kontakt internally is constructed that seems like it. But there is another way, although a very long way, construction wise. I have decided to create a set of IR samples with stereo-imaging included and use load_ir_sample on UI control of the...
  2. K

    Routing in Kontakt, pan & EQ pre-post Send FX - solutions

    I mean, I am doing it for an internal mixer in side an instrument that is supposed to include multiple positions and their own respective (and multiple) IR fx. For UI control.
  3. K

    Routing in Kontakt, pan & EQ pre-post Send FX - solutions

    It´s a part of a library so the idea is for the mixer. If it was that easy... :). Or do you mean outside of the instrument level, on aux/outputs?
  4. K

    Routing in Kontakt, pan & EQ pre-post Send FX - solutions

    Hello. Many have asked before and I have tried to get around it but the send fx cannot be stereo modelled as they go straight as-is to the outputs. Is there any workaround for this? Like Midi CC control of aux bus returns etc, that can be done on the UI? The solution I can think of is...
  5. K

    Modulated AHDSR release value possible to print on screen?

    Thanks, so the work is in finding the precise values of the modulation. Is there anyone who made a list of values and what they mean in this specific type of controller, that has a logarithmic behaviour? It goes from 0-220ms in 0-50% of the knob, then from 221-25000ms in the next half, without...
  6. K

    Modulated AHDSR release value possible to print on screen?

    Ok, as I suspected, or it would have been in the manual :/. Thanks for that info, the re-calc. But my issue was with the output of the entire modulation (per event), to be able to see the result of the specific event´s modulation in it´s actual output value. So if we modulate with a CC on the...
  7. K

    Modulated AHDSR release value possible to print on screen?

    Is the modulated Envelope AHDSR release value possible to print on screen in a label or in the message()? I know I can get the value of the set knob of the envelope´s "release" knob. But as I start to modulate that one with a midi CC value I get difficult numbers as the output release setting...
  8. K

    Help with basic on controller logic

    Alright, I think I´m starting to get this shift-bits stuff. Thanks for spelling it out. The previous message ended here as well. Though, the script i got above is actually working, I must have done something wrong while testing, one issue was that Logic was sending wacky on-off messages even if...
  9. K

    Help with basic on controller logic

    Greetings coders. I got a little issue with a pedal script seeming to be correct, but not behaving. This is my little code that goes off on controller, I want only one controller (sustain pedal/cc64) to trigger a message until the opposite direction has triggered. As to not have multiple...
  10. K

    UI elements not affecting vars on release

    Solved. The issue above was not the issue at all. My script is utilising a variable that stores the relevant group number throughout the script. Lots of UI elements and scenarios demanded that, or there would be too many repetitions. So the same var "$allowGroupX1 := 0/whatever" handles the...
  11. K

    UI elements not affecting vars on release

    Yes indeed that works good, in the test below: on init declare ui_value_edit $Vel (1,127,1) $Vel := 1 make_persistent($Vel) end on on note disallow_group($ALL_GROUPS) allow_group(0) end on on release message("velocity is: " & $EVENT_VELOCITY) if ($EVENT_VELOCITY <...
  12. K

    UI elements not affecting vars on release

    Hello. I am trying to get a UI-element on my ui to affect a variable in the RCB. It is a ui_value_edit element and let´s users enter a value of their choice between 1-19. The value is then used in on release as a minimum velocity under/over which to play or not to play certain things. It all...
  13. K

    KSP - controlling several send knobs on separate buses

    Yes, it must look weird, and unnecessary. I wanted the fade-up to be slightly slower than the fade-down. Since this script fades up 2 separate send-knobs, it made sense to have different values for the two, going up. The difference will be adding to the realism, it sounds good. But down it will...
  14. K

    Title Animation

    Thanks, looking into taskfunctions now.
  15. K

    KSP - controlling several send knobs on separate buses

    I found the solution to this one. My script attempted to call multiple while loops with wait commands. As EvilDragon suggested, the solution was a tcm.wait. As it were, my solution was far simpler as my loops were unnecessary altogether. I re-wrote the while-loop so the if-statements with UI...
  16. K

    Title Animation

    Interesting thing, using while and wait. I made a similar thing for fade-up or in of send signals. But did you manage to use TCM for avoiding conflicts in wait commands? I do not know how that works, but if you have a good grasp on it, would love to know. The docs are above my grade. :/ Cool...
  17. K

    Re-pedaling / pedal issues and using KEY_DOWN

    Ok, so after a lot of testing I have realised that the internal Pedal script is not working as it should in regards to KEY_DOWN. Not when pedaling up, holding the key, then pedaling down again, as stated above. However, if you disable the internal sustain pedal script, you can get around this...
  18. K

    Re-pedaling / pedal issues and using KEY_DOWN

    Hello dear KSP:ers. I am trying to make sense of why the pedal function, the internal script, that is. I have made a pretty complete script turning off and on functions for release groups etc. Using the internal pedal script functionality I am still getting an error when releasing and then...
  19. K

    About sustain pedal script

    I´m doing a similar script at the moment, and this thing above seems inaccurate. The %ids array is storing the result of get_event_ids, all active event id:s. It stores all note on events, so if a note is pressed repeatedly, all events of that note and all other notes active is stored in the...
  20. K

    No note off on pedal release or CC64 off messages

    Interesting, but what is the function we hope to get out of that? the note_off message there is the trigger for the RCB at release of the pedal. It is supposed to first say play_note (and just play a bogus empty note for no time at all), then immediately release it via note_off, thus producing...
  21. K

    No note off on pedal release or CC64 off messages

    Hey everyone! I´ve got a peculiar issue. I cannot get the controller CC64 (pedal off message) to release a key being played. I use note_off and i´ve got the SET_CONDITION(NO_SYS_SCRIPT_RLS_TRIG) on init, it´s a custom release script. I am also entering in event parameters in each event on note...
  22. K

    Affecting note_off events with change_vol?

    Of course, I can still use note_off(by_marks,($MARK_X)) to trigger a new release event, at a specific sequence, like my script above tries to state. Excluding the need for key-switches, and following the note_off with your idea, a new play_note. Thanks for the help.
  23. K

    Affecting note_off events with change_vol?

    I have done all tests necessary now. Note off cannot be changed by change_vol, in any of my combos. Since note_off only responds to a previous play_note event, and can only be used to trigger a group with the in Yes, of course. But I want to use note_off to be able to utilize the rls. trig...
  24. K

    Affecting note_off events with change_vol?

    Yes, thanks. To all who reads the code: My code above was a guide or a "notation" style code. It´s not correct, just noting my idea. Will refrain from doing that in the future, could potentially ruin someone´s hour :). You´re probably right about that, but the note_off is the key, if it at all...
  25. K

    Same overlapping notes and KEY_DOWN variable

    Actually, I managed to put together a good basic "virtual 2D" array and call a line into a label/text-box. I used your script and the manual, for other´s references: Manual, page 20, "% (array)". Your post from 2011, on AudioThing´s thread on "Saving Presets... "...
  26. K

    Affecting note_off events with change_vol?

    Affecting note_off events with change_vol? Is it even possible? I know this is probably not possible, been trying everything I can think of, but with no luck. Seems most scripts use play_note to be able to affect the volume of the played note during or on note on. Is there a way to use note_off...
  27. K

    Exporting / converting a .nkp table preset into an array of values, how?

    Sorry, jumped the gun there. I looked in only the KSP manual. :/ You clearly said "Kontakt reference manual". Thanks for the tip, found it. KONTAKT 5 - Application Reference - 308: A cutout of Sublime Text 3, viewing a .txt export of a table: (0 = minimum, 1 = maximum values)
  28. K

    Exporting / converting a .nkp table preset into an array of values, how?

    Yeah, never knew that. Cool, and very useful. Now I would be able to make certain find/replace actions to just re-order text into a simple array, then reference the values as time-based points.
  29. K

    Exporting / converting a .nkp table preset into an array of values, how?

    Thanks! Great, but I cannot find it in the manual. Are you referring to "load_array_str() / load_array()"? I managed to export one through the instructions from polypx´s entry though, but need the explanation first.
  30. K

    Exporting / converting a .nkp table preset into an array of values, how?

    Perhaps you missunderstood the issue. Indeed it is not an array. And that was not suggested either. I want to put an .nkp table preset into an array. So, the values of the table becomes the array values. But maybe there is already a good way to convert a .nkp preset (table preset) into an...
  31. K

    Exporting / converting a .nkp table preset into an array of values, how?

    Is there a way to export or convert a .NKP table preset into numbers from 0-100 values, one value per column, with a row count of 128? So, basically I want to get a spread sheet of the values in the table and use that in an array, in the end. (either by loading a preset and saving it in ksp...
  32. K

    Save & Load Preset Array

    Thanks for the info.
  33. K

    Same overlapping notes and KEY_DOWN variable

    This one has endless possibilities. Not only for arrays of event IDs. In essence, after reeling this one in, one could make release sound script using a multidimensional array with all lengths of all samples in a large "spread sheet" and call upon each note in a specific velocity for a specific...
  34. K

    Same overlapping notes and KEY_DOWN variable

    Thanks, I read that this morning on that page, do not understand the concepts really or how to apply it although it looks like concise code, especially after seeing the compiled code. Is there more info on 2D arrays in a list of resources? Have been searching through the items here and other forums.
  35. K

    Same overlapping notes and KEY_DOWN variable

    To my own last remark: found your old entry. To the issue from 2011 "Saving presets, working with arrays and resource container!". Will study this a little while. Any help on a wax on wax off basic example would look would be greatly appreciated.
  36. K

    Monoponic Script

    New SublimeKSP is in use, as of 1h ago. Thanks.
  37. K

    Save & Load Preset Array

    Thanks a lot for the replies. The Sublime is installed and running, with the newer version from nojanath. Still not really in tune with how the 2D array works and how to save/retrieve data though. Any help would be great. :)
  38. K

    Save & Load Preset Array

    Okay, I found what I think is the properties feature: https://nilsliberg.se/ksp/scripts/tutorial/editor.html#property So an easy way would be to use his editor (or the equivalent in Sublime Text 3 / KSP plugin) and say matrix[4, 5] ? From his page: declare data[100] { 10 rows, 10 columns...
  39. K

    Save & Load Preset Array

    I´m looking at this right now, but I am not seeing the "properties feature". What is it? How can this help me with a 2-3D array? Would love to know how this ended :).
  40. K

    Same overlapping notes and KEY_DOWN variable

    Great! What does one look like?
  41. K

    Monoponic Script

    Okay, haha. I see. I thought it was a single mistake. All else in the script was without error. Usually with preprocessors its completely off. Good to know. Will check it out. Just on native code in atom :/.
  42. K

    Same overlapping notes and KEY_DOWN variable

    Thanks! That one is very useful. Would it work to create a set of arrays of event IDs to be used in larger polyphonies? Like if I wanted to be able to play at most 3 events per key at once (4 voices polyphony per key)... I am thinking like this: on init declare const $FADE_TIME := 5...
  43. K

    Allow/disallow_group question

    Yes, I also forget to check my basic parameters on the UI at times, drives me nuts. But another question, is the code above a preprocessed version? From the Sublime Text extension? I don´t recognize for loops...
  44. K

    Allow/disallow_group question

    Very efficient. Will use that approach in another script.
  45. K

    Monoponic Script

    Okay, but Kontakt reported an error with the above code. Copy-paste was unsuccessful, due to the missing $.
  46. K

    Monoponic Script

    Thanks a lot for this! One little change is needed, a little error in the code above: [ purge_group ($release_group,abs($Rel_on_off)) ] - we got a $-sign missing in front of the variable being "while´d up" :). Here I added the whole code again without the formatting, which is beautiful, but...
  47. K

    Displaying note event IDs and Engine Uptime values for each key pressed

    Great piece of code there. Wrote a little script that shows the notes held, the IDs and the ms on release here: (just to be able to see if things are doing what they´re supposed to) on init declare %start_time[128] declare %start_time_event_id[128] declare %end_time[128] declare...
  48. K

    Displaying note event IDs and Engine Uptime values for each key pressed

    Thanks a lot to both of you. My aim is now to use %NOTE_DURATION in the on controller CC64 note off messages (just one per key), when the pedal releases the notes. Then on release, for note off messages generated if the pedal is not pressed and was not “%CC_TOUCHED“, use EVENT_ID:s with the...
  49. K

    Displaying note event IDs and Engine Uptime values for each key pressed

    Okay, thanks. I had forgotten about NOTE_DURATION, silly of me. But Event base is probably what I´d need, cause i could hit the same key twice. Well of course, if the "on release" that is the trigger is triggered twice always that would be great. For on release, I guess it will. But for a...
Top Bottom