How to minify a Kontakt library?

Discussion in 'Kontakt' started by mrpsanter, Jul 2, 2021.

  1. mrpsanter

    mrpsanter Audiosexual

    Joined:
    Mar 28, 2014
    Messages:
    1,780
    Likes Received:
    898
    I saw a few libs on the sister site that have been minified (ie: stripped off of some mics and/or having a reduced bitrate).

    I have many libs that I would be more than happy to remove some mics but I have no clue where/how to start:

    A good soul would be willing to write a HowTo with all the steps to do just that?
     
    • Like Like x 1
    • Love it! Love it! x 1
    • List
  2.  
  3. rollerball

    rollerball Platinum Record

    Joined:
    May 27, 2020
    Messages:
    288
    Likes Received:
    229
    I'll be doing one soon!
     
    • Like Like x 9
    • Winner Winner x 5
    • Love it! Love it! x 4
    • Useful Useful x 1
    • List
  4. Kundalini

    Kundalini Kapellmeister

    Joined:
    Apr 11, 2013
    Messages:
    84
    Likes Received:
    48
    i would love such a tutorial, this would help me a lot with my Kontakt libraries
     
  5. homer_simpson

    homer_simpson Platinum Record

    Joined:
    Jan 21, 2014
    Messages:
    356
    Likes Received:
    168
    Location:
    Poland
    yeah... would b nice to see that tutorial and do own minify..... a lot of minify....


    [​IMG]
     
  6. Xupito

    Xupito Audiosexual

    Joined:
    Jan 21, 2012
    Messages:
    6,981
    Likes Received:
    3,852
    Location:
    Europe
    You probably don't need it, but hit me if you want some help. I've quite some experience.
     
    • Like Like x 1
    • Love it! Love it! x 1
    • List
  7. mrpsanter

    mrpsanter Audiosexual

    Joined:
    Mar 28, 2014
    Messages:
    1,780
    Likes Received:
    898
    Awesome!
     
  8. BaSsDuDe

    BaSsDuDe Audiosexual

    Joined:
    Mar 3, 2021
    Messages:
    1,789
    Likes Received:
    1,409
    Many of the cut-down libraries seem to delete all the 24bit versions and leave the 16bit equivalents, which cuts back as much as 60% in some libraries.

    I really wanted to be silly and say the fastest way to minimise any Kontakt library is to delete it, but some people may not see the humour in that.:rofl:
     
    • Funny Funny x 3
    • Like Like x 1
    • List
  9. Xupito

    Xupito Audiosexual

    Joined:
    Jan 21, 2012
    Messages:
    6,981
    Likes Received:
    3,852
    Location:
    Europe
    What humor? It's the way I do it . Is there other way?
    :rofl:
     
    • Funny Funny x 3
    • Agree Agree x 1
    • List
  10. jishnu

    jishnu Kapellmeister

    Joined:
    Aug 7, 2020
    Messages:
    116
    Likes Received:
    45
    This would be so helpful!

    I'd be very grateful if you do :bow:
     
  11. embryo

    embryo Noisemaker

    Joined:
    Jan 31, 2021
    Messages:
    4
    Likes Received:
    3
    Well, there are many steps to the procedure.
    Some, depends on the library and some are standard.
    - I usually extract the .wav files doing a "Collect samples/Batch compress" from Kontakt.
    - I check the instrument groups to see what samples are used for what mics. This can be difficult or not, depending on the library's developer.
    - I move all the samples that I don't need to another directory.
    - Then I convert the remaining, useful ones with a program of mine (KataLib) to 16bit, and if they're at a sampling frequency higher than 48khz, to their half (The conversion from 96khz to 44.1khz is best avoided because it produces mathematical errors. Halving is much better).
    - After that I use some python scripting to copy empty samples with the names of the ones I didn't use, next to the converted ones.
    - Some libraries require editing of their scripts, to add/change some GUI elements and/or functionality.
    - Another tedious step is to open every single instrument/multi and resave it with new mic and reverb settings.
    - I then resave the library from Kontakt using the "Collect samples/Batch compress" option.
     
    • Like Like x 3
    • Useful Useful x 2
    • Winner Winner x 1
    • Interesting Interesting x 1
    • List
  12. Xupito

    Xupito Audiosexual

    Joined:
    Jan 21, 2012
    Messages:
    6,981
    Likes Received:
    3,852
    Location:
    Europe
    Thats what I used to do, resampling to half. But it messes up every sample with loop, offset start and other features. Dont recommend it.
    Cool trick. Must save time in the final instrument resave.
     
  13. embryo

    embryo Noisemaker

    Joined:
    Jan 31, 2021
    Messages:
    4
    Likes Received:
    3
    Never encounter a problem like this.
    From what you describe, it looks like your conversion program did the conversion but did not change the "Sample Frequency" at the headers of the converted files.
    Its the only way to change the duration of the samples and produce the problems you see..:)
     
  14. rollerball

    rollerball Platinum Record

    Joined:
    May 27, 2020
    Messages:
    288
    Likes Received:
    229
    It's very much interesting how you've never had this issue. To store loop points, Kontakt uses the loop start sample number and the loop end sample number. When you change the sample rate, Kontakt still stores the numbers defined earlier, thereby messing up the loop points and causing clicks and pops. You'd then have to go in and adjust the loop points of each individual sample.
    Also, I haven't encountered any library with 96kHz samples yet. Can you give me some examples?

    EDIT: Your conversion utility seems interesting. I'll try it out the next time around.
     
    Last edited: Jul 15, 2021
  15. embryo

    embryo Noisemaker

    Joined:
    Jan 31, 2021
    Messages:
    4
    Likes Received:
    3
    Well, you're right.. I stand corrected.:(
    I've seen a couple, but they shouldn't have loops in them, because I didn't hear any problems.
    Its been a long time though, and I don't remember which they were..
     
  16. Xupito

    Xupito Audiosexual

    Joined:
    Jan 21, 2012
    Messages:
    6,981
    Likes Received:
    3,852
    Location:
    Europe
    Some 8Dio I think Lacrimosa is one of them.
     
  17. happyoung

    happyoung Newbie

    Joined:
    Apr 27, 2020
    Messages:
    3
    Likes Received:
    0
    Does it Dithering when converting to 16bit with KataLib?:wink:
     
  18. embryo

    embryo Noisemaker

    Joined:
    Jan 31, 2021
    Messages:
    4
    Likes Received:
    3
    I use FFMPEG and I think that the default dithering is "rectangular" with"dither_scale" at 1.
     
  19. demberto

    demberto Rock Star

    Joined:
    Nov 27, 2018
    Messages:
    931
    Likes Received:
    325
    You can use Voxengo r8brain for batch converting and resampling, it also has dithering
     
Loading...
Similar Threads - minify Kontakt library Forum Date
I want to minify SA Chamber Strings. Can someone point me in the right direction? Kontakt Dec 10, 2021
SonicCouture Kora Kontakt - brand new release! Software News Today at 4:48 PM
Kontakt is the worst thing, why did we adopt this as a standard? Samplers, Synthesizers Friday at 12:22 AM
Utilising cracked Kontakt to trial libraries? Mac / Hackintosh Thursday at 9:52 PM
how do i install kontakt 7 on windows? pls help Kontakt Thursday at 4:15 PM
Loading...