Question: Quick Way For Different Samples To Different Notes

This is something I’ve wanted to do for a long time, after hearing Squarepusher do it.

To create instruments with many different tuned samples to the correct corresponding note tunings. Each note has a different sample, and the sample in turn is tuned to the note it’s assigned. It’s really easy to do this with a vst and program change commands, but the output gets very random sometimes with assorted vsts.
Any hints or ideas on how to possibly do this as close to automated as it could be?