kissfft-wasm
v2.0.1
Published
A WebAssembly version of KissFFT.
Downloads
28
Readme
Kiss FFT in WebAssembly
Install
$ npm install kissfft-wasm
Note that you may want to copy the kissfft.wasm
file explicitly during building process since most compilers/bundlers won't
handle it by default.
Usage
- Use APIs such as
fft
,ifft
, etc. (See API) - For Complex input, note that
(input[2i], input[2i+1])
are the real and imaginary part of thei+1
-th number, respectively. - For Real input, use
rfft
,irfft
, etc. - If using lower functions, remember to free every class you created after its usage.
Examples can be found in examples folder.
Develop
- You need to have Emscripten installed before building this package.
- Build the project by
npm run build
.
License
This package is open sourced under the MIT License.
The source code of kissfft is under the BSD-3-Clause License.