Just a js implementation of the Cooley-Tukey FFT algorithm. It is really simple (and slow) and only takes signals with length 2^n. There is only 1 function called fft
which takes an array of real values, and an optional bool argument, frequencySpectrum
. If this is true (default) then the output is an array of half the length of the input, containing the magnitude of the oscillation at each frequency. If it is false the output is an array of {re,im} objects which is the output straight from the FFT.
-
Notifications
You must be signed in to change notification settings - Fork 0
OscarSaharoy/minfft.js
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
JavaScript Fast Fourier Transform function as minimal as possible
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published