Steve made an experimental plugin for Audacity which can be used to modify the frequency-response of one file to match another … https://forum.audacityteam.org/t/harmonize-2-audio-sounds/36058/5
NB: Steve’s plugin is not the same as auto-tune , which is what you could also be describing.