How to Fix vertically shifted waveforms recorded on different devices?

There’s an Audacity plug-in which can be used to create matching frequency-analyses, but it’s not user-friendly.
If the rooms have different reverberation, (e.g. different sizes, furnishing, flooring, etc),
then you will still be able to spot the join, even if the frequency-analyses are made identical.