Created
November 3, 2023 18:00
-
-
Save aike/1d3b8c68fe5ba8ef4a3db0df765fafa5 to your computer and use it in GitHub Desktop.
KONTAKT sample file loader for CREATOR TOOLS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- KONTAKT sample file loader for CREATOR TOOLS | |
local path = "C:/work/Samples" | |
for _, file in filesystem.directoryRecursive(path) do | |
if filesystem.isRegularFile(file) then | |
if filesystem.extension(file) == ".wav" then | |
print(file) | |
local z = Zone() | |
z.file = file | |
instrument.groups[0].zones:add(z) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment