Audio Sync Offset Finder

Two recordings of the same moment — a camera's own sound and a separate microphone, say — line up once you know how far apart they start. This measures that gap for you, so you can slide one into place.

How to use it

Load the two files and the offset comes back measured to the individual sample, rather than to the nearest fraction of a second.

  1. Drop the two files in The first one is the reference and never moves. The second is the one that will be shifted. Video files work too — only the sound is read.
  2. Press find, and read the match strength A strong match means the answer is right to the sample. A weak one means the two recordings may not overlap at all, and you are told so instead of being handed a number.
  3. Save the lined-up file, or check it first The check file puts one recording in each ear. On headphones, two things that are in step sound like one sound in the middle of your head.
Full instructions

The two recordings

The first recording

The one everything else lines up to — usually the camera

The second recording

The one that will be moved — usually the separate recorder

A longer span finds a match in difficult recordings but takes longer
In depth

Lining up two recordings of the same moment so they start together

You filmed something on a camera and recorded the sound separately on a phone or a field recorder. The sound is better on the recorder, but it started at a different moment. This guide walks through every control on the Audio Sync Offset Finder, explains how the comparison works, gives a step-by-step example of syncing a camera file with an external recorder, and covers the edge cases where the match might be weak or wrong.

Screenshot: Same moment, two machines, one number
Same moment, two machines, one number as it appears when the page opens.

The problem this solves

Two devices recording the same event will start at different times. The camera began rolling three seconds before the external microphone was switched on, or the phone started filming ten seconds after the dedicated recorder. The result is two files that cover the same sounds but are offset by some number of milliseconds.

In video editing, you need these to start at exactly the same point so you can swap the camera's rough audio for the cleaner recording. Doing this by ear in a timeline is tedious and never quite right. This page automates it. You drop both files in, press a button, and it tells you the exact offset in milliseconds and in samples. It can then save a shifted copy of the second file so both recordings start together.

Dropping in the two files

The page shows two drop zones side by side in a panel labelled The two recordings. The left one says The first recording and has a hint underneath explaining that this is the reference - the one everything else lines up to, usually the camera. The right one says The second recording and notes that this is the file that will be moved, usually the separate recorder.

Both zones accept audio files and video files. When you drop a video in, only its sound track is read. The picture is ignored. This means you can drop a camera MP4 file directly without extracting the audio first. Any format the browser can play is accepted, including MP3, WAV, M4A, FLAC, OGG, and OPUS.

How much to compare and the match checkbox

Below the two drop zones is a settings panel. The How much to compare dropdown controls how many seconds of each file are analysed. The choices are the first 30 seconds, the first minute, the first two minutes, and as much as will fit. The default is the first minute.

A longer span takes more time to compute but finds matches in difficult recordings where the overlap is buried in noise or starts late. If both files have a clear shared event like a clap or a door slam in the first few seconds, 30 seconds is plenty. If the two files started far apart and the shared content does not begin until later, extend the span.

A checkbox labelled Make the lined-up file the same length as the first is ticked by default. When active, the shifted output is trimmed or padded so it has the same duration as the reference file. This makes it easy to drop into a video timeline as a direct replacement. Untick it if you want the full length of the second recording preserved.

What the comparison actually measures

The tool does not compare tone. It does not care whether one microphone is tinny and the other is rich. It compares timing only - when each burst of sound energy arrives. A phone held across the room and a studio condenser two inches from the speaker produce completely different waveforms, but the peaks of energy arrive at the same moments because they are caused by the same physical events.

The measurement uses cross-correlation. Each file is reduced to an energy envelope, and the tool slides one envelope along the other until it finds the offset where the two line up best. The strength of that alignment is reported as a match score. A strong match means the answer is reliable to the sample. A weak match means the two files may not overlap at all, and you are warned rather than given a bad number.

Reading the result

Press Find the offset and the analysis runs. When it finishes, a result panel appears labelled The answer. The headline number is the offset in milliseconds. Below it, a verdict box tells you whether the match is strong, moderate, or weak, and what that means.

A details section shows the offset in both milliseconds and samples, the sample rate, and the match strength as a percentage. If the second recording started after the first, the offset is positive and the shifted file will have silence added at the beginning. If it started before the first, the offset is negative and the beginning of the second file is trimmed.

Saving the lined-up file and the check file

Two buttons appear under the result. Save the second file, lined up produces a WAV file of the second recording shifted by the measured offset so it starts at the same moment as the first. Import this into your video editor alongside the footage and the sound should be in sync from the first frame.

Save a left-and-right check file produces a stereo WAV with the first recording in the left channel and the shifted second recording in the right channel. Put on headphones and listen. If the two are properly aligned, a sound that both recordings captured will appear as a single image in the centre of your head. If one side feels late, the offset is off and you may need to try a longer comparison span.

A worked example: camera plus lapel mic

You filmed an interview with a camera on a tripod and recorded the speaker on a lapel microphone feeding a phone in their pocket. The camera started rolling first. The phone recording started about eight seconds later when the speaker remembered to press record.

Drop the camera MP4 into the first slot. Drop the phone M4A into the second slot. Leave the comparison span on the first minute. Press Find the offset. After a few seconds, the result appears: the offset is 8,243 milliseconds, and the match strength is 94 percent. The verdict says the match is strong.

Press Save the second file, lined up. The output is a WAV with 8.243 seconds of silence at the start, followed by the lapel recording. Drop it into your video editor on a new track, align it to the start of the timeline, and the lapel audio plays in perfect step with the picture. Mute the camera's built-in track and the interview sounds clean.

Why a clap at the start helps so much

A sharp transient - a handclap, a snap, a clapperboard - gives the comparison an unmistakable spike to lock onto. That is the entire purpose of the film clapperboard, and it works just as well with a casual handclap. The spike stands out above background noise, it is extremely short in time, and both microphones will pick it up regardless of how different they sound.

If you forgot to clap, the tool still works. Any shared sound will do. A door closing, a cough, or even a sentence spoken loudly enough for both microphones to catch it. The match may take a longer comparison span to find, but the result is just as accurate once it locks on.

When the match is weak or wrong

A weak match usually means the two files do not actually overlap during the compared section. This happens when both recordings start with a long stretch of silence or ambient noise before the action begins. The fix is to extend the comparison span to two minutes or to the full length so the analysis reaches the part where something happens.

Another cause is clock drift. Two devices can run at very slightly different sample rates. They line up at the start and slowly drift apart over the length of the recording. This tool finds a single offset that corrects the start, but it cannot fix a drift that accumulates over time. If the files are in sync at the beginning and noticeably out by the end, you need a tool that can stretch one recording to match the other's clock.

When to use a different approach

If you have more than two recordings to line up - say four camera angles from a live event - doing them one pair at a time here will work, but a multi-track editor that aligns everything at once is faster.

If the two recordings are of different events entirely, there is no shared timing to find and no tool can sync them. And if the problem is not timing but volume - one recording is much louder than the other - a normaliser or a gain adjustment tool is what you need, not a sync tool.

Both files stay on your machine

The two recordings are opened, decoded, compared, and saved entirely on your own device. Nothing is sent to a server. You can test this by loading the page, dropping both files in, turning off your internet connection, and pressing Find the offset. The analysis runs and the result appears exactly as it would online.

This matters for anyone working with footage that is under contract, not yet published, or simply personal. The audio from a wedding ceremony or a private meeting never touches a network when you line it up here.

Help

Same moment, two machines, one number

Load the two files and the offset comes back measured to the individual sample, rather than to the nearest fraction of a second. The second recording can then be saved already shifted by that amount, so what you get is a file that starts in step rather than a number to apply yourself.

Drop the two files in

The first one is the reference and never moves. The second is the one that will be shifted. Video files work too — only the sound is read.

Press find, and read the match strength

A strong match means the answer is right to the sample. A weak one means the two recordings may not overlap at all, and you are told so instead of being handed a number.

Save the lined-up file, or check it first

The check file puts one recording in each ear. On headphones, two things that are in step sound like one sound in the middle of your head.

A few milliseconds is a lot when it is a voice on camera

Sound arriving a little late is easy to forgive: we are used to it, because sound is slow and distant things always look before they are heard. Sound arriving early is not, and the eye picks it up at around twenty milliseconds. That is why broadcast standards allow the sound to lag the picture by about forty milliseconds but only lead it by about twenty. If you have to guess, guess late.

Good to know

A clap really does help

Any sharp sound both machines caught gives the measurement something unmistakable to lock onto. That is the whole reason for the clapperboard.

Different microphones do not matter

A phone and a studio recorder sound completely unalike, and it makes no difference here. Only the moment each sound arrives is compared, not its tone.

Compare a part where something happens

If both files start with a minute of silence, extend the span so the comparison reaches the part with sound in it.

One offset fixes the start, not the drift

Two machines can also run at very slightly different speeds. If they line up at the start and are out by the end, that is drift, and no single offset can fix it.

Common questions

How do I sync audio from a separate recorder to my camera?
Drop the camera file in first and the recorder file second, press find, and save the lined-up version. Import that alongside your footage and it starts at the same moment.
Does it work if the two recordings sound completely different?
Yes. The comparison ignores tone and level entirely and looks only at when each sound happens, so a tinny camera microphone matches a good recorder without trouble.
How accurate is the answer?
To the sample when the match is strong — that is under a fiftieth of a millisecond at the usual rates. The match strength on the results tells you whether to trust it.
Can I use video files?
Yes, as long as the browser can play them. Only the sound is read; the picture is ignored.
Is anything uploaded?
No. Both files are opened, compared and saved entirely on your own device.