Search results for query: *

  • Users: P.N.
  • Order by date
  1. P.N.

    "Don't use TM" parameter?

    dont_use_machine_mode(<Event Id>)
  2. P.N.

    Lunaris 2 - Premiere Pads Instrument for Kontakt Player

    Yes, buffer size is another variable, similar to the ones I mentioned above - drivers, operating system, etc. It doesn't affect Bioscape's performance in my machines, but perhaps it can help others. I'm glad it worked for you and that you now have loading times more in line with what's...
  3. P.N.

    Lunaris 2 - Premiere Pads Instrument for Kontakt Player

    It's hard to diagnose. We've seen differences ranging from Mac vs PC (Macs having an advantage for some reason), different audio drivers (sound cards), different CPUs (AMD vs Intel), different operation systems. As I'm reading above, the loading times you're getting are not reasonable so perhaps...
  4. P.N.

    Lunaris 2 - Premiere Pads Instrument for Kontakt Player

    Hi. I'm going to try and offer some insight on the loading times. The loading times of Bioscape/Lunaris 2 should not be compared to other libraries (99.99% of them at least), like Spitfire, etc. On an "internal" level, (groups, zones, etc) Bioscape/Lunaris work in a completely different manner...
  5. P.N.

    Is there any method to use Qwerty keyboard to control Kontakt ?

    You can do this, but it has limited applications. By using Kontakt's built in keyboard support, you can make it trigger event notes which will in turn call functions. The duration of the key press can also be monitored via listener in order to support continuous key pressing. Fun for the whole...
  6. P.N.

    XY Pad - Positioning Lines

    Try and make sure the image name is correct and that the image is present in the resources folder.
  7. P.N.

    XY Pad - Positioning Lines

    Written in vanilla (I can't find a sKSP version). Wasn't too sure about it (it's been years), but I tried it and it works. All that math with real numbers and rounding, etc, is there to make sure the labels always remain centered and don't drift depending on the cursor values. (without the...
  8. P.N.

    XY Pad - Positioning Lines

    ... or Bioscape? :D I can't say how Thrill and Mysteria did it, but in Bioscape you have 2 labels, right? One of them moves up and down, the other left and right. There's some consideration with the line's width in relation to the cursor's width (if you want everything to line up correctly at...
  9. P.N.

    If I make a Kontakt instrument with K6, can I export a version for K5 users ?

    Oh, the K6 Gui designer you were mentioning is Creator Tools? Ah... If you mean, using that nckp performance view file inside K5, no, that's unfortunately not possible. At first, I thought you were referring to that third party product that existed some years ago. You called it Gui Maker in...
  10. P.N.

    If I make a Kontakt instrument with K6, can I export a version for K5 users ?

    I don't know how Gui designer works, but I guess it simply outputs regular UI code. Widget declarations and control_par(). That code would remain (for the most part) compatible with K5.
  11. P.N.

    If I make a Kontakt instrument with K6, can I export a version for K5 users ?

    The nki that was built in K6 won't be compatible with K5 (this means groups, and all that good stuff). However, most likely your script will be 100% compatible (or just requires some tweaks). There are many K6 exclusive commands at this point, but you can do most stuff with the K5 commands...
  12. P.N.

    Wait_ticks() not doing what I expected

    Unfortunately, I don't think this can be done, or at least, not in the LCB. Why don't you try to call up functions with the loops instead? (moving the loops and wait commands out of the LCB) Syncing may be a problem, but it's the only solution I'm seeing. Perhaps someone else can shed light on...
  13. P.N.

    Wait_ticks() not doing what I expected

    What I was trying to say before is: Don't use the while loop inside the LCB. Make use of the LCB as if it's a big loop itself. (use only if statements inside it) This is how you'll get the values in between.
  14. P.N.

    Wait_ticks() not doing what I expected

    I would consider taking another look at set_listener() parameters. Also, using a while loop with wait commands on the LCB is probably not the way to do this - if I'm understanding the goal correctly. It will not scale smoothly as it is. On another note... Are you sure wait_ticks is a real KSP...
  15. P.N.

    Move multiple buttons with one move_px trigger?

    Not LUA. The panel is just another KSP widget.
  16. P.N.

    Move multiple buttons with one move_px trigger?

    Perhaps I'm not understanding the question, but in order to move 3 buttons at the "same" time with one move command, you'd place the button ids in an array and run the command in a loop - similar to other commands you'd run inside a loop.
  17. P.N.

    Confused by this On Controller Script

    Ah, I thought it could be something else. If you're absolutely sure the issue comes from the CC64 data and not somewhere else in the script: - Make sure your modwheel is working properly - sometimes that causes a problem. - If you're using a CC modulator, also check its default value. - Update...
  18. P.N.

    Confused by this On Controller Script

    Alright, but you still need a place somewhere in the script where you enable %1_counter_release[$count].(which I assume are layers?)
  19. P.N.

    Confused by this On Controller Script

    Perhaps I misunderstood the script. What's $sustain_active?
  20. P.N.

    Confused by this On Controller Script

    Something needs to happen when %CC[64] is larger than 0 (if/else).
  21. P.N.

    Set_Text Bug???? Or am I missing something????

    The first one is addressing the ID directly from the control, or in this case, the widget. The second is addressing the ID through an ID array - (trying to is the best way to describe it). (I'm assuming that your example is simplified and you're storing the IDs correctly) You're right, it would...
  22. P.N.

    Ui_mouse_area

    Ah, yes. You're absolutely correct. I replied too quickly and missed the point. I apologize. The label allows you to drop midi from Kontakt into your DAW, but also to your Desktop, for example - at least when in standalone mode.
  23. P.N.

    Ui_mouse_area

    If you only need to drop MIDI to a script, you can simply use a label. $CONTROL_PAR_DND_BEHAVIOUR
  24. P.N.

    If x-tant audio did a Creator Tools tutorial series...

    But David ... Berto said he would buy the whole thing. Please reconsider.
  25. P.N.

    Getting incorrect slider images when changing them in the listener

    I would: - Close and restart Kontakt first to clear any cache issues. - Close Kontakt again and rename all my images slightly differently for each library. Something unique, like a sufix describing the library - (changes made to both the script and the actual png filenames). - If that still...
  26. P.N.

    Getting incorrect slider images when changing them in the listener

    You could try to change the image name for each library. If something still gets messed up (I don't remember the exact rules that cause this), change the var names. Something like adding a suffix or prefix to keep track of different libraries usually fixes the issue.
  27. P.N.

    Is there a way to hide a particular slider from the UI? ??

    To hide a control, use set_control_par(<your control id>, $CONTROL_PAR_HIDE, $HIDE_WHOLE_CONTROL) It's important to use the control ID and not the control declaration name. If you didn't set any custom IDs, use: use set_control_par(get_ui_id(<your control name, as declared>)...
  28. P.N.

    Please tell me how to write a script.

    For that control, please try another font from the internal available ones (some of them are black). set_control_par(<your menu's control id>, $CONTROL_PAR_FONT_TYPE, <integer 0 to 25>)
  29. P.N.

    Bioscape - A Sonic Kaleidoscope of Found Sound Cinematics

    Hello, mafgar and colony nofi. Bioscape has 2 loop modes: - One for user samples (or the factory samples) with tagged internal loops, aka "Native". - Another mode for user samples without tagged loops, or simply to get specific moments from a specific sample. The general idea on why there's no...
  30. P.N.

    Bioscape - A Sonic Kaleidoscope of Found Sound Cinematics

    In order to use your own samples and take advantage of with your own custom internal loops, you'd use the Native option, correct. The loops must be tagged in the wave files themselves, yes, but this is not something done by Bioscape, it's done by the software used to export your loops.
  31. P.N.

    Memory Exhausted

    For the images, you could also use a mode 2 string array. This would save you the trouble of renaming everything (if there are too many pictures). Basically, the same thing Evil Dragon said, but for images.
  32. P.N.

    Instrument not linking to gui elements

    If you double checked everything else, try deleting the NKC file. It will be automatically generated again the next time you load the NKI.
  33. P.N.

    Label & Host Automation

    Why is this important? Are you concerned with clicks from the main UI interfering with the automation? You could probably just ignore this without issues and keep them dependent at all times, with the exception of the label. Also, check out callback types if you still need filtering out the...
  34. P.N.

    Label & Host Automation

    So, I was the one that got the question wrong? That can't be right... :D For the automation process with the dual controls (only one of them would trigger the display label), you'd use separate functions for each. The one you use the mouse on (the visible UI control) will trigger the display...
  35. P.N.

    Label & Host Automation

    That's not the OP's question.
  36. P.N.

    Label & Host Automation

    I'd try to put a flag in the CC callback and the UI controls callback (or in a main function that takes care of the display labels). When the flag is activated by the CC callback, the label dependency will not be activated. Edit: What I proposed above is probably similar to Big Bob's base concept.
  37. P.N.

    Simulate pressing two switches together

    " But it looks like what I'm trying to do can't be done because you can't change the hide state or width of a control when the mouse is released which is what I think I would need" In that case, you should use a button instead. Unlike switches, the callback is executed on mouse click release...
  38. P.N.

    Simulate pressing two switches together

    Hi. Any solution can work here but your $CONTROL_PAR_KEY_CONTROL idea is really different from the others. In that case, the 2 switches would only be "pressed" when you hold the key. It will give users an option, if that's goal. If the result is not what you expect, use switches instead of...
  39. P.N.

    Kontakt GUI blurry?

    The fact that Apple calls it "Retina" and somehow that term ends up being used in tech discussions is the biggest "wth" moment for me. On a similar note, a lot of people seem to think Nvidia invented ray tracing because of their RTX cards... The wonderful world of BS marketing.
  40. P.N.

    One custom UI knob for multiple groups?

    For a single knob, you just do all groups in a loop. $count := 0 while ($count < $NUM_GROUPS) ..."engine attack" or "engine release" etc inc ($count) end while For the other ADSR parameters you would either include more knobs for each parameter (the most common procedure) or add a button or...
  41. P.N.

    One custom UI knob for multiple groups?

    Yes. This is why all operations must be done carefully when using the "edit all" groups option. It's very easy to add/remove stuff inadvertently. I normally work with the "edit all groups" option deactivated unless i'm working on large scale changes.
  42. P.N.

    Tips on reducing CPU Usage?

    A couple of tips on what not to do. Others will surely chip in too. - For anything that requires "realtime" operation, don't do loops inside loops. - Don't keep unecessary stuff roaming in the LCB. - Functions are great, except when they're more complicated than they should and they receive too...
  43. P.N.

    One custom UI knob for multiple groups?

    Yes. A simple if statement will do but this is one of those cases where you could do a one liner trick if the knob only controls one group at a time.
  44. P.N.

    Hiding controls on initialisation IF a Switch is On/Off

    Hi. Using multiple knobs for multiple FXs is important for allowing automation to work properly across different tabs, different settings, etc. In this specific Replika example, though, i'd do the following: Use the same controls for all Replika modes. It might be a bit harder to set up, but...
  45. P.N.

    Bioscape - A Sonic Kaleidoscope of Found Sound Cinematics

    Regarding the XY pad, while there isn't a specific MIDI CC implementantion, DAW automation can be done with Kontakt's host automation feature: - "Mix Pad X" and "Mix Pad Y" (the first two automation parameters). Yes, you need to write to 2 lanes, one for each axis. Please make sure you turn...
  46. P.N.

    Is there anyway to deactivate the pitch effect on the pitch wheel?

    - Enter Edit mode; - In the Source module, under "Preset" click the Mod button; - With the Pitch Bend modulator maximized, you can either turn the intensity slider all the way down to zero or delete the Pitch Bend modulator entirely. (Probably better to just turn the intensity down to zero)...
  47. P.N.

    GUI elements from other instruments showing up?

    I can tell you the solution, but i can only theorize on what causes it. I'm also not 100% if this is a bug or a feature, since it could be Kontakt's way to handle image instancing, thus saving memory. I believe the issue occurs when you load 2 or more instruments with the same internal control...
  48. P.N.

    Kontakt Updates (current version: 7.9.0)

    Well, i was only refering to the demo pop up message. Other issues seem to be currently investigated by NI, as we can see from the responses in this thread. I understand it's easy to become frustrated when software doesn't work, but there are things that can be done to prevent issues like this...
  49. P.N.

    Beta expiration message for Kontakt 6.4

    Yes, just a bug, folks. The moon isn't falling down.
  50. P.N.

    Kontakt Updates (current version: 7.9.0)

    Just a small bug with the installer. I wouldn't worry too much about the "14 days time limit". It will probably be fixed in the next few days.
  51. P.N.

    Purge all samples on init?

    Yeah, i'd only recommend using purge in the PCCB while setting up the script.
  52. P.N.

    Purge all samples on init?

    Page 115 of the most recent reference manual. (7-7-2020)
  53. P.N.

    Purge all samples on init?

    You could do it in persistence changed.
  54. P.N.

    Best program for designing gui knobs?

    Some of these may be overkill: After Effects/Davinci Resolve; Cinema 4D/Maya/3D Max/Blender; Illustrator/Inkspace. A few others here (don't know them personally): https://editorsdepot.com/blog/10-free-motion-design-tools/ And if you design the whole UI in it, you get "automatic" promo...
  55. P.N.

    Possible to initialize array with all zone_ids from all groups?

    Yes. Here's vanilla code from an an old thread. (The code's inside the spoiler). It was intended to get sample lenght, but requires getting the zone id first, which seems to be what you need. Access the data as you'd normally would in a bi-dimensional array. If it doesn't work, make sure to...
  56. P.N.

    How to make a popup image-bubble via UI button?

    Hi. There are many different ways to do this depending on how you set up the UI or how far you're willing to go. Variables for this include: if the script is using custom images (transparent images), if the image is to behave as a clickable area, it could involve a single control changing size...
  57. P.N.

    Can someone please help me understand this script for toggling switches??

    I remembered this thread where i made a basic radio buttons example (where one switch is always on). It also handles different labels per tab. Could be useful. It's not using Sublime, though. https://vi-control.net/community/threads/hiding-unhiding-problem-fixed.80692/ Best regards, Paulo
  58. P.N.

    For Those of Us Considering Jumping from Kontakt to HISE

    I got a question too. I see that HISE supports vector graphics. Does it support 3D meshes and some sort of realtime 3D lighting? Or anything else for that matter. (any type of image post processing)
  59. P.N.

    Embedding loops into samples?

    You see, that's good. I didn't even know there was a forum with a growing community like that. Alright, then maybe it's not a simple question of stacking them against each other then, but more in line with what Sibelius19 is saying here: Most composers i know do enjoy the Kontakt...
  60. P.N.

    Embedding loops into samples?

    I did, and they said:
  61. P.N.

    Embedding loops into samples?

    Not with vague quotes like this. I mean... NI fanboys? Who? People who have an overall positive experience with Kontakt? Would it be fair to call you and David "HISE fanboys"? (sorry David, but you had it coming too :laugh:, and i don't know anyone else...) The whole thing just sounds pretty...
  62. P.N.

    Embedding loops into samples?

    Regarding the mapping/wave editors - these can be resized up to 1024*700 (Size C) in a separate window.
  63. P.N.

    Embedding loops into samples?

    I don't think Mario said "it can't be done", nor was he comparing it to other products. He was talking about how Kontakt itself works internally. If this causes significant issues to your workflow, that's understandable, but let's not paint a picture of how "broken" Kontakt is, considering the...
  64. P.N.

    Kontakt 6.2 set_sample question (user WAV DnD import)

    Sorry, got a little lost. Wasn't the first post about this command not working as expected? My suggestion was about using both set_sample to "" and set_zone_pars keys to -1. It would seem you don't need it since you're using static zone_pars, but the manual does say something about a zone...
  65. P.N.

    Kontakt 6.2 set_sample question (user WAV DnD import)

    By setting a user zone low key to -1 you're effectively getting rid of it.
  66. P.N.

    Kontakt 6.2 set_sample question (user WAV DnD import)

    Try setting the group to a constant to see if the issue remains. Considering you are only working with one user zone, and the rest of the code is set to constants, it's the only thing that catches my attention. Another thing you could try is reseting the low and high key to -1.
  67. P.N.

    Kontak skipping cc values?!

    Hi, there. You need some serious aiming skills to target a specific CC value manually in realtime. Some libraries make extensive use of CC to target articulations and such, but when the goal is realtime functionality, they tend to opt for a range instead. For your case, consider if you...
  68. P.N.

    A problem I've never seen before??

    No, it's controlling bus 5 volume but that's what's on the script. $NI_BUS_OFFSET+c1 c1 equals 4, so $NI_BUS_OFFSET+4 points to bus 5. Edit: Your mouse settings are correct.
  69. P.N.

    A problem I've never seen before??

    The message is "$init_flag=1" here, Tod. Using latest Kontakt 6.2.2.
  70. P.N.

    A problem I've never seen before??

    Sure. I was just pointing out some things that could help. Cheers.
  71. P.N.

    A problem I've never seen before??

    Another thing. I did say that engine_pars are saved in both the NKI and snapshots. In your example (i mean, the one i edited), the function that's called on persistence is setting up the engine par for volume. function set_slider select ($c1) case 0...
  72. P.N.

    A problem I've never seen before??

    I'm looking at the manual example you're refering to. The manual is only trying to illustrate a point, or a possible use case scenario. It's not something they're suggesting we should do. In your example you have: on persistence_changed message("on persistence") if ($init_flag=1) $c1...
  73. P.N.

    A problem I've never seen before??

    Hello, again, Tod. I looked at your script more carefully and there are a couple of changes i'd suggest, unless you're doing some of these procedures for a particular reason. You set $CONTROL_PAR_HEIGHT and width for the slider, but sliders don't require this. They depend directly on the image...
  74. P.N.

    A problem I've never seen before??

    Hi, Tod. I got an error with it in which the UICB needed to come after the function. After moving it, it seems to work.
  75. P.N.

    Newbie advice: voice choke on same note without lots of groups, scripting necessary?

    Well, this suddenly became complicated. :D I thought we we talking about a guitar, but maybe the previous solution still applies. What if you setup up the 22 * 6 groups, set each group voice limit to 1 and exclusive group to each round robin set? So you'd only need 6 exclusive groups, with the...
  76. P.N.

    Newbie advice: voice choke on same note without lots of groups, scripting necessary?

    Hi, there. You can adjust voices and exclusive groups. For your guitar specific setup in which each group has all the notes (all the strings), this will lead to issues, since, if you play a chord, there's no way for Kontakt to know which notes it should choke. The exclusive group and voice...
  77. P.N.

    Master Tone in Kontakt an octave higher?

    The old middle C issue where "standard mapping" means a different octave across different DAWs and VSTs...
  78. P.N.

    Newbie needs scripting help with changing groups.

    Well, you could set up the buttons so they unload each group from RAM. You wouldn't need the allow group command at all if going that route. You'd still need to load them back at some point, so the solution Polypx and i presented is the most common way of doing this, when purging is not...
  79. P.N.

    Newbie needs scripting help with changing groups.

    Kontakt is optimized for this sort of operations.
  80. P.N.

    Newbie needs scripting help with changing groups.

    You got 14 groups, and you want to turn them on/off individually, so, you'd need 14 buttons, right? Declare the 14 buttons and store their ui_ids in an array, in a 1-to-1 group to button correspondence. (the button ui stored in the position 0 of the array will control group 0, and so on)...
  81. P.N.

    KSP: any insight into this mysterious bug?

    You should check the async status and update from there.
  82. P.N.

    KSP: any insight into this mysterious bug?

    No, but if your script allows for the creation of arrays that follow a logical element sequence, than you don't need to worry too much about it, i think... I wonder what you're doing over there. :)
  83. P.N.

    KSP: any insight into this mysterious bug?

    You could try this example. Quick and dirty (don't mind the all caps names). And use the attached nka to test it. It was created manually. When in doubt, use Notepad ++, check the lines, the EOL and it should work without too many issues. Yes, you can pass string data with PGS too, i think...
  84. P.N.

    KSP: any insight into this mysterious bug?

    Constants, variables and arrays can be initialized, aka declared and assigned a value in one line. declare $x := 1 Strings (both variables and arrays) do not support this. You need to declare and assign on separate lines. declare @1 @1 := "string". Maybe sKSP allows for string initialization...
  85. P.N.

    KSP: any insight into this mysterious bug?

    Yeah, i mean, if you got a lot of static data, specially string arrays which don't support initializers... :( You just keep that data inside the resource container and it's less stuff cluttering the script. But this is on a case-by-case basis. Of course, it depends on your application. You can...
  86. P.N.

    KSP: any insight into this mysterious bug?

    Yes, i don't know the limit (and i've never seen the stack overflow error, because i'm good at predicting errors... :D), but i got something with almost 3000 ICB lines right now on a project. No issues here. @Fredeke Consider loading external arrays in the ICB, if possible for your project...
  87. P.N.

    KSP: any insight into this mysterious bug?

    Yeah, i'm not gonna steal it. :D I'm just gonna paste it in 5.8 and 6 to see if Kontakt eats it. I mean, that's all i can do... You can send me the compiled code, with compacted variables. That shouldn't matter. PS: No, same avatar. :)
  88. P.N.

    KSP: any insight into this mysterious bug?

    Send me the code then, so i can steal it. I mean, test it.
  89. P.N.

    KSP: any insight into this mysterious bug?

    This happens in 5.7 only? Does it work in other versions? The reason i'm asking this is because, in my experience, 5.7 was notorious for having some unpredictable bugs.
  90. P.N.

    KSP is hard

    Are you saying that something like this is unreadable? (circle) {x}%records[%rec_str[0] + $count + %rec_offset[$count2]] := real_to_int((0.50 + (int_to_real($radius) / 1000.0) * sin(~NI_MATH_PI * int_to_real($count) / int_to_real($pb_bars * $BAR_LENGTH) * int_to_real($pb_bars) *...
  91. P.N.

    KSP is hard

    I'm not a software developer, but i agree. Not getting the underlying code can be frustrating and detrimental. I always try to understand the code on its lowest level. That's where i feel i can produce better logical decisions, at least for more complex custom tasks. About the synthax... well...
  92. P.N.

    Int_to_string() ?

    Use &. Example: @string := $value & " %"
  93. P.N.

    Change wallpaper in KSP ?

    Only the wallpaper is scrolled. You still need to use the hide commands for the controls, but look into the new ui_panel in K6 as it will make your life a lot easier.
  94. P.N.

    Change wallpaper in KSP ?

    Yes, then you can link your offset to each respective tab by multiplying the offset (which is your wallpaper size per tab) with the index. For a total wallpaper size of 500 px (68 header + 432 workable area), you'd use: Offset 0 for tab 0; offset 500 for tab 1. offset 1000 for tab 2, etc. If...
  95. P.N.

    Kontakt 6.2.2 is out!

    Yes, i'm also intrigued by these, specially if they can retrieve that info in realtime. :) But even if they can't, it's already a big step up.
  96. P.N.

    Inverse sample's polarity ?

    You got a surround panner, yes. If you want to go custom, use the inverter. You got phase and channel options there. Cheers
  97. P.N.

    Strange CPU peak problem... [SOLVED - Thanks] - Could be instructive for others

    I'm afraid i won't able to help beyond my initial suggestions. The only other thing i can think of is getting rid of any message("") you might have anywhere on the script, so that you can further analyze the internal warnings that Kontakt may be outputing. Also, making sure the NKRs are...
  98. P.N.

    Strange CPU peak problem... [SOLVED - Thanks] - Could be instructive for others

    Yes. CPU fluctuations on an idle instrument normally means an open loop somewhere. It could be anything from an animation to a complex function, so it's worth checking out. Even if similar code produces different results, i'd go back to the LCB and make sure it's as optimized as it can be. Cheers
Top Bottom