Is it possible to create a Halion instrument (map samples, add filters, set envelopes, add effects, etc) programmatically?
For example, Kontakt has “Creator Tools”. It is very limited, but you can programmatically map samples with it (among other things) using LUA. You can also use KSP from inside Kontakt to add effects, envelopes, filters, and such.