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

Function freqToInt

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

Source from the content-addressed store, hash-verified

2989 }
2990 };
2991 var freqToInt = function (fft) {
2992 if (fft.freqDomain instanceof Uint8Array === false) {
2993 fft.freqDomain = new Uint8Array(fft.analyser.frequencyBinCount);
2994 }
2995 };
2996 var timeToFloat = function (fft) {
2997 if (fft.timeDomain instanceof Float32Array === false) {
2998 fft.timeDomain = new Float32Array(fft.analyser.frequencyBinCount);

Callers 1

p5.sound.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected