FFT of sine waves

Donald Bagwell

Last edited Jul 01, 2024
Created on Jul 01, 2024

Overview Time to dabble with the infamous FFT in javascript. Starting with a simple script to generate sine waves for testing.

export const sineGenerator = (freq, dInSeconds, sRate) => { // Parameters for the sine wave const frequency = freq; const durationInSeconds = dInSeconds; const sampleRate = sRate;

Discrete Fourier Transform - Simple Step by Step

Understanding the Discrete Fourier Transform and the FFT

MIT Licensed