Be the first to rate this file! 61 downloads (last 30 days) File Size: 13.26 KB File ID: #20721

Sound Card Spectral Analyser GUI

by Rodney Thomson

 

15 Jul 2008 (Updated 16 Jul 2008)

Code covered by BSD License  

Acquire data from soundcard and plot in time and frequency domains

Download Now | Watch this File

File Information
Description

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.

Extends previous function (http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=20541) into a Matlab Class.

The GUI uses an instance of this class.

See http://iheartmatlab.blogspot.com for a detailed run-through of the code and the programming techniques utilised.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Sound Card Spectral Analysis

MATLAB release MATLAB 7.0.4 (R14SP2)
Other requirements Windows platforms only (I assume - not tested under *nix platforms)
Zip File Content  
Other Files SoundcardSpectralAnalyser_GUI.fig,
SoundcardSpectralAnalyser_GUI.m,
@SoundcardSpectralAnalyser/set.m,
@SoundcardSpectralAnalyser/SoundcardSpectralAnalyser.m,
@SoundcardSpectralAnalyser/start.m,
@SoundcardSpectralAnalyser/stop.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
example Rodney Thomson 22 Oct 2008 10:10:22
application Rodney Thomson 22 Oct 2008 10:10:22
fft Rodney Thomson 22 Oct 2008 10:10:22
soundcard Rodney Thomson 22 Oct 2008 10:10:22
graphics Rodney Thomson 22 Oct 2008 10:10:22
gui Rodney Thomson 22 Oct 2008 10:10:22
object oriented Rodney Thomson 22 Oct 2008 10:10:22
example Getnet Kassa 13 Apr 2009 16:03:59
application Getnet Kassa 13 Apr 2009 16:04:10
fft Getnet Kassa 13 Apr 2009 16:04:12
graphics Getnet Kassa 13 Apr 2009 16:04:15
gui Getnet Kassa 13 Apr 2009 16:04:19
object oriented Getnet Kassa 13 Apr 2009 16:04:22
soundcard Getnet Kassa 13 Apr 2009 16:04:26
z Getnet Kassa 13 Apr 2009 16:04:34
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com