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!