https://gist.github.com/antimatter15/0349ca7d479236fdcdbb IT WORKS!
- Source:
- Source:
- Source:
https://gist.github.com/antimatter15/0349ca7d479236fdcdbb IT WORKS!
This module is a port of arduinoFFT source from C++ to Javascript
Copyright (C) 2010 Didier Longueville Copyright (C) 2014 Enrique Condes Javascript version by danigb
fft.c Douglas L. Jones University of Illinois at Urbana-Champaign January 19, 1992 http://cnx.rice.edu/content/m12016/latest/
fft: in-place radix-2 DIT DFT of a complex input
input: n: length of FFT: must be a power of two m: n = 2**m input/output x: double array of length n with real part of data y: double array of length n with imag part of data
Permission to copy and use this program is granted as long as this header is included.