AZTools.us

Seamless Audio Loop Finder

Waveform + seam close-up Sample-accurate loop points

Adjustments

Load a file to unlock this tool’s controls:

Waveform + seam close-up

Runs directly on the web inside your browser. Your original file is never modified or uploaded.

How Seamless Audio Loop Finder Works

A loop sounds seamless when the moment it jumps from its end back to its start is inaudible. This tool helps you find that point in a WAV, OGG, MP3 or FLAC file: you set a rough loop, it searches near the end for the spot that best matches the start, shows the seam up close, and exports the loop as a WAV with a loop marker. Positions are exact sample numbers.

How to make a seamless audio loop

  1. Drop the audio file onto the workspace. The amber handles start at the beginning and end of the file.
  2. Drag “Selection start” to where the loop should begin and “Selection end” roughly to where it should end.
  3. Press “Find loop end”. The tool moves the end handle to the best match it finds and reports how similar the two points are, for example “Best match 92 % similar”.
  4. Press “Play loop” to hear it repeat without a gap, and “Listen across seam” to hear 2 seconds either side of the jump. If you still hear a click, try “Snap to zero” or raise “Seam crossfade”.
  5. Keep .WAV selected in the format menu next to the export button and press the export button. Use “Copy sample points” if you need the numbers.

Reading the seam panel

The panel “Seam: loop end → loop start” draws the last moments of the loop on the left and the first moments on the right, joined at the amber line, at a zoom of 10, 50 or 250 ms. Below it, the tool compares the jump at the seam with a normal sample-to-sample step in the same loop: up to 1.5 times normal is reported as smooth, up to 4 times as a small step, and above that as a likely click.

  • “Find loop end” searches around the end handle (half a second, or 15% of the loop length, at most 3 seconds, in either direction) and compares 200 ms of audio at each candidate with the audio at the start. It needs a loop of at least half a second. It does not move the start.
  • “Snap to zero” moves both points to the nearest rising zero crossing within 5 ms.
  • “Seam crossfade” (0–250 ms, 20 ms by default) blends the end of the loop into the audio just before the start (or, when the loop starts at the very beginning of the file, blends the start with the audio after the end), so the wrap is continuous. It needs audio before the start or after the end; if both handles sit at the file edges, move one inward.

What the export contains

The exported file is the loop itself: sample 0 to the last sample, at the source sample rate, saved as “-loop.wav”. The WAV is 16-bit and carries a loop marker (a smpl chunk) covering the whole file. Godot’s audio importer reads WAV loop metadata by default with its “Detect from WAV” loop mode.

Source: Godot docs: Importing audio samples

Why WAV and not MP3

MP3 is offered too, but it is not suitable for looping. MP3 encoders add padding at the start and at the end of a file, so a looped MP3 has a short silence at every repeat. The tool warns you about this when MP3 is selected; use the WAV in a game engine.

Source: LAME technical FAQ (encoder delay and padding)

Questions

Why did “Find loop end” say no match was found?
The loop is too short or there is no room to search around the end handle. Widen the loop to at least a second or two and try again.
What do the copied sample points look like?
Four lines: loop_start, loop_end, loop_length and sample_rate, counted in the original file. Use them if you keep the full track and set loop points in your engine.
Is the audio uploaded?
No. The search, the crossfade and the WAV encoding all run in your browser tab.