1. IMPORTANT:
    We launched a new online community and this space is now closed. This community will be available as a read-only resources until further notice.
    JOIN US HERE

Keyswitch Help

Discussion in 'Scripting Workshop' started by DarylWise, Nov 16, 2021.

  1. DarylWise

    DarylWise New Member

    Messages:
    3
    I am helping a friend with his Kontakt instrument and ran into a roadblock with how he wants some keyswitches to be setup.

    I am trying to figure out how to create two "keyswitches" that change what groups a range of actual keyswitches will activate.

    So here is how he has it mapped out, he wants C0 and C#0 to change the amount of groups keyswitch range C1-F#1 will activate.

    So if you press C0, C1-F#1 range will light up a certain color (which I have already scripted) and pressing a key in that range will activate a certain group. But then pressing C#0 when then have the same C1-F#1 range light up a different color and pressing a key in that range will activate a different groups. So C0 and C#0 are articulation selectors and the C1-F#1 range are all the articulations.

    Any advice on how to script this?
     
    Last edited: Nov 16, 2021
  2. EvilDragon

    EvilDragon Well-Known Member

    Messages:
    19,938
    C0-C#0 would just change the state of one variable (C0 sets it to 0, C#0 sets it to 1), and then you conditionalize whatever you want to do based on that variable and its value. Of course, those two KS should also refresh keycolors and so on.