Audio Lab - Browser Audio Editor & Trimmer
Edit audio files with an interactive waveform editor. Convert between WAV, FLAC, AAC, OGG, and MP3. Trim, slice, and transform audio.
Runs in your browser. No data leaves your device.
Frequently Asked Questions
How does Audio Lab work?
Audio files are decoded into raw PCM sample buffers using the Web Audio API's decodeAudioData. Trimming extracts a sample range by slicing Float32Arrays at computed offsets. Channel operations average or split stereo channel arrays. WAV encoding writes RIFF/fmt/data chunks byte-by-byte into an ArrayBuffer at 16, 24, or 32-bit depth. MP3 encoding lazy-loads lamejs and feeds 1152-sample blocks to its LAME encoder.
What audio formats are supported?
WAV, FLAC, AAC, OGG Vorbis, and MP3 for output. Input format support depends on your browser, but most common formats (MP3, WAV, FLAC, OGG, AAC, M4A) are accepted by modern browsers.
How does the waveform editor work?
Upload a single audio file and select a trim or slice operation. The waveform displays your audio visually. Drag the handles to select a region, preview it with the play button, and fine-tune with the numeric inputs below.