We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46a6b04 commit d99a907Copy full SHA for d99a907
src/fft.js
@@ -350,9 +350,6 @@ class FFT {
350
var index = Math.round((frequency1 / nyquist) * this.freqDomain.length);
351
return this.freqDomain[index];
352
}
353
- if (frequency1 < 0 || frequency2 < 0) {
354
- throw 'invalid input for getEnergy()';
355
- }
356
357
// if two parameters:
358
// if second is higher than first
0 commit comments