-
Notifications
You must be signed in to change notification settings - Fork 25
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
Input type #7
Comments
yes, i try use value from -1 to 1,
|
That's because almost all implementation of FFT in JavaScript I came across have an assumption that everyone is working with integers (DSP anyone?). That very assumption makes people implement bit shifting using bit operators, which clearly don't work well with floating point numbers. FFT requires that samples be arranged in a specific way (by bit reversal), but reversing bits isn't the only way to accomplish that. A floating-friendly way is bit reversal sorting only through simple index manipulation (it requires that the amount of items to sort is always a power of 2). |
Hello guys.
I'm tryng use the lib with an array containing vibration values (mm/s or g).
For example, I have the following input:
[10, 0.8285441, 0.69100095, 1.0226318, 0.7041154, 1.51439095] ...
But when I try to do:
Nothing happens (there is no output). I guess that the library isn't working for me.
I found into README.md file the following: "The following code assumes a complex number is
an array: [real, imaginary]", that way, I'll need to get the real and imaginay parts of my original input?
Could you help me?
Thanks and congratulations by the project.
The text was updated successfully, but these errors were encountered: