所有版本 v0.1.1087 八月 2026渲染, 媒体 订阅

版本说明以英文撰写。

Stereo Web Audio: real panning and per-channel routing

The Web Audio render was mono end to end - every node reduced to a single value, and the destination's one value was copied to every output channel. That made three whole node classes impossible to express, because each is defined by moving signal between channels: StereoPannerNode (pan a source left/right), ChannelSplitterNode (fan a stereo input out to separate mono channels) and ChannelMergerNode (recombine mono channels into a stereo output). A page could call createStereoPanner() and get a node that ran but did nothing. The render now carries a real two-channel bus through every node: the panner uses the spec's equal-power law (a centred mono source comes out at 1/sqrt(2) on each side, not half), gain, filters, delay and waveshaping process each channel independently, and splitter/merger route per channel using the output and input indices on connect(). A mono signal up-mixes to stereo by copy and down-mixes by averaging, per the Web Audio speaker rules. Crucially the engine's stand-out property survives the rewrite: the render is still byte-identical every run - now proven THROUGH the stereo path, including a panned graph whose two channels genuinely differ. Media moves 36 to 37; overall holds at 51.

改动内容

3 项改动
  1. 媒体Every node now carries a two-channel bus (L/R) instead of one mono value, with a flag that tracks whether a signal is logically mono so the panner and merger apply the correct channel law; up-mix (mono to stereo) is a copy and down-mix (stereo to mono) averages, the Web Audio speaker rules applied where inputs are summed and where the destination is written. Biquad filters and delay lines gained independent per-channel state so a stereo signal keeps its two channels distinct.
  2. 渲染StereoPannerNode, ChannelSplitterNode and ChannelMergerNode are implemented and routed for real: connect() now records an output index and an input index, so a splitter can fan a stereo bus out to separate mono channels and a merger can recombine them - a swap wired through split-then-merge exchanges left and right exactly, a routing a mono engine cannot express. The panner uses the equal-power cos/sin law for a mono input and the spec's two-branch law for a stereo input.
  3. 媒体The determinism-by-construction invariant now runs through the stereo path and is machine-checked in the gate: a panned sine with a pan ramp renders both channels byte-for-byte identical across independent renders while the two channels genuinely differ, hard-left panning silences the right channel exactly, and a plain mono graph still up-mixes to two equal channels byte-for-byte. Five new property tests, the prior Web Audio tests unchanged, conformance gate 6375/6375 with the native-JIT and no-nanbox builds green. Research note: docs/stereo-web-audio.md.
v0.1.108 之后的所有内容,集中在一处

版本

v0.1.0 - 0.1.9 · 10 七月 2026418v0.1.427 · 25 十一月 2026

十一月2026 · 1 个版本

十月2026 · 7 个版本

九月2026 · 3 个版本

八月2026 · 18 个版本

14614 八月WebAssembly modules can call JavaScriptv0.1.146 · 渲染 14414 八月Exact tiling: percentage columns never leave a seamv0.1.144 · JavaScript 与 JIT 13514 八月DevTools automation: the methods a real driver reaches forv0.1.135 · Web API 与 DOM 12413 八月Puppeteer queries elements end to end - the first floor moves the overallv0.1.124 · 渲染 12213 八月Time-travel scrubbing: jump to any pause on the timelinev0.1.122 · 开发者工具 12113 八月Time-travel debugging: step BACK - a debugger the reference browser does not havev0.1.121 · 标签页与界面 12013 八月DevTools: a WebSocket transport, so external tools can attachv0.1.120 · 开发者工具 11913 八月DevTools: a Sources panel with a clickable line gutterv0.1.119 · 标签页与界面 11811 八月DevTools debugger: step over, into and outv0.1.118 · JavaScript 与 JIT 1177 八月DevTools breakpoints snap to the nearest real linev0.1.117 · 开发者工具 1167 八月DevTools debugger: source-line breakpointsv0.1.116 · 开发者工具 1157 八月DevTools debugger: evaluate expressions at the breakpointv0.1.115 · 开发者工具 1147 八月DevTools debugger: pause on exceptionsv0.1.114 · 开发者工具 1137 八月Visual DevTools: a live Console REPL and a Debugger panelv0.1.113 · 标签页与界面 1127 八月DevTools Debugger: real `debugger;` breakpoints at the VMv0.1.112 · 开发者工具 1006 八月The browser can be driven, not just watched: a DevTools Protocol that mutates the real pagev0.1.100 · 开发者工具 986 八月The engine speaks the DevTools Protocolv0.1.98 · 开发者工具 704 八月One press, and you are on the new versionv0.1.70 · 标签页与界面

七月2026 · 3 个版本