synaudio

JavaScript library that finds the synchronization point between two similar audio clips.


The synaudio library synchronizes two similar audio clips using the Pearson Correlation Coefficient.

This is implemented using Web Assembly SIMD instructions to used significantly increase performance. A single and multi-threaded Web Worker implementation is available as well that further increases performance.

This library is used in icecast-metadata-player to synchronize Icecast streaming audio between different connections and audio codecs.


How to use the demo

Sync Two Clips

Sync Multiple Clips


Select Audio Clips
  1. or
  2. or
SynAudio Results
Correlation Coefficient -
Sample Offset -
Time spent -
Rate (1x is realtime) -
Bytes per second -
SynAudio Options
FFT Options