Search results

  1. P.N.

    Trying to create dropdown menu that changes mapping

    Yeah, it needs to know which note is to be remapped. This could be done automatically (finding the snare note), simply by searching a zone name, or alternatively by getting the snare note duration and using that as a search criteria on persistence changed. Here's just a small fix to reset the...
  2. P.N.

    Trying to create dropdown menu that changes mapping

    Strange. This works fine here. Did you change the default note constant to match the zone location? Alright, i don't know then. I did only try this with a sample now and i see that the color of the mapped note remains there, even after changing the mapping. It would probably be best resetting...
  3. P.N.

    Trying to create dropdown menu that changes mapping

    That's strange. Colours are constants internally, and that line doesn't give me any error. Glad you could sort it out, but which version of Kontakt are you using? This works fine in 5.8.1. Edit: Works fine in Kontakt 6 too. It was probably a bug that was fixed in earlier versions.
  4. P.N.

    Trying to create dropdown menu that changes mapping

    Alright. I see i put in an extra variable there, which is not needed at all. (maybe i was planning to do something else with it, i don't know...) In any case, here's a new version, with comments and an extra rule for not allowing the mapped zone to also be triggered when the mapped key is...
  5. P.N.

    On listener callback and real numbers

    Ah, that, right. You got a CC mod, sure.
  6. P.N.

    On listener callback and real numbers

    Hi, there. Why not just use engine values for both volume and cutoff too? Seems like a lot of unecessary math and floating point operations... Is there something specific that requires you to sequence using midi ranges for those parameters?
  7. P.N.

    X-fade for forward backwards?

    If you want this really smooth, you need to script it. And you'll want a large crossfade, not a small one.
  8. P.N.

    Trying to create dropdown menu that changes mapping

    Hi, there. A menu would be quite long... (if you fill it with all 128 possible keys) I'd recommend a ui_value_edit, which has a nice built in mode which automatically displays note names. Other benefits of using it with this special mode ($VALUE_EDIT_MODE_NOTE_NAMES) is the ability to...
  9. P.N.

    NEW: Detonator:Rage by PulseSetter-Sounds (w Intro Price)

    Hi, guys. Just saw Detonator Rage. Sounds and looks amazing! :) Cheers
  10. P.N.

    Need Help with NKA Preset File Browser

    You can save in multiple arrays and still allow for user deletion. But this is where things increase in complexity, though. You have "preset slots" (maybe similar to your "memory slots"?) - basically individual preset arrays -, with an easy to follow iterative naming approach. (you don't need to...
  11. P.N.

    KSP: get sample length

    What about the users who don't own K6 or don't like to create arrays manually? :D
  12. P.N.

    KSP: get sample length

    That's why we can filter groups. For situations like this. And you can indeed use multiple sample lenghts from different groups at the same time. This is why my initial suggestion was creating the arrays first. And, you can simply ignore the EVENT_ID (or not allow it with set_event_par_arr) and...
  13. P.N.

    KSP: get sample length

    Alright. If you really want to do this on the fly... on note wait(1) %sample_lenghts[$EVENT_NOTE + ($ACTIVE_GROUP * 128)] := get_sample_length(get_event_par($$EVENT_ID, $EVENT_PAR_ZONE_ID)) end on or on note wait(1) $sample_lenght:=...
  14. P.N.

    KSP: get sample length

    I'm not sure i get the question. In the note callback you'd just (taking in consideration my previous example): $sample_length := %zone_length[$EVENT_NOTE+ ($active_group * $NUM_KEYS)] or $sample_length := %zone_length[get_event_par($EVENT_ID, $EVENT_PAR_NOTE) + ($ACTIVE_GROUP * $NUM_KEYS)]...
  15. P.N.

    KSP: get sample length

    Yes, the code i posted assumes 1 zone per key only. It would be a question of adding another nested loop to the code and another dimension to the array.
  16. P.N.

    KSP: get sample length

    It's just a temp note, normally inaudible in order to produce a certain result. The idea is to provide Kontakt with an artificial trigger. Here's something ready to go. I think it should work (i'm not near kontakt atm). With this, zone id will get -1 if no zone is found, and sample lenght will...
  17. P.N.

    KSP: get sample length

    Yes. In this case, if your goal is getting the lenght, yes, you need to get the ID, then get the lenght. I'd recommend getting all the IDs with the blip trick, save the resulting array, loading the array on init mode 2, then using that array in the NCB, like this: target lenght = target note +...
  18. P.N.

    Need Help with NKA Preset File Browser

    Nah, not silly. It really depends on your script and your needs. If you had just a couple of "factory" presets, maybe it wouldn't be worth it using external arrays. :)
  19. P.N.

    Please help! Iam new

    Hello, Kikin. Why do you need to look at the script? To learn? For that purpose there are far better resources available. To modify it in order to better suit your experience? If that's the case, i'd recommend contacting the developer and requesting new features or submiting a bug report. Best...
  20. P.N.

    Need Help with NKA Preset File Browser

    You can (int and, if i'm not mistaken, real arrays too). String arrays cannot. Still, if your idea is having a bunch of persistent arrays around, consider this: - Preset arrays can grow to huge sizes; - You'd need to store a lot of these persistent arrays (depending on the number of presets...
  21. P.N.

    Need Help with NKA Preset File Browser

    The base theory is pretty much the same no matter which method is used. If you have a load/save button, it would work as follow: On save, write the values of the relevant controls into an array, preferably in a loop. At this stage there may be situations where a 2D array is useful in order to...
  22. P.N.

    Need Help with NKA Preset File Browser

    Yes, the snapshots need to be manually copied which is an inconvenience. There are a lot of preset browsers around. Some make use of the internal filebrowser. Others use specialized solutions that allow the user to also create and rename new user presets. This last solution is not very easy to...
  23. P.N.

    Need Help with NKA Preset File Browser

    Hello. Have you considered snapshots? If you don't know enough about scripting, these are the perfect solution. You can even organize them into folders in order to create nested menus in the snapshot browser. Cheers.
  24. P.N.

    Update from Kontakt 5 to Kontakt 6

    Even without considering the current discount, i'd say yes. You won't find it too different, from a user perspective, but you're also getting a few new instruments and the potencial for future instruments which will make heavy use of K6's new features.
  25. P.N.

    Stop voice after sample has been released?

    @thesteelydane Your solution is a lot simpler and is the first thing that the OP should try. ;) (Now when i think about Kontakt, i can only think about code...)
  26. P.N.

    Stop voice after sample has been released?

    Hi. I don't know which product you're refering to here, but normally voices should stop after Kontakt's internal envelope ends its release stage. Now, it's quite possible that in some of the products you're using, the developer opted to override kontakt's release stage with a scripted solution...
  27. P.N.

    Strange set_controller() behavior

    Hi. There are a few operations that i assume are not async operations, but still have a microsecond of reserved processing time (even if they take a lot less than 1 microsecond to return on modern machines). Maybe it's a situation similar to "get event par zone id", for example? I'm just...
  28. P.N.

    Kontakt sample Sequencer similar to Arpology

    Hi. Probably a quick way to do this would be... A) - Create a new Kontakt instrument. B) - Enter Edit mode and add the factory poly step script to slots 1 and 2. C) - Set up your rythms in each script. D) - This may be a little tricky if you don't script, but it's fairly simple to do: Modify...
  29. P.N.

    Max. height of performance view in Kontakt 6 ?

    In a perfect world, the max resolution for k6 would be 6k. ;)
  30. P.N.

    Key colors & Kontakt versions?

    There was a version of Kontakt a while back that didn't light up the full key. It got changed back eventually. That might be it. Users with other versions will still see the full key light up, so don't worry about it.
  31. P.N.

    Saving Numbers & Strings into a single file

    Can't do anything for text_edits, but it might be useful to the OP. :)
  32. P.N.

    Saving Numbers & Strings into a single file

    Well, if you only needed to save a string variable, you could save_array_str() and use the string as the name of your integer array. After, you may use a file selector to browse the integers arrays that were saved with the string name... but... i don't know if this helps your specific scenario.
  33. P.N.

    Saving Numbers & Strings into a single file

    You can't mix strings, integers or real numbers in the same array... Integers and real numbers you mght get way with conversions and use a single array (either with integers or real numbers), depending on your goals, but strings are another matter.
  34. P.N.

    Kontakt 6

    Without mentioning the new functionality too much (FX, source module, etc), i think you're gaining a lot for $50 dollares. You're not only getting what Kontakt 6 currently is, but also what it will become as more updates roll out. Best regards, Paulo
  35. P.N.

    LFO from different groups slightly out of phase [SOLVED via KSP]

    I see. Any reason why you can't do this on RCB? Having sequential loops on the NCB has sometimes resulted in unexpected results for me in the past.
  36. P.N.

    LFO from different groups slightly out of phase [SOLVED via KSP]

    Alright. Sorry, i may have lost focus on the issues, but... on note while (event_status ($EVENT_ID) # $EVENT_STATUS_INACTIVE) change_tune ($EVENT_ID, $detune - $buffer , 1) $buffer := $detune wait (10000) end while end on ...has a bug? And ($NOTE_HELD = 1) will break the...
  37. P.N.

    LFO from different groups slightly out of phase [SOLVED via KSP]

    Maybe you can set_event_par(<id>, $EVENT_PAR_TUNE) in your first tune function, then use get_event_par(<id>, $EVENT_PAR_TUNE) to retrieve the previously set tuning. That might allow you to do relative tune changes... The tuning would need to be refreshed on the NCB, but i'm not 100% this will...
  38. P.N.

    LFO from different groups slightly out of phase [SOLVED via KSP]

    Ah, you have this in multiple scripts? I see. If you didn't you could add all the current events (including the unisons) into the array that would be used in the change tune function. Still, you could probably do this with PGS keys, i imagine. Probably best to wait and see if someone else has a...
  39. P.N.

    LFO from different groups slightly out of phase [SOLVED via KSP]

    Hum... i see what you mean. I think for this this, you should probably script an LFO to change_tune() "simultaneously" for all the groups you wish to affect. The minimum listener time in ms is 1, so i'm not sure if it will still result in phasing issues, though. But maybe you can call a...
  40. P.N.

    Very nerdy, low-level question about conditions in KSP ...

    Here's an idea: Ditch the compiler completely and only work in native KS. Who's with me? :D Anyone?...
  41. P.N.

    Very nerdy, low-level question about conditions in KSP ...

    You mean like... a race? Seems fun. :D
  42. P.N.

    Very nerdy, low-level question about conditions in KSP ...

    If i had to guess, i'd say the left side would be evaluated first, simply because of the order of the statement... but this is just a guess. I never considered this too much in relation to how it may impact the speed, though. Interesting.
  43. P.N.

    [ANSWERED] Change group's engine (from sampler to DFD) via KSP ?

    Hi, Fredeke. This is unrelated, but you may come across a situation where you'd like to chose between sampler and a "time" source. For this, there's in fact a command, so you don't need to duplicate groups. dont_use_machine_mode(<id>) I know this is not the original question, but may come...
  44. P.N.

    Beginner Questions - controlling the bus 1 & 2 with one slider

    IMHO, that's something a 13 year old would say. :D But seriously, if Breaking Bad taught me anything, is that we should try to stay away from math whenever possible.
  45. P.N.

    Value->milliseconds table

    Yeah, i did one too for release and the first values are a little strange, at least the first absolute minimum values don't scale correctly. They start going up then then decrease again. It's not something too noticieable though, because it's in the microsecond range.
  46. P.N.

    LCB to read first played note sample position

    Hi. I'm not going to comment on the script, but one thing to take into account is making sure that the sample mod value is adequate (if you're testing in DFD).
  47. P.N.

    Beginner Questions - controlling the bus 1 & 2 with one slider

    Hi. CC or other mod shaper methods are only meant for group crossfading. For busses, use an array that simultaneously increases the volume of bus A while decreasing the volume of bus B. For simplicity, it would be better if your crossfade slider range is 0-1000, as most arrays i've seen...
  48. P.N.

    Modulated AHDSR release value possible to print on screen?

    Hi. I'm not sure i'm following. If you're using a CC, (except the pitchwheel), you must multiply it by 7874 if you're actively scripting CCs. Not when you just assign CCs to a specific control via Kontakt's "learn CC" feature. (because those CC ranges are 0-127, and engine parameters range...
  49. P.N.

    Find_mod problems

    Sometimes it's just a small mistake that can lead to these issues. If using Kontakt's default names fixed it, that means there was a stubborn modulator not renamed correctly... :) I don't know about K6. I'm still on 5. Will need to update next week or so. If someone had an extra K5 > K6 update...
Top Bottom