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

4 Part divisi multi script for Kontakt (with correct legato connections)

Discussion in 'Scripting Workshop' started by Mark Palenik, Aug 18, 2011.

  1. Mark Palenik

    Mark Palenik New Member

    Messages:
    7
    I wrote this originally with the intent of using it with session strings pro (since it comes with 4 separate sections), but you could use it with any 4 string patches or 4 brass patches, etc.

    Given 4 different instrument patches, this script divides chords that you play among the 4 patches, connecting legato lines correctly. If you only play one note, it gets sent to all 4 patches. If you play 2, it does 2 on one note and 2 on the other, etc.

    If you play 5 notes at once, it determines which one to remove and sends the remaining 4 to the 4 string patches.

    Here's what you do:
    load your 4 different string sections to 4 different channels. By default, they should be set to channels 1, 2, 3, and 4, although you can adjust this.

    Set the input channel to whatever you want. By default it's [A]1. Midi sent to this channel will get rerouted to the 4 patches in 4 sequential midi channels (by default 1, 2, 3, and 4), dividing up the notes correctly.

    Sorry for the crappy interface, but I just threw this together tonight and I've never really done any Kontakt scripting before, so I don't know how to make the interface look better.

    http://www.mediafire.com/file/qfs8wxz17wt838u/4PartDivisi.nkp

    Let me know if you find it useful.
     
    • Informative Informative x 1
  2. David Das

    David Das Moderator Moderator

    Messages:
    7,060
    Great idea for a script. I'll try to test it later.

    (Meanwhile, I'm moving the thread to the Scripting forum.)
     
  3. Mark Palenik

    Mark Palenik New Member

    Messages:
    7
  4. stevefal

    stevefal New Member

    Messages:
    13
    If you're still around, does this script work in Kontakt 5? I've put it in /Library/Application Support/Native Instruments/Kontakt 5/presets, both Scripts and Multiscripts, and upon updating the library the script does not appear.

    Or how else can I bring this script into Kontakt 5?
     
  5. Levitanus

    Levitanus Member

    Messages:
    85
    I supporse that is multi-script)))
    Paste it in script box in multi-scripts tab
    Another multi-script solution, wrote for LASS in the past http://yadi.sk/d/aKi0AXeQMY2aX
    Choose the parent channel for every midi-channel you want.
    (if channel_1 = 1 is parent and channel_5 = 1 - channel_5 is child of the first, if channel_1 = 1 & channel_5 = 5 both are the parents for themselfs)
    When released note in child channel it makes legato to parent channel, if it have pressed at least one key.

    So, in a work: We use 1,2,3 channels for the A, B,C, violins. When we play a due - we need only one midi-track, when we play divisi - we need tree midi-tracks with their own parts, then, when we releasing note in one of child tracks (2,3) it makes legato transition to main track (1)
    P.S. in this case channel_1 = 1, channel_2 = 1, channel_3 = 1
     
  6. stevefal

    stevefal New Member

    Messages:
    13
    Thanks, but paste what? A file? Text from the file? How can I open one to get the text? What I need is the exact steps, because nothing I've tried allows me to load any of these scripts in the first place.
     
  7. stevefal

    stevefal New Member

    Messages:
    13
    Ok, finally figured it out. I needed to put .nkp files into /Users/steve/Documents/Native Instruments/Kontakt 5/presets/<myfolder> and reload the instrument. The scripts then appeared inside the Presets button of the script editor under the User category. Still not sure what to do with .nkm files.
     
  8. Levitanus

    Levitanus Member

    Messages:
    85
    nkm - multi-instruments. Load it within kontakt :)
    Scripts may be opened eith notepad and text may be passed to script box in script tabs (where is button aplly)