1.0.3 • Published 6 years ago

essy-fft v1.0.3

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

README

Node wrapper for FFTReal.c. See https://github.com/cyrilcode/fft-real.

Example

Exposes method rfft that performs a forward FFT on real time data. Returns the frequency magnitudes, normalized by fftSize / 2.

import essyFFT from 'essy-fft';

const fftSize    = 4;
const timeData   = new Float32Array([0.1, 0.2, 0.3, 0.4]);
const magnitudes = essyFFT.rfft(fftSize, timeData);

// magnitudes => [0.5099, 0.1414]  
1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago