This is a MatLab code to synchronize two long audio files which means that the drift between the clock of both audios and the "strange pieces" added by one of the recording devices are taken in account.
Some end users' (like us) tests have detected malfunctions, omissions and possible improvements to fix/add, but it would be even more interesting to have some "alignment experts" - like you - feedbacks/opinions too: