Skip to main content
100%

dspFFT

✓ Published0🌍 Public
DDonald Bagwell
Last edited Jun 5, 2024
Created on Jun 5, 2024

This visualization demonstrates the Fast Fourier Transform (FFT) applied to a composite signal of three sine waves at 40, 15, and 25 Hz. It displays the frequency spectrum as a line chart, showing amplitude peaks at the corresponding frequencies, alongside axes labeled "Frequency Peaks of Sine Waves" and "Signal Amplitude." The code generates test data using a custom `sineGenerator`, computes the FFT with algorithms from `DSP.js` and `fourier.js`, and renders the result via D3 scales, line generator, and axes within an SVG canvas.

AI-generated description

Overview Time to dabble with the infamous FFT in javascript. Anyone consider themselves a Subject Matter Exper (SME) please feel free to offer up advice, tips etc. Goal is to generate a 80hz sine wave as test data. then perform a FFT, and power spectrum, and display results of all.

https://www.youtube.com/watch?v=mkGsMWi_j4Q

MIT Licensed

Similar vizzes