PageSourceSearch

https://soniaboller.github.io/audible-visuals/scripts/get-float-time-domain-data.js

js soniaboller.github.io collected 2026-10-03 09:58:54 UTC 404 bytes, 13 lines download raw bytes

1"use strict";
2
3if (AnalyserNode && !AnalyserNode.prototype.getFloatTimeDomainData) {
4  var uint8 = new Uint8Array(2048);
5  AnalyserNode.prototype.getFloatTimeDomainData = function(array) {
6    this.getByteTimeDomainData(uint8);
7    for (var i = 0, imax = array.length; i < imax; i++) {
8      array[i] = (uint8[i] - 128) * 0.0078125;
9    }
10  };
11}
12
13// necessary for getFloatTimeDomainData to work in Safari

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.