Audio Lab - Browser Audio Editor & Trimmer
Edit audio files with an interactive multi-track waveform editor. Trim, fade, normalize, EQ and compress, then export as WAV, AIFF, MP3 or Opus.
Runs in your browser. No data leaves your device.
About this tool
Audio Lab is a multi-track audio editor that runs entirely in the browser. Load one or more audio files as tracks, play them together on a shared transport, and apply destructive effects (fades, normalize, compressor, 8-band EQ, reverse, speed) to a chosen time range with full undo/redo. Decoding uses the Web Audio API; the WAV/AIFF/Ogg encoders are plain JavaScript, MP3 uses the bundled lamejs library, and Opus uses the browser WebCodecs AudioEncoder.
Features
- Multi-track session: each file becomes a track with mute, solo, remove (asks first when the track has applied edits, since removal cannot be undone), a volume fader (double-click resets to 0 dB) and a pan slider, mixed through one shared master bus
- Shared transport: play/pause, skip to start, skip to end, gapless loop (whole project or a custom loop region), and a millisecond playhead readout
- Per-track waveform with mouse-wheel zoom, drag-to-pan, a minimap, and click or drag in the ruler to seek
- Effect range: drag the amber region handles, Shift+drag on the waveform, or type exact start/end seconds (the whole track until you set one)
- Fade in and fade out (0-10 s each) and peak normalize to -6..0 dB
- Compressor with threshold, ratio (2:1 to 20:1), attack, release and makeup gain
- 8-band EQ (high-pass, low shelf, 4 peaking, high shelf, low-pass) with draggable nodes over a live spectrum
- Reverse, plus a speed change of 0.25x-4x (or +/-24 semitones) by resampling, which also shifts pitch
- Edit history: Apply commits the staged effects; undo, redo, or revert to any earlier step in the History list
- Clip actions: split a clip at the playhead, duplicate a clip, delete extra clips
- Tempo: enter a BPM (20-300) or auto-detect it; the rulers then show bars and beats, and grid snap (1/1 to 1/16) snaps seeking and region/loop handle drags
- Real-time meter on the master bus with 21 views, including spectrum, spectrogram, VU, LUFS, goniometer and correlation
- Optional "Save my work in this browser" switch (off by default): keeps the session on this device so it is restored after a reload, with a Start fresh option
How to use it
- Drop audio files on the page, or click Add Track and choose one or more
- Click a track to make it active, then set the effect range with the handles, Shift+drag, or the start/end inputs
- Enable and adjust effects (you hear them on playback before applying), then click Apply to buffer; use Ctrl+Z / Ctrl+Shift+Z or the History list to step back and forward
- Press Space or the Play button to hear all tracks together; mute or solo tracks as needed
- Choose an output format (WAV, AIFF, MP3, Opus) and its bit depth or bitrate, then click Export
Inputs
- Audio files: WAV, FLAC, OGG, M4A, AAC, MP3, Opus, WMA, AIFF -- whether a file decodes depends on the browser's audio decoder
- Files can also be dragged and dropped, or arrive from the home page file picker; non-audio files are rejected with a message
- Each file is fully decoded into memory as 32-bit float audio
Outputs
- WAV: 16-bit PCM (default), 24-bit PCM, or 32-bit float
- AIFF: 16-bit or 24-bit PCM, or 32-bit float (written as AIFF-C with fl32 compression, the standard container for float AIFF)
- MP3: 128/192/256/320 kbps
- Opus in an Ogg container: 64/96/128/192 kbps (needs WebCodecs)
- Export options: trim to a start/end time, convert to mono, or split L/R into two files
- With 2+ tracks or clips, export the full mix (clip positions, volume, pan, mute/solo and staged effects) or just the active track with its volume and pan
- Exported files are listed with their sizes; save with Download (several files: one ZIP), or on iPhone through the share sheet
Limits and notes
- All processing runs locally on the main thread; no audio is uploaded
- Opus export needs WebCodecs AudioEncoder; otherwise it fails with an error
- Speed is a resample, so pitch changes with it
- By default tracks, decoded audio and edit history live in memory only and are lost on reload; export settings and meter layout are saved in localStorage
- With "Save my work in this browser" turned on (button above the tracks), the session is kept in the browser's IndexedDB on this device only (database overtooled-lab-sessions): each track's original audio file, its clips, volume, pan, mute/solo, effect settings and applied-edit history (undo/redo), plus loop, BPM, grid and zoom. Decoded audio is not stored; on reload each file is decoded again and its edits are re-applied. Turning it off deletes the saved copy; the on/off choice is stored in localStorage as overtooled:audio-lab:save-session
Keyboard shortcuts
- Space: play/pause all tracks
- Ctrl/Cmd+Z: undo last applied edit
- Ctrl/Cmd+Shift+Z or Ctrl/Cmd+Y: redo
- S: split the active track clip at the playhead
- Ctrl/Cmd+D: duplicate the last clip on the active track
- Delete/Backspace: remove the last clip on the active track (when it has 2+ clips)
- Shift+drag on waveform: draw the effect range
- Mouse wheel on waveform: zoom
Frequently Asked Questions
How does Audio Lab work?
Each audio file is decoded into raw PCM sample buffers with the Web Audio API's decodeAudioData and becomes a track. Playback schedules every track through its own gain and pan nodes into one master bus; the Mix export renders the same graph offline with an OfflineAudioContext. Applied effects are recorded as a list of operations re-run on the original samples, which is what makes undo and redo exact. WAV and AIFF are written byte-by-byte in JavaScript, MP3 uses the lamejs encoder, and Opus uses the browser's WebCodecs AudioEncoder.
What audio formats are supported?
You can export WAV (16-bit, 24-bit or 32-bit float), AIFF, MP3 (128-320 kbps) and Opus in an Ogg container (64-192 kbps). For input, the file picker accepts WAV, FLAC, OGG, M4A, AAC, MP3, Opus, WMA and AIFF, but whether a file decodes depends on what your browser supports.
How does the waveform editor work?
Each track shows its own waveform. Click a track to make it active, then drag the amber handles or Shift+drag on the waveform to choose the range that effects apply to. Click or drag the top ruler to seek, scroll the mouse wheel to zoom, and drag to pan when zoomed. Press Space or use the transport bar to play all tracks together.
Is my audio saved or uploaded?
Nothing is uploaded, and by default nothing is saved: reloading clears your tracks. If you turn on "Save my work in this browser" above the tracks, your original audio files, clips, mixer settings, effects and edit history are kept in this browser on this device only and restored next time. Turning it off deletes the saved copy.