STFT & Spectrogram
This interactive simulator explores STFT & Spectrogram in Math Visualization. Slide a windowed FFT across the signal: chirps, two-tones, bursts. Tune window M, hop, type — see the time–frequency trade-off live. Use the controls to change the scenario; watch the visualization and any graphs or readouts to connect the model with lectures, labs, and homework.
Who it's for: Best once you already know the basic definitions and want to build intuition. Typical context: Math Visualization.
Key terms
- stft
- spectrogram
- stft spectrogram
- math
- visualization
How it works
**Short-Time Fourier Transform**: slide a window **w[n]** of length **M** across the signal in steps of **hop**, FFT each frame, plot **|X(t,f)|** in dB as a heatmap. There is a hard **time–frequency trade-off**: large **M** sharpens **Δf = f_s/M** but blurs **Δt ≈ M/f_s**; small **M** does the opposite. Try the **up-chirp** with M = 32 vs M = 1024, or compare windows on the **two-tone** preset to see leakage on a rectangular window vs Hann/Blackman side-lobes.
Key equations
More from Math Visualization
Other simulators in this category — or see all 46.
Morlet Wavelet (CWT)
Continuous wavelet transform with the complex Morlet wavelet: scaleogram |W(s,t)|, log-frequency axis, cone of influence, adjustable ω₀ and scale range.
Butterworth / Chebyshev IIR
Design Butterworth, Chebyshev I/II LP/HP filters: |H(f)|, phase, impulse response, and z-plane pole–zero plot via bilinear transform.
Kalman Filter (1-D)
Recursive optimal estimation: noisy measurements, hidden truth, predict + update with Q and R; random-walk or constant-velocity model with ±2σ band and innovations.
Mandelbrot Deep Zoom
Drag/wheel deep zoom into the Mandelbrot set with smooth continuous coloring and named landmarks.
Julia Set Explorer
Pick c by clicking the embedded mini-Mandelbrot or animate c along a circle; Fatou dust vs connected sets.
Newton Fractal
Basins of attraction for Newton iteration on zⁿ−1 with adjustable relaxation ω.