The invention aligns two wide-bandwidth, high resolution data streams, in a manner
that retains the full bandwidth of the data streams, by using magnitude-only spectrograms
as inputs into the cross-correlation and sampling the cross-correlation at a coarse
sampling rate that is the final alignment quantization period. The invention also
enables selection of stable and distinctive audio segments for cross-correlation
by evaluating the energy in local audio segments and the variance in energy among
nearby audio segments.