Please be advised that due to scheduled infrastructure maintenance, we anticipate downtimes for the Native Instruments websites and Native Access on February 28, 2024 starting at 06:00 CET. For more details, click here.

stacking samples vertically in mapping editor

robertjwright
robertjwright Member Posts: 3 Newcomer
edited June 2023 in Scripting Workshop

hi folks: i'm quite new to this so please bear with me. what i need to do is to drag a bunch of samples into kontakt's mapping editor and stack them vertically rather than horizontally. obviously i can do it manually, but it takes forever since i need 256 samples to be placed in 4 vertical lanes of 64 samples each. any ideas on how to do this quickly?

thanks so much,

rob

Comments

  • LostInFoundation
    LostInFoundation Member Posts: 4,004 Expert

    64 Samples on a single lane? 😶

  • stephen24
    stephen24 Member Posts: 257 Advisor

    I don't think there is any way of doing this in the Kontakt editor, but it would be easier if you could make 4 horizontal strips, adding an index to the 64 files in each strip, using Bulk Rename Utility or something similar, which would enable you to use the automatic mapping system. Move them up to the velocity you want, then use a simple script to swap note and velocity. Something like

    on note
     set_event_par($EVENT_ID,$EVENT_PAR_NOTE,$EVENT_PAR_VELOCITY)
     set_event_par($EVENT_ID,$EVENT_PAR_VELOCITY,$EVENT_PAR_NOTE)
    end on
    

    (Paste into empty script slot and click Apply)

  • supervillain
    supervillain Member Posts: 3 Newcomer
    edited June 2023

    By quickly, do you mean spend the time to write an automation script? This can be done, but geesh... It's a matter of trial and error...

    I recently accomplished something similar, stacking and sorting zones in the mapper. But i cant tell you how i did it, im working under contract right now. I can tell you though, this is possible through automation.


    attach_zone()

    ^might be worth experimenting with

Back To Top