<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>PCM on 技术博客 - 有条工具</title><link>/blog/tags/pcm/</link><description>Recent content in PCM on 技术博客 - 有条工具</description><generator>Hugo -- 0.147.7</generator><language>zh-cn</language><copyright>2024-2025 有条工具技术博客</copyright><lastBuildDate>Tue, 24 Nov 2026 10:20:00 +0800</lastBuildDate><atom:link href="/blog/tags/pcm/feed.xml" rel="self" type="application/rss+xml"/><item><title>WAV 文件格式解剖：44 字节 RIFF 头、小端整数，和 int16 量化的不对称</title><link>/blog/articles/wav-file-format-anatomy/</link><pubDate>Tue, 24 Nov 2026 10:20:00 +0800</pubDate><guid>/blog/articles/wav-file-format-anatomy/</guid><description>WAV 是音频世界的「裸格式」：44 字节的 RIFF 头加一坨原始 PCM 采样，没有任何压缩。这篇逐字节拆开这 44 个字节——chunk 链式结构、为什么所有整数都是小端、fmt 块里 16 个字节如何描述位深/声道/采样率，以及浮点采样到 int16 的量化细节：−1 映射 −32768 而 +1 只映射 +32767 的不对称、clamp 防爆音、双声道交错排布。看完你能徒手写一个 WAV 编码器——浏览器音频工具就是这样零依赖导出音频的。</description></item></channel></rss>