KSP Multiscripting purpose

Home Forums Pianobook KSP Multiscripting purpose

Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1447248
    Maximilian KisbiroMaximilian Kisbiro
    Participant

    Hello PB-Community!

    Does anyone have any experiences with multiscripting in Kontakt?
    I haven´t found a lot of ressources about this and mostly it is not
    possible to view in the script of commercial libraries, because the script
    locked with a password or you can´t even click on the “edit”-button
    (does anyone know how to disable the edit-button do this to your own script or
    is there just an invisiblie GUI-object laid over it?)
    I´ve read that multiscripting is only capable of processing midi-data.
    In some of the Heavyocity-libraries they have additional scripts for
    RR´s and unison qith an additional inaccessible GUI.
    So when and why to use mutiscripting? Shouldn´t it just be possible to
    do all this in the main-script also?

    best regards
    Max

    #1447285
    AvatarSid
    Participant

    Useful intro to multi-scripts:

    #1447330
    Maximilian KisbiroMaximilian Kisbiro
    Participant

    Hey Sid,

    thanks for the reply. I don´t have ADSR on my radar so thi one slipped through me, thanks!

    But it is not adressing the initial question. I should have been more specific, sorry.
    My question adresses multiscripting within an instrument. I don´t want to alter events on a
    global scale. Is there any reason I would need to use multiple scripts within an instrument
    or is this more of a convenience-thing / does it make specific things easier to achieve?

    best regards
    Max

    #1447556
    AvatarSid
    Participant

    Multi Scripts work at the Multi level. This allows you to process MIDI globally across your Kontakt Instance. If you are not making an .nkm file containing multiple instruments, there is no need for multi scripting.

    #1447558
    Maximilian KisbiroMaximilian Kisbiro
    Participant

    Okay, thanks for the answer!

    But what is the purpose of having up to 5 scripts within the same instrument?
    This is also pure midi functionality. I just laodad a harmonizer in the second
    script of the isntrument I am working on atm and it processed incoming midi-data
    only within this Instrument. So there is multiscripting on a global level and on
    an isntrument level. So when and why should I use this feature within a single
    instrument? What is the usecase/benefit of just not putting the code for the
    functionality into the first script in my instrument?

    Thanks
    Max

    #1447563
    AvatarSid
    Participant

    Hi,
    The five script locations within the single instrument are not what kontakt calls multi-scripting, as discussed above. Multiscripts are reached by clicking the KSP button. The point of having five script locations is for organization. For example you may have got a script off the web, or from the presets that you want to run as well as perhaps a UI script that you have written. keeping them separate makes them easier to debug, use/reuse.

    #1447577
    Maximilian KisbiroMaximilian Kisbiro
    Participant

    Hey Sid,

    thanks for clarfication. I just saw the Multiscripting-section in the KSP-Reference and thought it was
    adressing every situation where multiple scripts are accessible.

    That´s the information i hav been looking for! So I could/should use one script for the GUI,
    one for (in my case) an arpeggiator, one for round robins and one for the GUI-interaction?

    Thanks

    Max

    #1448109
    Maximilian KisbiroMaximilian Kisbiro
    Participant

    Hey,

    do you know, if the five scripts on instrument-level can crosstalk?

    #1448142
    AvatarSid
    Participant

    In the KSP Reference Manual, look up: Program Global Storage (PGS)

    It allows you to pass values between scripts. Or technically, set global variables that can be used by any script.

    #1448158
    Maximilian KisbiroMaximilian Kisbiro
    Participant

    Yeah, that´s the information needed.
    Thanks again!

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.

Follow Pianobook