Don’t know of any programs to automate but you could get through a fair few pretty quickly using a spectrum analyser and daw.

Using an analyser will let you re-pitch the sample actuarially and swiftly, Abletons analyser is nice…

I remember a program called MixedInKey, load songs in and it give key info, maybe it would work with short samples, dont know…

If ya find something easier, please share…