How to deal with non 440 Hz tuning?

There are quite some songs not tuned to 440Hz, so I need to fine tune a songs pitch offset to harmonically match it to standard 440Hz tunings, and then set Key lock, change the speed, and transpose…

Further for such a song which is 1/4 note off, the Key detection will always be wrong, which might drive users mad, because they will never get it harmonically synced.

Dealing with fine tuning, these topic are more or less related:

http://community.algoriddim.com/algor…
http://community.algoriddim.com/algor…
http://community.algoriddim.com/algor…
http://community.algoriddim.com/algor…