Why Do This in Your Browser?
A fade is one of the most common audio edits, and one of the smallest: the samples are multiplied by a gain curve that runs from silence to full level (or back). Opening a full audio editor, importing the file, drawing the envelope and rendering is a lot of overhead for a two-second fade on a podcast intro.
This tool uses FFmpeg's afade filter, which offers many curve shapes; four are exposed here. We measured each one on a steady tone with FFmpeg 6.1 (the curve formulas are the same in the FFmpeg.wasm core). Values are the level reached, as a fraction of full level, at points through a fade-in:
Linear (tri): 0.25, 0.50, 0.75 at a quarter, half and three-quarters of the way. Quarter-sine (qsin, the default here): 0.38, 0.70, 0.92, so it is half-way up after about a third of the fade and eases into full level. Exponential sine (esin): 0.22, 0.29, 0.36, then a jump to full level at the end, so most of the change happens at the two edges. Logarithmic (log): already 0.80 after one tenth of the fade, so it sounds almost like a hard start.
A fade-out uses the same shape mirrored in time: a logarithmic fade-out holds close to full level and drops away in its last tenth, while a quarter-sine fade-out falls away gently at first and then more steeply.
How It Works
Drop an audio file, tick Fade In, Fade Out or both, and set each one's length (0.05 to 30 seconds) and curve. The fade-in starts at 0:00; the fade-out is placed so that it ends exactly at the end of the file, using the length your browser reads from the file. There is no waveform or preview step: press Apply Fades and listen to the result. A 4-second clip took 0.3 seconds in our test once the engine had loaded.
FFmpeg.wasm runs afade=t=in:st=0:d=N:curve=X,afade=t=out:st=T:d=N:curve=X and re-encodes the result in the same format it came in: MP3 at 192 kbps, OGG Vorbis at 160 kbps, AAC/M4A at 192 kbps, or lossless WAV (16-bit) and FLAC. Any other input, such as Opus, is written as MP3. There is no option to pick a different output format; use the Audio Converter for that.
Tip: For trimming the audio before adding fades, use the Audio Trimmer first — fades sound better on cleanly-cut edges. After fading, run a final loudness pass with the Audio Normalizer for distribution-ready output. For pitch correction on the faded clip (e.g., transposing a music intro to a different key), the Audio Pitch Shifter shifts up to ±12 semitones without changing duration.
Common Use Cases
Worked example: how loud each curve is during a 2-second fade
On October 12, 2026 we ran the tool's exact afade filter on desktop FFmpeg 6.1: a steady 1 kHz tone with a 2-second fade-in, measuring the level a quarter, half and three-quarters of the way through, relative to full volume. A fade-out is the same curve played backwards.
| Curve in the tool | 25% through | 50% through | 75% through |
|---|---|---|---|
| Quarter-sine (default) | −8.4 dB | −3.0 dB | −0.7 dB |
| Linear | −12.1 dB | −6.0 dB | −2.5 dB |
| Exponential sine | −12.9 dB | −10.7 dB | −8.7 dB |
| Logarithmic | −1.1 dB | −0.5 dB | −0.2 dB |
- Quarter-sine is the equal-power curve. At the halfway point it is 3 dB down, so if you fade one track out and another in over the same span (and the two are unrelated sounds), the combined loudness stays steady. That is why it's the default.
- Linear is 6 dB down at the midpoint. In a crossfade that leaves a 3 dB dip in the middle; on its own, a linear fade-out tends to sound like it drops away early and then lingers.
- Logarithmic is nearly a cut. It reaches −1 dB within the first quarter, so use it to remove a click at the start or end, not as an audible fade. Very short fades (the tool allows 0.05 s) do the same job.
- Exponential sine moves fastest at the very start and end and sits around −11 dB through the middle: useful for a slow, even-sounding fade on a long outro.
- The fade-out is placed from the file's length. The tool reads the duration and starts the fade that many seconds before the end; if the length can't be read, it stops with a message rather than guessing. The file is re-encoded in its own format (MP3 and M4A at 192 kbps, OGG at 160 kbps); WAV and FLAC stay lossless.
Sources
Checked on .