Sound Card Spectral Analysis

version (2.5 KB) by Rodney Thomson
Acquire data from soundcard and plot in time and frequency domains


Updated 9 Jul 2008

View License

Acquires buffers of data from the system default sound card, calculates the power spectrum of the data and plots this along with the raw sampled data to screen.

Useful as a quick and dirty (and completely uncalibrated) audio frequency spectrum analyser.

See for further details.

Cite As

Rodney Thomson (2022). Sound Card Spectral Analysis (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: Sound Card Spectral Analyser GUI

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!