Skip to content

Commit ba84d74

Browse files
authored
Specify getFloatTimeDomainData() encoding range (#40544)
1 parent 1c0e6f3 commit ba84d74

File tree

1 file changed

+2
-0
lines changed
  • files/en-us/web/api/analysernode/getfloattimedomaindata

1 file changed

+2
-0
lines changed

files/en-us/web/api/analysernode/getfloattimedomaindata/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ browser-compat: api.AnalyserNode.getFloatTimeDomainData
1010

1111
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.
1212

13+
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.
14+
1315
## Syntax
1416

1517
```js-nolint

0 commit comments

Comments
 (0)