Before joining audio files in your browser, compare codec support, sample rate, channel count, file size, and decoding limits so the merged WAV matches what your speakers and editor will accept. A short comparison pass replaces guesswork with concrete numbers and prevents a finished file that is the wrong length, arrives in the wrong order, or splits across mismatched channels. The comparison covers what each source file contains, what the browser can decode, and how the joiner enforces its budgets inside one shared AudioContext. Use Audio Joiner as the local, gap-free merger when the selection satisfies every limit and every decoded track shares the same channel count. Source files stay on your device, decoding and concatenation happen in the current tab, and the output is one freshly encoded PCM16 WAV that can be checked before any original is deleted.

為什麼在合併前比較音訊檔案很重要
Joining is destructive in a quiet way: once an order is set and a file is encoded, the result is a new PCM16 WAV that no longer remembers the codec, bitrate, or metadata of any source track. A short comparison step before clicking Join protects five things at once: the sequence you intended, the channel identity of each track, the duration on disk, the sample rate the browser uses internally, and the loudness range of any pass-through content. Skipping the check is how an order gets reversed, how stereo ends up half-swapped, or how a one-hour selection gets rejected at the 30-minute budget.
The comparison also explains why two well-formed files still fail to merge. The browser's decodeAudioData and AudioBuffer calls give Audio Joiner the working sample rate and channel count, and those values must align across the entire selection. When they do, the join plan computes cumulative frame offsets per channel, copies each decoded channel into one Float32Array, and produces one lossless WAV. When they don't, the comparison surfaces the mismatch before a single byte is encoded.
合併前需要比較的音訊屬性
Five attributes govern whether a selection joins cleanly. Skim every source file against this list before the first Move up click.
| 屬性 | 為何重要 | Audio Joiner 在哪裡檢查 |
|---|---|---|
| 副檔名與 MIME 類型 | The picker recognizes common names such as MP3, WAV, M4A, AAC, Ogg, WebM, and FLAC, but a recognized extension does not guarantee a codec variant that the current browser can decode. | 逐檔挑選器檢查 |
| 每個檔案的聲道數 | All decoded tracks must share one channel count, and a mono and stereo mix is rejected rather than duplicated, dropped, averaged, or remapped. | 共用 AudioContext 解碼步驟 |
| 來源取樣率 | Web Audio may resample sources to the context's working rate, so the displayed rate may differ from the rate stored in the source file. | 解碼後 AudioBuffer 的 sampleRate |
| 時長與幀數 | The cumulative total is checked against 30 minutes and 30 million channel-samples, and a high-rate or multichannel selection can hit the sample budget before the duration limit. | 漸進式與最終共用計畫 |
| 檔案完整性 | Damaged, encrypted, incomplete, mislabeled, or unsupported files produce a clear error, and no codec library or server fallback is added. | decodeAudioData 拒絕路徑 |
Two notes that often surprise first-time users: the order shown in the picker is not the join order, and a recognized extension on a file that Safari, Chrome, or Firefox cannot decode is not the same as a supported codec. If a track fails to appear in the preview list, that is the browser speaking, not the joiner.
加入檔案至選擇前需要比較的限制
Audio Joiner enforces explicit budgets instead of silently truncating. None of the inputs are shortened, downmixed, downsampled, or omitted to fit a limit, so a too-large selection is rejected with a specific message.
| 限制 | 數值 | 計算範圍 |
|---|---|---|
| 音軌數量 | 每個選擇 2 到 10 個檔案 | 加入挑選器的每個檔案 |
| 每個檔案大小 | 25 MiB (26,214,400 bytes) | 每個來源檔案的編碼大小 |
| 總大小 | 100 MiB (104,857,600 bytes) | 選擇中所有來源檔案的總和 |
| 總時長 | 30 分鐘 | 合併結果的解碼播放時間 |
| 總聲道樣本數 | 所有聲道合計 30,000,000 | 整個選擇的幀數乘以聲道數 |
| 每軌聲道數 | 最多 8 個聲道 | 每軌解碼後的聲道數 |
| 取樣率 | 最高 192 kHz | 每軌解碼後的速率 |
The sample budget is the one that catches people off guard. A single 10-minute stereo file at 192 kHz already produces 230,400,000 channel-samples, which is several times the 30 million sample cap, so that one track on its own is rejected well before the 30-minute duration limit is reached. Trim the list, or use Audio Cutter to extract a specific time range first.
如何在本地比較並合併音訊檔案
- Open Audio Joiner in the current tab. The page reads no file until you pick one, and nothing is uploaded.
- Choose 2 to 10 browser-decodable audio files together. The picker reads each file's encoded size against the 25 MiB per-file and 100 MiB total budgets before decoding begins.
- Wait for the shared AudioContext to decode the selection. Working sample rate, channel count, total frames, and total duration are checked against the 30-minute, 8-channel, 192 kHz, and 30 million channel-sample caps. A failure here names the specific limit that was exceeded.
- Compare decoded attributes across the preview list. Confirm that every track shows the same channel count and that the displayed rate is the one you expect for the merged output.
- Use Move up or Move down until the list order is exactly what you want. Reordering updates the decoded-buffer array and the visible list together and clears any older WAV so a stale result cannot claim a previous order.
- Select Join in this order. The join plan validates track count, sample rate, channel count, total frames, duration, channel-sample budget, and the frame offset where every track begins before any encoding runs.
- Preview the produced PCM16 WAV. The header is 44 bytes of little-endian RIFF/WAVE and the body interleaves channels in frame order, with negative full scale mapped to -32768 and positive full scale mapped to 32767.
- Download the WAV. Keep every source file and confirm the downloaded duration, order, joins, channel playback, and file size before deleting any original.
Audio Joiner 與完整編輯器的差異
The comparison you ran answers one question, which is whether the selection can be joined cleanly with no edits, while a full editor answers a wider question about what the final mix should sound like. Audio Joiner is the right tool only as long as the only operation you need is concatenation in one fixed order.
Review the boundaries below before deciding.
- Audio Joiner never inserts silence, overlap, crossfade, fade-in, fade-out, normalization, transition, or automatic trimming. The last sample frame of one decoded track is followed immediately by the first sample frame of the next track in the output channel arrays.
- Audio Joiner never converts mono to stereo, never drops a channel, never duplicates a missing channel, and never averages channels to force a match. The output channel count matches the inputs exactly.
- Audio Joiner never preserves source codec, bitrate, encoder settings, tags, album art, chapters, cue points, loop points, loudness fields, timestamps, or any other container metadata. It is one new static PCM representation of the browser-decoded samples.
- The RIFF/WAVE output uncompresses everything, which is why the WAV can be several times larger than the source MP3, AAC, Opus, Vorbis, or FLAC files, and float samples are clipped to the range from -1 through 1 before encoding.
If the comparison shows that you need any of those edits, skip the join step. Use Audio Cutter for a time range, or open a dedicated editor for fades, loudness matching, channel conversion, compressed output, metadata preservation, and sample-level repair. A pre-join comparison is also a good moment to skim Compare Approaches to Join Audio and What Sets Them Apart when the choice is between this tool and a full DAW.
合併後的快速驗證清單
The merge ran, but the comparison is not over until the downloaded WAV matches intent. Run through five short checks before deleting anything.
- Length check: open the WAV in any player and confirm the total duration equals the sum of every decoded track. A mismatch means a track was resampled to a different working rate by the shared AudioContext.
- Order check: play the merged file from the start and confirm each track enters at the right frame. The shared plan records the frame offset where every track begins, so a reordering bug shows up as off-by-one audio.
- Channel identity check: listen on headphones. Golden stereo fixtures use different values in the left and right channels across two tracks to prove that channel identity survives the join, and the same idea applies to any real source you want to verify.
- Boundary check: scrub to every track junction and confirm there is no audible gap, click, pop, or extra silence at the join point. Audio Joiner concatenates decoded channel samples directly, so what you hear is exactly the original boundary.
- Header check: open the file in a hex editor or WAV inspector and confirm the RIFF/WAVE header lists the expected channel count, sample rate, 16-bit depth, byte rate, block alignment, and exact data byte length.
The downloaded PCM16 WAV can be much larger than the source files, the displayed sample rate can differ from any source rate, and the channel count is fixed at decode time. If the verification passes, the originals can be deleted. If it does not pass, the source files are still untouched and the join can be retried after another pass through the comparison list.
If you're weighing options, What Should I Compare Before I Use Reverse Audio? covers this in detail.