Forensic Telephony WAVE Decoder

Forensic Telephony WAVE Decoder

A Java decoder for RIFF/WAVE telephony audio that expands PCM and G.711 A-law/μ-law into PCM16 working copies while preserving the forensic distinction between evidence and derived analysis data.

Telephony audio often fails at the point where a filename is mistaken for a codec description. This Java implementation reads RIFF/WAVE structures itself and turns supported PCM, G.711 A-law and G.711 μ-law payloads into explicit PCM16 working copies. The parser handles the container instead of delegating the critical interpretation step to whatever Java Sound conversion provider happens to be installed.

The repository also draws a hard line around the phrase “GSM WAV.” G.711 and GSM 06.10 are different codecs; GSM 06.10 decoding is intentionally outside this release. Optional channel reduction and a small deterministic integer linear interpolator are available for workflows such as preparing 8 kHz telephone audio for a 16 kHz analysis stage. It is not presented as a general-purpose high-fidelity resampling library.

In forensic use, the converted PCM is a derived artefact. The original acquisition, its cryptographic hash and its metadata remain authoritative; the PCM copy exists to make listening, ASR or later DSP practical. Forensic File Carver addresses a different stage: locating and delimiting files in raw binary sources.

Further discussion: Decoding GSM WAV Files with Java Source repository: GitHub Archived release: Zenodo DOI: DOI

Validation Scope

Validation can distinguish mono and stereo inputs, different RIFF chunk orders, truncated data and unsupported codec declarations. Expected PCM samples can be compared against known small inputs or an independent decoder; resampling additionally requires sample-count and time-mapping checks. These criteria describe test scope rather than claiming that a particular test has been executed.

QR code for this page