1.0.3 • Published 7 years ago

essy-fft v1.0.3

Weekly downloads
1
License
ISC
Repository
-
Last release
7 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

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago