MCPcopy Create free account
hub / github.com/Code-Bullet/Jump-King / timeToFloat

Function timeToFloat

libraries/p5.sound.js:2996–3000  ·  view source on GitHub ↗
(fft)

Source from the content-addressed store, hash-verified

2994 }
2995 };
2996 var timeToFloat = function (fft) {
2997 if (fft.timeDomain instanceof Float32Array === false) {
2998 fft.timeDomain = new Float32Array(fft.analyser.frequencyBinCount);
2999 }
3000 };
3001 var timeToInt = function (fft) {
3002 if (fft.timeDomain instanceof Uint8Array === false) {
3003 fft.timeDomain = new Uint8Array(fft.analyser.frequencyBinCount);

Callers 1

p5.sound.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected