Guides

Reject raw PCM data that ends inside a stereo frame

Follow these steps using a local file and keep the original.

Reject raw PCM data that ends inside a stereo frame
Actual local tool workspace with a synthetic sample.

Prepare the example

Create disposable test input with the exact content below (UTF-8 text unless marked hex). For duplicate filenames, save the two files in separate folders.

partial.pcm — hex bytes
00 00 00

Create a three-byte test file 00 00 00 and choose 8,000 Hz, two channels.

Run the workflow

  1. Open the related tool below and load the prepared file(s).
  2. The wrapper rejects the incomplete four-byte stereo frame.

Verified example result

This example was reproduced in Chrome on 2026-12-04 using FileTypeKit 0.9.0 and synthetic data. The expected result or expected refusal was checked; this does not establish support for every real file.

The downloaded output was checked against the expected properties below.

Observed status: Invalid PCM rate, channels or byte length

Limitations and what to verify

Raw PCM does not include sample-rate or channel metadata; obtain those values from the recorder.

Open related tool