I have 2 sets of data containing delays (audio / video).
data1 = Table[Sin[x + RandomReal[]/4], {x, 0, 2 Pi, Pi/10}]
data2 = Table[Sin[x + Pi/4 + RandomReal[]/4], {x, 0, 2 Pi, Pi/10}]
ListLinePlot[{data1, data2}, PlotRange -> All, Filling -> {1 -> 0, 2 -> 0}]

I want to correlate delays and find the synchronization offset.
- in one instance of time
- over a longer period

