Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First, most popular hit for FFT in node.js. Missing some important description of how to use. #11

Open
SephReed opened this issue Mar 13, 2017 · 3 comments

Comments

@SephReed
Copy link

var fft = new FFT.complex(n, inverse)

What is the logic when setting n and inverse? n = number of samples? inverse = 1/n?

@SephReed
Copy link
Author

This similar function is as close as I've come to understanding the parameters: http://mathjs.org/docs/datatypes/complex_numbers.html

But it's complex numbers have a real and imaginary aspect, rather than an n and inverse aspect.

@flarn2006
Copy link

I can't even find the fft.js file. Is there one? 🤔

@SephReed
Copy link
Author

Oh man. I don't remember, but I think it might be this:
https://github.com/jensnockert/fft.js/blob/master/lib/real.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants