Patent attributes
Features are disclosed for measuring and correcting clock drift and propagation delay in an audio system through one or more waveforms embedded in an audio signal. A first device in communication with a speaker may be configured to obtain an audio signal and insert one or more waveforms into the audio signal. For example, the waveforms may be inserted during an interval of time. A second device in communication with a microphone may be configured to detect sound as an audio input signal. The second device may obtain a spectral representation of the audio input signal and determine a rotation based on the spectral representation at the frequency of at least one of the inserted waveforms. Clock drift may be determined based on the rotation.