Skip to content

g200kg/Fft-asm.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asm.js FFT module


Usage

Creating FftModule

var fftasm = new FftModule(num fftsize, boolean enable-asm);

  • Codes are compiled in this phase.

Execute FFT

fftasm.fft(Array real, Array imag, boolean normalize);

  • here the real/imag are input data (Array or TypedArray)
  • real/imag array size should be matched to [fftsize].
  • real/imag will be overwritten with the results.

Execute FFT & get magnitude

fftasm.fftmag(Array real, Array imag);

  • here the real/imag are input data (Array or TypedArray)
  • the result will be placed to [real] array.

Distributed under the MIT License

About

JavaScript FFT module using asm.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published