Skip to content

Quick evaluation of some FFT jobs in Javascript.

Notifications You must be signed in to change notification settings

j-funk/js-dsp-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A quick evaluation of some FFT jobs in Javascript.

alt text

Uses existing library code where possible, and compares "Javascript source" with code compiled from other languages using Emscripten or similar. Only forward transforms are tested at this point (the inverse transforms may or may not produce the right results).

You can run these tests in a browser by checking out this repo and opening the file fft/index.html.

I've added a modified version of the DSP.js FFT and a Real-to-Real algorithm from FFTW. If you like you can see the original Mercurial repository by Chris Cannam (from which this is forked) here.