Audio Mixer
Mix two audio files: put a voice over music with per-track volume, start offset, looping, fades and automatic ducking. Export one file, processed locally.
About the Audio Mixer
Mixing is different from merging. Merging places files one after another; mixing plays them at the same time. If one narration must follow several music cues, merge the music first and then mix the narration over it. The ducking threshold is fixed at -40 dBFS, which sits below normal speech. If the main track is very quiet, raise its gain first so the detector follows the voice rather than the room tone.
This mixer overlays two files: a main track such as narration and a background track such as music. Load one into each slot, set a gain for each in dB, and choose an offset if the music should start before the voice. The result is one file with both layers combined.
Automatic ducking lowers the background while the main track is active and brings it back in the pauses, using a 20 ms level window with a 50 ms attack and 400 ms release. The background can be looped to cover a longer main track, faded in and out, and the output length can follow the main track or the longer of the two.
Both inputs are conformed to a common sample rate and channel layout first. Output keeps the main track's format where possible, or you can pick MP3, M4A, Opus, OGG, FLAC, WAV or AIFF. For placing files end to end instead of on top of each other, use the Audio Merger.
Why Use the Audio Mixer?
Auto-ducking
The background dips by 3 to 24 dB whenever the main track rises above -40 dBFS, then recovers with a slow release. It keeps speech clear without manual gain automation.
Offset, loop and fades
Start the music up to 30 seconds before the voice, loop it if it is short, and apply a logarithmic fade in and fade out to the background layer.
Independent levels
Main gain runs from -24 to +12 dB and background gain from -40 to +12 dB in half-decibel steps, so you can balance a quiet voice against a loud bed.
Length control
Follow the main track or choose the longer of the two. The output timeline shows the calculated duration before you mix.
Processed locally in your browser
Your audio is decoded, processed and encoded on your own device in a background Web Worker. Aback Audio does not upload the audio for this operation.
Free, no sign-up, no watermark
Every tool is free with no account, no watermark and no daily limit. The only limit is your device's memory, and the tool warns you before anything risky.
Common Uses for the Audio Mixer
Podcasts
Place music under a narrated script and duck it on each line. A longer fade out lets the music carry the final frame. Put a music bed under the intro and duck it as soon as the host starts talking. A two-second fade in makes the entrance smooth.
Video narration
Mix a voice-over with background music and start the music 1.5 seconds early. Set the length to the main track so the audio ends with the narration.
Presentations
Add soft music behind a recorded talk. A background gain around -18 to -12 dB keeps it out of the way of the words.
Meditation tracks
Layer a guide voice over ambience. Ducking brings the ambience up during the pauses between instructions.
Karaoke covers
Sing over an instrumental you have the right to use, then balance the two tracks with the gain sliders.
Advertisements
Mix a jingle with a voice and fade the music out under the final line. Export a lossless master first, then make a small MP3 for delivery.
Audiobook intros
Place a theme under the opening titles and let it duck when narration begins. The Audio Trimmer can prepare the intro length first.
Game audio
Layer an effect bed under a voice cue. Use looping if the bed is shorter than the cue.
How the Audio Mixer Works
How to use it
- 1Add the main track (voice) to the first slot and the background track (music) to the second.
- 2Set main volume, background volume and an intro offset if the music should start early.
- 3Choose looping, ducking and the duck amount, then set the background fade in and fade out.
- 4Pick the output length: same as main or the longest track, and choose an output format.
- 5Select Mix tracks, listen to the result and download the single file.
Conforming the inputs
The two layers are added sample by sample after gain. If the combined peak passes 0.98, the limiter reduces it to -1 dBFS, so two loud tracks cannot produce a clipped file. When the background is shorter than the timeline and looping is on, it is repeated with a 50 ms crossfade at each join. A bed with a clear hook may need a longer source instead. Before mixing, both files are decoded and conformed to one sample rate and channel layout. The engine takes the higher sample rate and up to two channels, resampling or downmixing only where needed, so the two layers line up sample for sample.
How ducking works
The main track's level is measured with a 20 ms moving RMS window. When it exceeds -40 dBFS, the background target gain drops by the chosen duck amount; when it falls below, the target returns to unity. Gain moves toward the target with a 50 ms attack and a 400 ms release.
Looping and fades
If the bed is shorter than the timeline and looping is on, it is repeated with a 50 ms crossfade at each join. The background fades use the logarithmic curve, which sounds even as level rises and falls.
Safety limiter
The two layers are summed sample by sample. If the peak passes 0.98, a lookahead limiter with an 80 ms release and a -1 dBFS ceiling keeps the file from clipping. Processing happens locally in your browser.
Privacy, security and availability
Files are opened with the browser's file APIs and processed in a background Web Worker on your device; the page has no upload endpoint and makes no network requests with your audio. Results are created as local files you download. Temporary data is released when you press Start over or close the tab.
Tips for Better Results
Check on small speakers
Listen on small speakers as well as headphones; a bed that sounds subtle on headphones can mask words on a phone. Start with the background around -12 dB and enable ducking rather than lowering it by hand.
Short offsets for speech
Keep the offset short for speech; 1 to 2 seconds gives music room to establish itself.
Loop only short beds
Loop the bed only when it is shorter than the main track, otherwise the seam may be audible.
Mix lossless, encode last
Use WAV or FLAC for the mixed master and convert to MP3 or M4A at the end.
Normalize the final mix
Normalize the final mix to a delivery target with the Audio Normalizer.
Limitations
- The mixer handles two layers at once; for more, mix the result with another file in a second pass.
- Ducking responds to overall level, so a noisy main track can keep the background down continuously.
- Both inputs are decoded at once, which needs memory for long tracks.
Guides for This Tool
- How to merge audio files (and keep the join clean)Merge audio files in your browser: order clips, add gaps or crossfades, match loudness, and export MP3, WAV or FLAC. No upload, with memory limits explained.Read the guide
- Mono vs stereo: what changes, what it costs, and how to switch between themMono has one channel, stereo has two. See how that changes file size and bitrate, when to use each, and how to convert, split or widen channels locally.Read the guide
Related Tools
Audio Merger
Join files in order with gaps or crossfades.
Audio Looper
Repeat a clip N times or to a length, seamlessly.
Fade In & Fade Out
Add smooth fades with four curve shapes.
Audio Normalizer
Hit a LUFS target for streaming or a peak level.
Voice Recorder
Record from the mic with levels, pause and instant export.
Noise Reducer
Remove hiss, fans and steady background noise.
Audio Cutter
Select on the waveform and keep or remove that part.
Audio Trimmer
Trim the start and end, with an auto-trim for silence.
Frequently Asked Questions
Does mixing change the sample rate?
The offset moves the main track later; set the music first and then add an offset. The main track may have a high noise floor; lower its gain or turn ducking off. Both files are conformed to one rate before summing, and the workbench reports the chosen rate.
How long is the result?
By default it matches the main track plus the offset. You can choose the longer of the two instead, in which case the timeline extends to the longer file.
Can the two files have different formats?
Yes. Both are converted to a common sample rate and channel layout before mixing. The workbench reports what changed.
How loud should background music be?
Around -18 to -12 dB relative to the voice works for speech. With ducking on, the music dips further while words are spoken.
Can I mix more than two files?
Mix two, then mix that result with a third. Each pass keeps the audio local and produces a normal file you can load again.
What does ducking do exactly?
It watches the main track in 20 ms windows and turns the background down by your chosen dB amount when the voice is present, then restores it with a 400 ms release.
Can I start the music before the voice?
Yes. The intro offset slider runs from 0 to 30 seconds in half-second steps.
Can I use video files?
Yes, for their soundtracks. The download is an audio file.
Will the mix clip?
A limiter engages when the summed peak passes 0.98, holding it at -1 dBFS. If both tracks are very loud, the limiter will be working hard.
Which output formats are available?
MP3, M4A, Opus, OGG, FLAC, WAV and AIFF, with the main track's format preselected when possible.
Is the Audio Mixer free?
Yes. It is free to use with no sign-up, no watermark and no usage limits.
Is my audio uploaded to a server?
No. Aback Audio is a static website: files are read and processed by your browser, on your device, using Web Audio, Web Workers and WebAssembly codecs. There is no upload endpoint.
Which browsers are supported?
Current versions of Chrome, Edge, Firefox and Safari on desktop and mobile. Opus encoding needs a browser with WebCodecs audio encoding; every other format works everywhere.