Lets break down this into several steps :
A slice loop by pitch (not by transients) to have one note in each slice
B load each slice into sampler and map it to slice sound note
C If wav loop contains less then 12 different notes then we need to spread closest notes onto missing notes(step 14,15)
I have found the way it could be done - see images step 1 - 15. But from time consumption it's not good for situation when you have 30 and more loops.
Also I already take a look at Kontakt and Image-line Edison scripting - it seems script have no access to corresponding DOM/API.
Step 1 Load sample into Image-Line Edison ( also could be done in Image-Line Slicex)

Step 2 Slice by pitch

Step 3 As a result we have one note in each slice

Step 4 Export slices

Step 5 Notice every slice file name contain pitch info

Step 6 Drag n Drop files to mapping editor (drop exactly to the keyboard area)

Step 7

Step 8

Step 9 Select "Set to single key"

Step 10

Step 11

Step 12

Step 13

Step 14

Step 15

Thank you!
