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

Solved Round-robin keys/zones within a group.

Discussion in 'Scripting Workshop' started by JordonBeal, Sep 21, 2021.

  1. JordonBeal

    JordonBeal New Member

    Messages:
    2
    Hey, all. I'm new to this forum, so be gentle, haha.

    I'm working on a fairly large/complex drum library right now, and I'm looking to do the following so that I don't have 1000 groups:

    1. Round robin zones within a group (8 round robins, with multiple velocity layers)

    2. Be able to do this for each part of the drum kit.

    Basically I'd like to be able to lay out my round-robins and their velocity layers on notes (C-2 to G-2) 0-7, and then when the kick note is played (C1/36, for example), it will trigger notes 0-7. Each microphone would be in its own group. So:

    Kick In: Group 0
    Kick Out: Group 1
    Snare Top: Group 2
    Snare Btm: Group 3

    etc.

    I've spent a few hours searching this forum and a few others, and I can't quite seem to find the answer to this. I'm *quite* new to scripting in Kontakt, and this one definitely has me stumped.

    Cheers, all.
     
  2. medusa

    medusa NI Product Owner

    Messages:
    239
    You'll need to define an input note for each drum... ie. Kick_MIDI_In := 36. This could be fixed or possibly allow the user to change it so they can customise the mapping.

    Then in the note callback you select the played note for that drum (if EVENT_NOTE = Kick_MIDI_in). Disallow all groups, allow the kick groups, and play a note with the current robin (as the MIDI note) using the EVENT_VELOCITY. Your robin could rotate or random or whatever after the first one has played.
     
  3. JordonBeal

    JordonBeal New Member

    Messages:
    2
    That did it!

    Thank you, I’m not sure why I was stumbling on this, but that worked a treat!
     
    • Like Like x 1