UnQTools
Audio Runs in your browser

Audio Fade Generator

Apply professional fade in / fade out to audio files entirely in the browser. Drag-and-drop or pick a file, decode with Web Audio API, choose a fade curve (linear, logarithmic, exponential, or S-curve), set fade in / fade out durations (6 presets from 100 ms to 5 s), and re-encode as a 16-bit PCM WAV (pure-JS encoder — no library). Fade gain array generator, per-sample fade applier, fade duration validator, sample-range calculator, ASCII curve visualizer, audio preview before/after, history (localStorage), shareable URL, and summary stats. 100% client-side.

100% Private Works Offline Instant

About Audio Fade Generator

Apply professional fade in / fade out to audio files entirely in the browser. Drag-and-drop or pick a file, decode with Web Audio API, choose a fade curve (linear, logarithmic, exponential, or S-curve), set fade in / fade out durations (6 presets from 100 ms to 5 s), and re-encode as a 16-bit PCM WAV (pure-JS encoder — no library). Fade gain array generator, per-sample fade applier, fade duration validator, sample-range calculator, ASCII curve visualizer, audio preview before/after, history (localStorage), shareable URL, and summary stats. 100% client-side. Everything runs locally in your browser — your data never leaves your device.

How to use

  1. Enter your input in the tool above.
  2. Adjust any options to your preference.
  3. Use the Copy or Download buttons to save the result.
  4. Everything happens locally — your data never leaves your browser.

FAQ

How does the audio fade generator work?

Drop or pick an audio file. We decode it with the Web Audio API into raw PCM samples, then build a gain envelope for the fade in (0→1 over N samples at the start) and fade out (1→0 over N samples at the end). Each sample in those ranges is multiplied by the gain value for its position. The result is re-encoded as a 16-bit PCM WAV file via a pure-JS RIFF encoder.

What fade curves are supported?

Four curves: Linear (constant rate, g = i/N), Logarithmic (slow start, fast end, g = log10(1 + 9·i/N)), Exponential (fast start, slow end, g = (i/N)²), and S-curve (smooth both ends, g = 0.5 − 0.5·cos(π·i/N)). S-curve is the most musical and avoids abrupt transitions.

What fade durations are available?

Six presets: 100 ms (very fast), 250 ms (fast), 500 ms (default), 1 s (smooth), 2 s (long), and 5 s (very long / ambient). Both fade in and fade out can be set independently. The tool validates that fade in + fade out does not exceed the total audio duration.

What extra features does this tool have compared to others?

(1) 4 fade curve types (linear, logarithmic, exponential, S-curve). (2) Fade in generator (gain array). (3) Fade out generator (gain array). (4) Per-sample fade applier (multiply). (5) 6 fade duration presets. (6) Fade validation (in + out ≤ duration). (7) Sample-range calculator. (8) Pure-JS WAV encoder (PCM 16-bit). (9) Timestamped filename generator. (10) History (localStorage, last 20). (11) Shareable URL settings. (12) Drag-and-drop file input. (13) Summary stats (fade in duration, fade out duration, total faded samples). (14) Audio preview before & after. (15) ASCII curve visualizer showing the gain envelope over time.

Is my data sent anywhere?

No. The audio file you load, decoded samples, gain envelope, and output WAV never leave your browser. There is no upload. Fade metadata in history is stored in localStorage on this device only.

Related tools

Audio Bitrate Calculator

Calculate audio bitrate, file size, duration, and quality metrics entirely in the browser. Supports PCM/WAV, FLAC, ALAC, MP3, AAC, OGG/Vorbis, and Opus. Compute bitrate from sample rate × bit depth × channels (PCM), estimate FLAC/ALAC compression (50–60% of PCM), map lossy quality presets (low/medium/high/voice/music) to typical bitrates, compute file size from bitrate × duration, calculate streaming bandwidth requirement, reverse-calculate required bitrate from target file size, and score quality 0–100. Includes 7 sample rates, 5 bit depths, 4 channel layouts, 7 formats, 5 quality presets, side-by-side format comparison, text/CSV exports, history (localStorage), shareable URL, summary stats. 100% client-side.

Open

Audio Converter

Convert audio files between formats entirely in the browser. Decode with Web Audio API, re-encode to WAV (PCM 16-bit), WebM/OGG (via MediaRecorder), or MP3 (via MediaRecorder with WAV fallback). Multi-format output, 4 bitrate presets, 6 sample-rate presets, mono/stereo channel selection, pure-JS 44-byte RIFF WAV header builder, Float32 to 16-bit PCM converter, file-size estimator, quality score calculator (0-100), lossless-vs-lossy compatibility checker, smart filename generator, conversion history (localStorage), shareable URL, drag-and-drop, and summary stats. 100% client-side.

Open

Audio Equalizer

Apply a 10-band graphic EQ to audio entirely in the browser. Drag-and-drop or pick a file, decode with Web Audio API, adjust the gain (-12 dB to +12 dB) on each ISO-standard band (31, 62, 125, 250, 500, 1k, 2k, 4k, 8k, 16k Hz), apply via a chain of peaking BiquadFilterNodes in an OfflineAudioContext for batch processing, and re-encode as a 16-bit PCM WAV (pure-JS encoder). 10+ preset library (flat, bass-boost, treble-boost, vocal-boost, loudness, rock, pop, jazz, classical, podcast), 3-band & 5-band simplified modes, 7 gain presets per band, default Q factor 1.41, gain validator, filter-chain config builder, file-size estimator, text + CSV report, history (localStorage), shareable URL, summary stats. 100% client-side.

Open

Search tools and actions

Search across all 258 tools, categories, and quick actions.