nodejs-simple-fft is a node.js module that is a quick wrapper for this module. It's just a very basic thing I've put together for my own use, you're probably better off using the original library.
You can add this to your node.js package.json
"dependencies": {
"simple-fft": "git+ssh://git@github.com:richardeoin/nodejs-simple-fft.git",
}
And if you have npm installed, just run npm install
.
var fft = require('simple-fft');
var bins = fft([ 3, 1, 2, 3, 4, 3 ]);
That's it.
MIT