Multitrack Audio Mixer
Operator: Abdulla Al Fahad. How tools are built and checked
Most mixing jobs are small: a voice, a music bed, a sound effect, a stinger at the end. They need a timeline, a volume and a pan control per track, fades, and a ceiling so the sum does not clip, not a full digital audio workstation. This page holds up to eight tracks, each one an audio file, and lets you arrange them as clips.
A clip is a stretch of its track's file placed on the timeline. You drag it to move it, drag its edges to trim it, split it at the playhead, and give it a fade in, a fade out and a gain. Mute and solo work per track, and the master has a gain and a look-ahead peak limiter.
Playback and export are built the same way, so what you hear is what is rendered, with one exception described below: the live limiter is a stand-in.
Key features
- Up to eight tracks of up to 8 minutes each and a project of up to 8 minutes, mixed at 44.1 kHz stereo
- Clip move, trim, split and delete by mouse, touch or keyboard, with typed values for start, source offset, length, fades and gain
- Track volume from -30 to +12 dB and pan from hard left to hard right, with mute and solo that follow the usual rule
- Linear fades on every clip edge and a clip gain from -60 to +24 dB
- A master gain and a look-ahead peak limiter with a ceiling you choose, applied to the exported file
- Save the project as a ZIP of the audio files and a project.json, and open it again later
How the mix is built, limited and saved
Each file is checked against the 8-minute limit from its header before any audio is decoded, and all the tracks together may hold about 24 channel-minutes of decoded audio, which is 12 minutes of stereo. Files are decoded at 44.1 kHz, so a file at another rate is resampled by the browser when it is added.
The project ZIP stores the original audio files unchanged next to project.json, and can be up to 500 MB. Opening a ZIP reads at most 64 files and counts the bytes as they unpack, whatever the ZIP says about itself, and every number in project.json is clamped into its allowed range before the project is built.
How it works
Every audible track becomes a gain node and a stereo panner. Each clip is a buffer source with its own gain node whose fades are straight-line ramps between breakpoints. The same function builds the graph for the live context and for the offline context that renders the file, and a mix started mid-fade begins at the right level.
Pan follows the Web Audio rule. A mono track is placed with an equal-power law, so centre is 0.7071 on each side (-3 dB). A stereo track keeps its own side at full level and folds the other side across: at pan -0.5 the left output is the left input plus 0.7071 of the right input, and the right output is 0.7071 of the right input.
The master limiter finds the gain each sample needs to stay under the ceiling, takes the lowest value within 5 ms either side, lets the gain recover over 120 ms, and averages it over the 5 ms before each sample so that the gain falls smoothly ahead of a peak. It is a sample-peak limiter: it holds the stored samples under the ceiling but does not model peaks between samples.
Common use cases
- A 3-minute podcast episode: the voice track at full level, an intro stinger split off the music file at 12 seconds, the music bed at -18 dB with a 2-second fade in and a 4-second fade out, limiter at -1 dBFS.
- A short film's soundscape: a rain loop, a street loop and three one-shots on five tracks, with the loops each fading over 3 seconds at the start of every scene clip.
- A language lesson: the same two-minute dialogue panned left for one speaker and right for the other, built from two mono files, then exported as a stereo MP3.
- A mashup where the vocal of one file must sit over the instrumental of another: solo each to check the entry point, trim the start of one by 0.35 seconds and nudge by 0.01 seconds with the typed start time.
How to use this tool
- Add one or more audio files with Add audio files; each becomes a track with one clip at time 0.
- Drag clips along the timeline, and drag their dark edges to trim; click the ruler to place the playhead.
- Set each track's volume and pan in its header, and use M and S to mute or solo.
- Select a clip and set its fades and gain, or split it at the playhead to treat two halves differently.
- Set the master gain and the limiter ceiling, and press Play to listen.
- Press Mix down, choose WAV or MP3, and save the project ZIP if you will come back to it.
Example
A music clip on track 2
Starts at 2 s, takes the file from 1 s on, is 10 s long, fade in 2 s, fade out 3 sThe gain envelope and the limiter on a hot mix
Breakpoints on the timeline: 2 s at 0, 4 s at 1, 9 s at 1, 12 s at 0.
A mix whose peaks reach 2.2 (+6.8 dBFS) with the ceiling at -1 dBFS leaves at 0.8913, a reduction of 7.85 dB at the loudest sample.Tips for best results
- Press S with a clip focused to cut it at the playhead; the fade-out stays on the right half and the fade-in on the left, and the join gets neither.
- Use the arrow keys on a focused clip for 0.1-second moves and Shift for 1-second moves, then listen; typed start times go down to hundredths of a second.
- Solo two tracks to hear how a voice and a bed sit together without the rest, then un-solo to check the whole.
- Drop the zoom to see the whole project and raise it to line up a clip against a waveform feature.
Common pitfalls
The live preview cannot use the look-ahead limiter. It uses the browser's compressor, set to the same ceiling with a ratio of 20 to 1, which behaves differently on fast peaks. If a mix sounds more or less squashed in the exported file than in playback, the export is the one to trust.
A change made while playing restarts playback from the current position, so a very long mix with many tracks may restart with a short gap each time you move a slider.
A track is one file. To use a second take of the same instrument, add the file as another track; splitting a clip never brings in a different file.
Common errors and how to fix them
- This file is not a readable ZIP archive
- Open Project expects the ZIP that Save project wrote. A renamed .rar or .7z file, an audio file picked by mistake, or a download that stopped early all give this message; to add an audio file, use Add audio instead.
- The mixer holds 8 tracks; remove one to add another
- Mute and remove a track you are done with, or bounce several tracks into one file first with Mix down and add that file back.
- The tracks already use the whole decoded-audio budget (about 24 channel-minutes)
- Remove a track, or convert a long stereo file to mono first; a mono file uses half the budget of the same stereo file.
- The ZIP has no project.json of a sensible size, so it is not a project saved by this page
- Open only ZIP files written by Save project; a folder of audio files zipped by hand has no project.json.
Best practices
- Leave 3 to 6 dB of limiter headroom unused: if the limiter is reducing by more than that at the loudest sample, lower the track volumes instead and let the limiter catch only stray peaks.
- Save the project ZIP before closing the tab; the page keeps nothing in the browser between visits.
What the project ZIP contains
project.json holds the format name multitrack-mix-1, the master settings, and for every track its name, the path of its audio file inside the ZIP, volume, pan, mute, solo, and each clip's start, source offset, length, fades and gain. The audio files sit under audio/ with a number and a cleaned file name. Because the files are stored unchanged, you can pull one out of the ZIP and use it elsewhere.
Why the mix is stereo at 44.1 kHz only
A fixed rate keeps every clip on the same sample grid, so a trim at 0.01 seconds means the same number of samples on every track, and a fixed stereo output makes the pan rules the only channel logic. A file with more than two channels is folded to stereo by the browser's mixing rules when it plays.
Frequently asked questions
How is this different from Merge Audio Files?
Merge Audio Files on this site joins files end to end. This page lays tracks on top of each other on a timeline, with separate volume, pan and fades, so files can overlap in time.
Can I record a track directly?
No. Tracks come from files, so record with any recorder and add the file here.
Why is the limit 8 minutes?
The export renders the whole mix as stereo floats in memory and the limiter allocates two more arrays of the same length, so a project longer than 8 minutes would need more memory than a browser tab can safely hold.
Does Open project bring back my clips exactly?
Yes for everything the format stores: track settings and every clip's times, fades and gain. Selection and zoom are not stored.