Automatic root key detection and pitch correction

If I load samples, which are slightly out of tune or I dont know the root key, there should be an automatic root key detection and correction for it.

As example, I record my own Samples and import it into Halion, it would be nice, if it detects the root keys, correct detunings and automap it ALL IN ONE STEP! THis would be the best feature for Halion!

Wow, most definitely, but is that even possible? Can it actually be possible to accurately detect such properties?

Yes it is easy to make. But just a few samplers which I cant work with because they are DAW specific like EDISON, have this extreme helpful feature.

With this feature you can create your own instruments with as example ordinary things like glass or wood.