Skip to content
UniKit

Audio fade in / fade out

Add a linear fade in and fade out to an audio file: millisecond precision, decoded and processed locally, exported as 16-bit WAV with preview and download.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Pick an audio file (WAV is parsed here, mp3 / m4a / ogg / flac are decoded by the browser); nothing is uploaded.

Pick an audio file first (or press Record).

Result

Duration, sample rate, peak and size below are the real numbers from this run.

Pick a file and the preview plus download show up here.

What this tool does

  • Tidy up a ringtone: 200 ms fade in and 500 ms fade out so it does not click when dropped after another clip
  • Turn a field recording into a seamless loop: fade 1 s in and out so the seam disappears on repeat
  • Trim the breath at the start and the room noise at the end with a fade out only, leaving the vocal entry untouched

Example

Input

tone.wav (8000 Hz mono, 2 s, peak 0.5) → fade in 200 ms / fade out 500 ms

Output

tone-faded.wav: 16000 samples · 1600 in + 4000 out · sample 800 gain 0.5, last sample gain 0 · peak still -6.02 dBFS · 32044 B

Every number on the page comes from this run: fades multiply samples locally and the export is 16-bit WAV.

Frequently asked questions

Which fade curve is used?

A linear one: the gain of the n-th faded sample is n ÷ fade sample count (reversed for the fade out). Linear is easier to predict when butt-joining clips, and it is verifiable through the sample counts shown here (at 8000 Hz a 200 ms fade in is 1600 samples, and sample 800 has a gain of exactly 0.5). An equal-power curve (≈0.707 at the midpoint) sounds smoother but would not match that arithmetic, so this tool does not use it.

Can fade in plus fade out exceed the clip length?

No. If their sum is longer than the audio, the tool reports “Fade in plus fade out is longer than the audio” instead of truncating or silently clamping. A sum exactly equal to the duration is allowed.

Why is the peak sometimes unchanged?

Fades only rewrite samples at the very start and end. Whenever the peak sits in the untouched middle — the usual case — the peak in dBFS before and after the fade is identical, as in the example above; that is the evidence that nothing else moved.

Is the file uploaded, and why is there no MP3 export?

Nothing is uploaded: decoding, fading and encoding all run in your browser with no network request. The export is always 16-bit WAV because browsers ship MP3 / AAC decoders but no encoder (LAME is LGPL and this site adds no third-party dependencies).

Keywords:fade infade outwav

Related tools