pcmdiff(1)
π pcmdiff β proof-of-concept raw PCM deltifier π
okay bestie, welcome to the hxtools corner of the manual pages, this one's pcmdiff(1) and she is niche but she ate π
β¨ SYNTAX β¨
pcmdiff file1 file2 >file3
that's it. that's the whole vibe. two files in, one file out, no cap π«Ά
πΈ DESCRIPTION πΈ
so here's the tea, bestie π β pcmdiff computes the arithmetic difference between the raw PCM files file1 and file2, and then writes that difference to stdout. that's literally the whole job. she's a proof-of-concept, she's lowkey doing the most with the least, iconic behaviour honestly π
and why would you want that, you ask? because it lets you make the degradation that inherently comes with lossy audio formats actually audible π like, you know how lossy codecs quietly eat bits and you're like "is anything even happening??" β yeah, this is how you hear exactly what got munched. main character energy for audio nerds, fr fr β¨
ngl the difference output is not a normal listenable song, it's the delta, so brace yourself for some weird little sounds π
π EXAMPLES π
the classic lossy-degradation-exposing ritual, step by step:
oggenc -q0 -o test.ogg test.wav;
oggdec -o test2.wav test.ogg;
pcmdiff test.wav test2.wav >delta.wav;
so you encode test.wav into test.ogg with oggenc -q0 -o test.ogg test.wav π, decode it right back with oggdec -o test2.wav test.ogg π¦, and then let pcmdiff test.wav test2.wav >delta.wav show you exactly what the codec did to your baby πβ¨
π¦ SEE ALSO π¦
hxtools(7)β the whole hxtools fam, go say hi π
hxtools Β· 2008-11-11 β yeah she's been serving since 2008 and she's still cute, periodt π β¨ bye bestie, go diff some PCM π
π¦ where this page comes from
- debian bookworm: hxtools 20221119-1 Β· MIT
- debian trixie: hxtools 20231224-2+b2 Β· MIT
- opensuse-leap 16.0: hxtools-man 20231224-bp160.1.12 Β· GPL-2.0-or-later AND WTFPL
- ubuntu jammy: hxtools 20211204-1 Β· GPL-2.0-or-later OR GPL-2+3 OR WTFPL
- ubuntu noble: hxtools 20231224-2ubuntu1 Β· MIT
- ubuntu questing: hxtools 20231224-2ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms