Welcome to Part 2 of our Kontakt Workflow series! This post will focus on ways you can get Kontakt running more smoothly in your DAW and operating system of choice.
Computer Spec Check
Whether you’re on Windows or Mac OSX, Kontakt is a fairly efficient piece of software, refined through years of development and updates. That being said, before we delve into Kontakt and your DAW, it’s important to take stock of the machine you’re running it on. Setting aside the operating system, consider your available CPU (processing power), RAM (memory), hard drive space, and your audio interface.
CPU: Native Instruments recommends a Core 2 Duo processor at a minimum, released in 2006. If you’re using basic instruments with low polyphony, this is probably sufficient. However, most modern Kontakt libraries are more demanding, with advanced scripts, built-in FX, etc. An Intel Core i3/5/7 processor (2008-2009) is therefore more of a realistic minimum.
Why It Matters: When your CPU is overworked, it becomes unable to process audio in real-time, and the result is unpleasant pops, crackles, glitches or slowdowns in playback. Running at lower latencies (more on this later) causes the processor to work even harder. Note that even a very small sample library can be CPU-intensive due to scripting or high polyphony!
Why It Matters: By default, Kontakt loads only a small portion of each sample into RAM. The rest is kept on the hard drive and streamed via “DFD” (direct-from-disk). DFD settings can be changed to adjust this ratio. More memory will allow you to (a) load more samples simultaneously, and/or (b) conserve CPU by loading more of the sample into RAM! In fact, with enough RAM (16, 32, 64gb or more) it is even possible to disable DFD entirely for a big performance gain.
Hard Drives: Kontakt doesn’t use up much space, but as you probably know, sample libraries can be enormous. The value of a hard drive is obvious: more space = more storage for libraries, simple as that. How you configure them is slightly more tricky. If you frequently load multiple large libraries at once, you may benefit from using multiple hard drives, rather than putting them all on one. It is possible, due to disk streaming, for the hard drive to lag behind Kontakt’s demands with very high polyphony. Using multiple hard drives allows more bandwidth.
However, the ideal solution is actually the solid state drive, or SSD. SSDs have read/write speeds several orders of magnitude above a traditional drive. Not only does this allow for lightning-fast sample loading times, but better disk streaming as well. If at all possible, having an SSD for your operating system and one or more for your samples is the way to go!
Image courtesy of OCZ
Why It Matters: It’s all about the drivers! Good drivers mean more stability, and bad ones mean crashes and errors. Yes, it’s true: doing nothing but switching audio interfaces CAN make your DAW more stable! (Or less stable…) But most importantly, good drivers are more efficient at processing audio at lower latencies. As shown in the image below, some interfaces perform better (i.e. load more plugins/process more audio) than others.
Image courtesy of DAWBench.com
As mentioned earlier, it’s possible to tweak the DFD streaming settings in Kontakt. This can be done globally or on a per-patch basis. The global route can be done by going to Options (in Kontakt’s top toolbar) -> Memory, then checking “Override Instrument’s preload size” and changing the value of the slider, like so:
DFD tends to work better for libraries with fewer & longer samples. If you’re loading a library with 5,000 very small samples, then even with a small preload buffer, your memory usage will still creep up since each sample must have a memory footprint. As a result, you may want to tweak the DFD settings for instruments on an individual basis by first clicking on the ‘Wrench’ icon, then Instrument Options, then the DFD tab.
WARNING: Save backups of your NKI/NKM patches before trying the following edits!
Without getting too technical, an instrument (NKI) in Kontakt is composed of one or more “groups”. Each group can contain many “zones” (samples). Many modern libraries have dozens if not hundreds of groups, with delicate organization and naming. Changing group settings is generally a bad idea unless you know what you’re doing, BUT, this is also how you can shut off DFD completely, should you choose.
In any given instrument, hit the wrench icon, then open the Group Editor. One by one, click on each group, and find the dropdown pictured below. If “DFD” is selected, you can pick “Sampler” instead, and the entirety of that group’s samples will be loaded into RAM. No disk streaming! Depending on the instrument this may not even increase your RAM usage too significantly (i.e. groups with lots of small samples).
Besides everything mentioned above, there are other ways to impact how efficiently Kontakt runs with your processor – assuming it has multiple cores, as virtually all modern CPUs do. The first place to look is in Kontakt’s Engine settings.
Multiprocessor support is interesting. It might seem like a no-brainer; after all, why wouldn’t you want to make use of all your parallel processing power? However, while this should be enabled in standalone mode, it may not be the best option when used as a plugin. Most DAWs have their own “multithreading” going on which may conflict with Kontakt’s. If you are having performance issues and want to optimize your CPU usage, try the following configurations:
1. Kontakt multicore ON, DAW multicore OFF
2. Kontakt multicore OFF, DAW multicore ON
3. Kontakt multicore ON, DAW multicore ON
4. Kontakt multicore OFF, DAW multicore OFF
One of these will likely be better for your particular system than the others. A good way to test each setup is to write a fairly intensive MIDI sequence and play it at a fast tempo to jack up the polyphony.
Another possible configuration is to spread your instruments across multiple Kontakt instances. For example, rather than loading 4 NKIs into one Kontakt instance, load four Kontakts, each with one of those NKIs. Depending on your DAW and your processor, this can actually be more efficient, despite the slightly increased overhead from using multiple Kontakts.
Bridging and Kontakt
Sometimes, even with a computer that has amazing specs and a killer audio interface, you’ll still have stability or performance issues with Kontakt. You can beg and plead with your DAW all day, but it just won’t play nice. The first thing to try is a different DAW, but this is out of the question for many composers, who tend to be creatures of habit in our observation (and personal experience). The next logical step is exploring the world of bridging.
Err, not what we meant by bridge…
There are a few ways to bridge plugins, but do note that the process usually does take up a bit more CPU, and it can take a bit of time to set up, depending on the solution you pick. Also, if one method doesn’t provide the desired result, don’t give up; each bridging solution below is implemented differently even if the intended result is the same.
Method 1: Your DAW. Many DAWs these days come with their own bridge built in. How you access it can vary greatly. For example, in FL Studio (a 32bit DAW), all 64bit plugins are automatically bridged. Non-64bit plugins have an option in the VST wrapper to enabling bridging. This is always worth trying first, so check the manual for your DAW and see how you can access this feature if it’s available.
Method 3: Vienna Ensemble Pro. Vienna Instruments is one of the oldest and most celebrated developers of orchestral instruments, but they’ve also created this powerful program. Though it’s not cheap – over 200 euros as of this writing – it provides extensive options, features, and customizability for bridging plugins on your computer, or even across a network (LAN)! For particularly complex bridged setups, or ones using multiple PCs, this is an incredibly powerful option.
We hope you enjoyed Part 2 of our Kontakt series. In Part 3, we’ll talk about batch resaving, NCW, and more fun stuff. Thank you for reading!