{"_id":"fft","_rev":"14-dac20418e4315c00a3a5d0baca080122","name":"fft","description":"A Fast Fourier Transform library for JS.","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"fft","authors":["Jens Nockert","Jussi Kalliokoski"],"version":"0.1.0","description":"A Fast Fourier Transform library for JS.","repository":{"type":"git","url":"git://github.com/JensNockert/fft.js.git"},"engines":{"node":">=0.6.0-0"},"licenses":[{"type":"FreeBSD"}],"bugs":{"url":"http://github.com/JensNockert/fft.js/issues"},"scripts":{"preinstall":"make"},"main":"./node-fft.js","_npmUser":{"name":"jensnockert","email":"jens@nockert.se"},"_id":"fft@0.1.0","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.18","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"dist":{"shasum":"deef837962731be3a35b74e84d8abfd38c2740fe","tarball":"https://registry.npmjs.org/fft/-/fft-0.1.0.tgz","integrity":"sha512-a1Wic76FxoV0ENxAt5HHyxm9LBiur6tByxXiALDcmSD5Mfgy3I0/eos/Ux4fjqzLx3IAzHLI6IRU6bUilMNZDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIELMdVWuNgT8+ILbzxuPk276Jh45U3I8TN/s5/tVbkBkAiAJ/JBbBsKPk1InHwY4kjQTYtz13N/2h2Jn2yUqYfiT6Q=="}]},"maintainers":[{"name":"jensnockert","email":"jens@nockert.se"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.1":{"name":"fft","authors":["Jens Nockert","Jussi Kalliokoski"],"version":"0.1.1","description":"A Fast Fourier Transform library for JS.","repository":{"type":"git","url":"git://github.com/JensNockert/fft.js.git"},"engines":{"node":">=0.6.0-0"},"licenses":[{"type":"FreeBSD"}],"bugs":{"url":"http://github.com/JensNockert/fft.js/issues"},"scripts":{"preinstall":"make"},"main":"./node-fft.js","_npmUser":{"name":"jensnockert","email":"jens@nockert.se"},"_id":"fft@0.1.1","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.18","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"dist":{"shasum":"5e4346cae168e7121384b992e3e2e563c7a8aedf","tarball":"https://registry.npmjs.org/fft/-/fft-0.1.1.tgz","integrity":"sha512-NCqrdIQNJtjtlERsUadOX9bRW1sExWyY4BNrlPSWzz02N7Tmq4uSkY2VKpFe9OGHguvurE5+T8s6u8mLiS/mjQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWfn1Fjxgorrx2oemKGzeMWi+GAL4eSW+vPlyZhBHS6gIgMsHq1GcM6cvqzEUGfEUdDzBeB42Da1nzajRBviCPePA="}]},"maintainers":[{"name":"jensnockert","email":"jens@nockert.se"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.0":{"name":"fft","authors":["Jens Nockert","Jussi Kalliokoski"],"version":"0.2.0","description":"A Fast Fourier Transform library for JS.","repository":{"type":"git","url":"git://github.com/JensNockert/fft.js.git"},"engines":{"node":">=0.6.0-0"},"licenses":[{"type":"FreeBSD"}],"bugs":{"url":"http://github.com/JensNockert/fft.js/issues"},"main":"./lib/node.js","_npmUser":{"name":"jensnockert","email":"jens@nockert.se"},"_id":"fft@0.2.0","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.18","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"dist":{"shasum":"39d19a3a7ba1932c17d4d766f46c8e4b7bcf6e04","tarball":"https://registry.npmjs.org/fft/-/fft-0.2.0.tgz","integrity":"sha512-tyg0uZScTZjyNJC7WZBN/nhuLxaYOoturt6BK7ZjXvxwOTPKLzaDgBUDiXkuNbpfq/iiWoFMPXQy0M9qrA7yLw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH5i84g8wyEmygWoPDsxu69uj+mk2FKGHNS9QURlDSx/AiEAyGsc1YFDsOMQkkOArbnbb0Y1iZslnK1y7mY6LzbYdwE="}]},"maintainers":[{"name":"jensnockert","email":"jens@nockert.se"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.2.1":{"name":"fft","authors":["Jens Nockert","Jussi Kalliokoski"],"version":"0.2.1","description":"A Fast Fourier Transform library for JS.","repository":{"type":"git","url":"git://github.com/JensNockert/fft.js.git"},"engines":{"node":">=0.6.0-0"},"licenses":[{"type":"FreeBSD"}],"bugs":{"url":"http://github.com/JensNockert/fft.js/issues"},"main":"./lib/node.js","_npmUser":{"name":"jensnockert","email":"jens@nockert.se"},"_id":"fft@0.2.1","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.18","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"dist":{"shasum":"1044554fdba1a0b96c4843d5dea8525cab3621aa","tarball":"https://registry.npmjs.org/fft/-/fft-0.2.1.tgz","integrity":"sha512-EsN8Cqlf6OMdlbSuTDEBBTTCp2OaNNGrI0ltSrfsZeOu8sPFsemOVSlRYaGlFLdTTvHm1hfMSaS77jccDaNA0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE7ljLzOUp6EU44kIexj3re8Mfe9Q+bF+cybIQIGldtqAiBytCwyrml5gSdPXypcrxT8Tvb5KF6g3kKCdeaYvJB79A=="}]},"maintainers":[{"name":"jensnockert","email":"jens@nockert.se"}],"directories":{},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"readme":"fft.js\n================================================================================\n\nFFT in JavaScript, it works, I think. No promises, but I tested it against Wolfram Alpha once, and it was reasonably accurate.\n\nThere are optimized kernels for prime factors, 2, 3, 4, so if you want high performance, use lengths that are a factor of those.\n\nUsage\n---------------------------------------------------------------------------------\n\n```javascript\n\n/* Create a new FFT object */\n\nvar fft = new FFT(n, inverse)\n\nfft.process(output, input) /* Output and input should be float arrays (of the right length) */\n\n```\n\nCredits\n---------------------------------------------------------------------------------\n\nI was too lazy to calculate the butterflies myself, so they are inspired by [kissfft](http://sourceforge.net/projects/kissfft/), which is a small library for doing discrete fourier transforms.\n\n\nLicense\n---------------------------------------------------------------------------------\n\nCopyright (c) 2012, Jens Nockert <jens@ofmlabs.org>, Jussi Kalliokoski <jussi@ofmlabs.org>\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met: \n\n1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. \n2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. \n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","maintainers":[{"email":"npm@npmjs.com","name":"npm"}],"time":{"modified":"2022-06-18T00:23:04.899Z","created":"2012-04-19T20:43:44.250Z","0.1.0":"2012-04-19T20:43:46.111Z","0.1.1":"2012-04-19T21:42:04.082Z","0.2.0":"2012-05-05T10:01:18.384Z","0.2.1":"2012-05-05T10:26:02.096Z"},"repository":{"type":"git","url":"git://github.com/JensNockert/fft.js.git"},"users":{"marcinwal":true}}