Fast Fourier transform (FFT) using WebAssembly with twr-wasm
This example generates an input signal using JavaScript that is the sum of 1K and 5K sin waves. The KISS FFT C library is then called to generate the FFT. This is done using WebAssembly to incorporate the C library into the HTML web page. The output from the FFT is then also graphed using JavaScript.
Input Signal
FFT Output