KSP Percussive Scripts v1.1 - by Frank Condello www.chaoticbox.com
The following Kontakt 2 scripts were designed to enhance the realism of percussion instruments, especially when played live on electronic drum hardware. Keyboard players and point-and-click programmers should also find them useful. The are free to use and modify.

Installation
Place the .nkp files into Kontakt 2's scripts directory, under the appropriate sub directory such as Performance (or whatever you please).

On Mac OS X this would typically be inside:
./Applications/Native Instruments/Kontakt 2/presets/scripts/Performance/

On Windows XP it would typically be inside:
C:\Program Files\Native Instruments\Kontakt 2\presets\scripts\Performance\

Restart Kontakt and/or your host DAW and the new scripts can be loaded from the Scripts menu in the Scripting section of the instrument editor. Plain text version of the scripts are also supplied if you prefer to cut and paste directly into Kontakt.

Percussion Legato
Percussion Legato Screenshot

Percussion Legato uses an adaptive technique to blend sequential hits together based on their velocity and frequency. The result is more natural sounding cymbal swells and buzz rolls. This script can be set up and left on for the entire length of a performance since the legato only kicks in when you'd expect and need it, allowing the initial transients through in a realistic fashion.

 Usage:
Interval Maximum time between hits (in seconds) before they are considered legato
Attack The maximum fade-in/blend time for legato hits (in seconds)
Adaptive When set to full (100) The attack rate is scaled down based on the velocity of the legato hit, and how late it occurred. This is generally more realistic but can introduce unwanted transients with some samples. Lowering the Adaptive value scales this effect back, resulting in smoother but less responsive legato. When Adaptive reaches zero, the maximum attack rate is used for all legato hits.
Please see the Setting A Key Range section below for details on how to limit the effect to a specific range of notes.

 Tips:
An alternate Percussion Legato (Paired) script is supplied that allows you to configure note-pair sets that will react as a single note as far as legato is concerned. This is useful for sample sets that have alternate articulations for the same instrument, e.g. separate left and right hand samples for drum hits mapped onto separate keys.
The default settings are a decent starting point for cymbals but you'll want to tighten up the timings for snares or toms.
You'll probably want to exclude rides and hi-hats when applying legato (or at least use it sparingly).

Pitch Dynamics
Positional Pitch Control Screenshot

Pitch Dynamics attempts to emulate acoustic drum dynamics where hits close to the rim produce a higher pitched tone than hits near the centre of the head. This script is most useful in combination with edrum hardware capable of generating "position sensing" data (e.g. for the snare drum). This script also contains a control to modify pitch based on velocity, which can be used separately or in conjunction with the position sensing parameters.

Note that the end result is different than a normal MIDI pitch bend since detuned notes ring out in full rather than sliding along with a continuously changing pitch value.

 Usage:
Controller The MIDI controller number sending the positional data. Set to zero to ignore all CC data (i.e. velocity based only).
Detune The tuning offset for the edge of the drum (in semitones). This works in conjunction with the Controller data, where a CC value of 0 (centre) results in no pitch modification, and a CC value of 127 (edge) will pitch up by the full Detune value. To lower the pitch rather than raise it, activate the Invert_Detune button.
Zone Adjusts the "dead zone" in the centre of the drum where no pitch modulation should occur. A value of 0 means only dead-centre hits will be natural pitch, and 126 means only hits on the extreme edge will modify the pitch. Note that this parameter only affects the Controller/Detune pitch, if does not affect VeloDet.
VeloDet If non-zero, harder hits will pitch towards this tuning offset (in semitones). A velocity of 1 equals no change, and 127 is full VeloDet offset. To lower the pitch rather than raise it, activate the Invert_VeloDet button.
Please see the Setting A Key Range section below for details on how to limit the effect to a specific range of notes.

 Tips:
This effect can easily sound artificial with high Detune or VeloDet values, but doing this intentionally may be useful as a deliberate over-the-top effect.
For snare drums, it's often best to double up snare samples, detuning one more than the other, or simply only applying the script to one of them. E.g. If you're using separate snare-top and snare-bottom samples, try pitching just the top and playing with the relative output levels.

Setting A Key Range
Percussion Legato Screenshot

All the KSP Percussive scripts include parameters to limit the script's effect to a specified range of keys. This can come in handy when using instruments with multiple sample mappings such as GM drum kits.

To set the key range interactively, press the Set_Note_Range button and follow the text prompts by hitting a key on the Kontakt graphical keyboard, or on any attached MIDI hardware. Hitting the Set_Note_Range button a second time before setting both keys will cancel the operation.

The Low and High note values can also be entered directly.

 Tips:
The Percussion Legato (Paired) script will always display the last note value in the text field next to the Set_Note_Range button to facilitate the configuration of legato key-pairs.