From 8e664f3c82d1854aa037e7eed10f43511539e7f8 Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Sun, 27 Jul 2025 14:41:07 +0800 Subject: [PATCH 1/2] Specify getFloatTimeDomainData() encoding range --- .../en-us/web/api/analysernode/getfloattimedomaindata/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/en-us/web/api/analysernode/getfloattimedomaindata/index.md b/files/en-us/web/api/analysernode/getfloattimedomaindata/index.md index f8044668124264b..b7a074224fe2569 100644 --- a/files/en-us/web/api/analysernode/getfloattimedomaindata/index.md +++ b/files/en-us/web/api/analysernode/getfloattimedomaindata/index.md @@ -10,6 +10,8 @@ browser-compat: api.AnalyserNode.getFloatTimeDomainData The **`getFloatTimeDomainData()`** method of the {{ domxref("AnalyserNode") }} Interface copies the current waveform, or time-domain, data into a {{jsxref("Float32Array")}} array passed into it. Each array value is a _sample_, the magnitude of the signal at a particular time. +The waveform is encoded as PCM data, which has a nominal range of -1.0 to 1.0, but values can exceed the range such as when down-mixing stereo to mono. + ## Syntax ```js-nolint From ecfd1b104159bde6c50cf5c1646c2e53b6b770ca Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Tue, 12 Aug 2025 09:32:28 +0800 Subject: [PATCH 2/2] Update index.md --- .../en-us/web/api/analysernode/getfloattimedomaindata/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/api/analysernode/getfloattimedomaindata/index.md b/files/en-us/web/api/analysernode/getfloattimedomaindata/index.md index b7a074224fe2569..f5ea8fa1c7f9f05 100644 --- a/files/en-us/web/api/analysernode/getfloattimedomaindata/index.md +++ b/files/en-us/web/api/analysernode/getfloattimedomaindata/index.md @@ -10,7 +10,7 @@ browser-compat: api.AnalyserNode.getFloatTimeDomainData The **`getFloatTimeDomainData()`** method of the {{ domxref("AnalyserNode") }} Interface copies the current waveform, or time-domain, data into a {{jsxref("Float32Array")}} array passed into it. Each array value is a _sample_, the magnitude of the signal at a particular time. -The waveform is encoded as PCM data, which has a nominal range of -1.0 to 1.0, but values can exceed the range such as when down-mixing stereo to mono. +The waveform is represented as PCM data, which has a nominal range of -1.0 to 1.0, but values can exceed the range such as when down-mixing stereo to mono. ## Syntax