LiTE Converter - Automated 24/16 bits conversion for Kontakt Libraries

Discussion in 'Kontakt' started by yodadl, May 17, 2024.

  1. yodadl

    yodadl Producer

    Joined:
    Jan 21, 2022
    Messages:
    49
    Likes Received:
    75
    Hello,

    As I usually "minify" my libraries, I wrote a powershell script to automate some long and boring steps.

    Lite_Converter.jpg

    The script does the following:
    • NCW to WAV files conversion (using conNCW)
    • 24 bits to 16 bits WAV conversion
    • Dithering with subtle noise shaping curve (default, 15 curve profiles available)
    • 16 bits WAV to NCW file conversion
    What it does NOT:

    • Unpack or pack NKX files
    • Remove microphone position or any other strip operation
    • Resave kontakt instruments

      You still have to do these operations manually.

    If your library uses NCW samples (not packed in NKX containers), you can drop the entire library folder in source folder to convert it and get a lite version in a single operation.
    If samples are packed in NKX containers, you have to extract them before conversion using TotalCommander and inNKX plugin or the provided DoubleCommander which is a portable version with preinstalled inNKX plugin.

    The script uses these great open source / free tools:
    - conNCW
    - Sox https://sourceforge.net/projects/sox/
    - ReSampler https://github.com/jniemann66/ReSampler


    A english and french version of the script are available, documentation is english only.

    Download links


    Script (7.1 MB)
    https://rapidgator.net/file/aaa56ab4ce1f4a82424d7c43abbda013/Lite_Converter-YDL.rar.html


    Double Commander portable with inNKX 1.21 plugin (22 MB)
    https://multiup.io/d172247e969f88dc17d83a8fd02bdb88

    Google Drive link



    Feel free to report any issue.
     
    Last edited: Jun 7, 2025 at 10:58 AM
    • Like Like x 9
    • Love it! Love it! x 2
    • Agree Agree x 1
    • Interesting Interesting x 1
    • List
  2.  
  3. yodadl

    yodadl Producer

    Joined:
    Jan 21, 2022
    Messages:
    49
    Likes Received:
    75
    Script updated:

    - 16 bits wav files are directly copied to destination and not only dropped.
    That way, 24 bits libraries that contains some 16 bits samples won't generate a bad count error during conversion.

    - File count is displayed and logged in case of difference.

    Links are updated in first post.

    Please, feel free to give some feedback and report errors as needed.
     
    • Like Like x 3
    • Winner Winner x 1
    • List
  4. asdfsdasdfghjjjkytts

    asdfsdasdfghjjjkytts Newbie

    Joined:
    Aug 19, 2022
    Messages:
    1
    Likes Received:
    1
    Hi
    Thank you for creating such a useful Konakt script.

    There have been some trials and errors in resolving the conversion problems, but your manual has helped
    I'm so happy to reduce the capacity and use the disk economically in a convenient way.

    May you always be full of happiness.
     
    Last edited: Aug 28, 2024
  5. BlossomwoodsCollection

    BlossomwoodsCollection Kapellmeister

    Joined:
    Feb 24, 2024
    Messages:
    153
    Likes Received:
    63
    Hi Yoda, big fan of your work. Love the Spitfire Studio Strings minification.

    If we all had 100 TB SSD's, there would be no need for minification. But it is just simply not the case. I have multiple external drives, and none of them are over 2TB (ehd OR ssd). The one I use for my Kontakt libraries is only 500 gigs (i know, so small! :winker:).. Until i [eventually] upgrade it to a 2TB counterpart, this is as good as it gets for my Kontakt libraries. Being able to use Spitfire Studio Strings Pro at 1/5th the library size, for only an incremental quality hit, is incredible and very useful. Thank you for your great work.

    Just curious: have you ever considered doing a LiTE version for the 1955 Walker D?:disco:
     
  6. Talula

    Talula Rock Star

    Joined:
    Apr 22, 2018
    Messages:
    1,186
    Likes Received:
    356
    this library have official Lite edition.
     
    • Interesting Interesting x 1
    • List
  7. klausK

    klausK Newbie

    Joined:
    Sep 28, 2019
    Messages:
    2
    Likes Received:
    0
    @yodadl just a heads up..
    download links for Double Commander are down
     
    Last edited: Sep 16, 2024
  8. yodadl

    yodadl Producer

    Joined:
    Jan 21, 2022
    Messages:
    49
    Likes Received:
    75
    Thanks for your kind words :)
    I do it to preserve my disks, but also keep projects memory low and reduce loading time.
    No project for 1955 Walker, so huge for a piano, and I already have a ton of very good pianos.

    I replaced the link, thanks for reporting it.
     
  9. The_Pro

    The_Pro Noisemaker

    Joined:
    Apr 10, 2022
    Messages:
    19
    Likes Received:
    3
    Can you please re-upload the Double Commander? The links are down.
     
  10. yodadl

    yodadl Producer

    Joined:
    Jan 21, 2022
    Messages:
    49
    Likes Received:
    75
    Sorry for being late, links updated.
     
  11. Thotu

    Thotu Producer

    Joined:
    Apr 18, 2021
    Messages:
    184
    Likes Received:
    93
    Can you please reupload the scripts? Both the Kat and Rapidgator are down.
     
  12. yodadl

    yodadl Producer

    Joined:
    Jan 21, 2022
    Messages:
    49
    Likes Received:
    75
    I currently work on an update allowing usage of wav files instead of ncw files, as recent libraries are often unreadable by innkx so we have to use Kontakt to extract files. In this context, I use Kontakt to directly extract wav files (24bits) and skip the ncw / wav conversion at script start.
    So I adapted a version of the script to use wav files as source.

    I will upload these updated scripts when ready, meanwhile I just updated the rapidgator link in first post.
     
  13. Thotu

    Thotu Producer

    Joined:
    Apr 18, 2021
    Messages:
    184
    Likes Received:
    93
    That's awesome. Thank you for the quick upload.
     
  14. Thotu

    Thotu Producer

    Joined:
    Apr 18, 2021
    Messages:
    184
    Likes Received:
    93
    Just compressed a couple of libraries and it worked really good. It was so quick. Thanks for the work.
     
  15. grrarrrgh

    grrarrrgh Member

    Joined:
    Mar 6, 2024
    Messages:
    86
    Likes Received:
    9
    Hopefully this will allow us to shrink libraries with samples in just raw wav format, I have to 7z but at least I’ll know which ones get another attempt when the update is released!
     
  16. Thotu

    Thotu Producer

    Joined:
    Apr 18, 2021
    Messages:
    184
    Likes Received:
    93
    Getting this error while extracting one of the libraries with the doublecmd tool-

    Screenshot_2025_06_07-3.png
     
  17. Thotu

    Thotu Producer

    Joined:
    Apr 18, 2021
    Messages:
    184
    Likes Received:
    93
    Nevermind. It was fixed after updating the inNKX tool from vkDanilov.
     
  18. yodadl

    yodadl Producer

    Joined:
    Jan 21, 2022
    Messages:
    49
    Likes Received:
    75
    Cool you share a link if you found a new version of inNKX?
    EDIT : Forget it, I found a 1.21 fixed but I already owned it, I thought it was the one I included with doublecmd, I will update it as well when I'll upload the new script.
     
    Last edited: Jun 8, 2025 at 9:20 AM
  19. Thotu

    Thotu Producer

    Joined:
    Apr 18, 2021
    Messages:
    184
    Likes Received:
    93
    I had a question. Why couldn't we clear the 24-bit WAV files immediately after converting them to 16-bit? That will require less empty space for the operations.
     
  20. yodadl

    yodadl Producer

    Joined:
    Jan 21, 2022
    Messages:
    49
    Likes Received:
    75
    I make all cleaning operations at the end but indeed if the filecount is correct after conversion it may be a good idea to delete temp files immediately. Your suggestion will be studied.

    I am currently writing a v2 version which may include nkx extraction and packing :)
     
  21. grrarrrgh

    grrarrrgh Member

    Joined:
    Mar 6, 2024
    Messages:
    86
    Likes Received:
    9
    This sounds like good news, soon I could drop a full library with nkx files, it extracts the samples, converts even if it’s just wavs and then packs them back into nkx with the same name and contents… 10 phantom rooms libraries are a big issue because they’re 10 thousand wavs instead of ncw so they can’t be shrunk right now
     
Loading...
Loading...