4.0

4.0 | 6 ratings Rate this file 232 downloads (last 30 days) File Size: 1.84 MB File ID: #9603

Sound Level Meter

by Douglas Lanman

 

12 Jan 2006 (Updated 13 Jan 2006)

Code covered by BSD License  

Implements real-time spectrum analyzer and displays decibel level.

Download Now | Watch this File

File Information
Description

This tutorial/demo presents the design of a sound level meter in Matlab. The Data Acquisition Toolbox is used to implement a real-time spectrum analyzer. The decibel meter is implemented in the frequency domain using Parseval's relation.

Documentation is provided in the included PDF.

Further information is available at: http://mesh.brown.edu/dlanman.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Real time octave analysis, Spectrum Scope

Required Products Data Acquisition Toolbox
MATLAB release MATLAB 7.1.0 (R14SP3)
Zip File Content  
Other Files
analyzeSignal.m,
estimateLevel.m,
filterA.m,
initDisplay.m,
initSoundCard.m,
runCalibration.m,
SLM.m,
SLM.pdf,
stopSoundCard.m,
updateDisplay.m,
examples/trashtruck.wav
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (10)
18 Jan 2006 Rupesh Sancheti

the information given about the products using matlab is excellent

23 Sep 2006 Piyorot Khongchuay

cool

18 Oct 2006 radwa magdy  
05 Dec 2006 kesho hassan

it is goog

05 Jan 2007 Steven Kolak

.
MATLAB supports audio acquisition using the Data Acquisition Toolbox.

View the MATLAB sound resource page for additional demos, downloadable code examples, and user stories:
http://www.mathworks.com/sound

18 May 2007 smekfm gtlo

i am to try this software

28 Feb 2008 Shufang Dong

Generally ok, but with miscellaneous errors need to be correct such as the A-weighting filter should be applied to pressure square rather than pressure, and the last formula of RMS of filtered pressure should not be divided by delta t.

05 Jun 2008 nguyen quy

I want to see the source coding

28 Oct 2008 sameer ahamed

It is a nice model of Sound Level Meter. My observation is: In the code, A-weighting is performed in frequency domain (i.e. multiplication in frequency domain). I feel like, if the A-weighting is in time domain (filtering, of input signal which is sampled at variable sampling frequency), the computation of fft can be saved.

25 Mar 2009 Brian

Cheers, great help as tutorial on real-time data aqusuisition

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
spectral analysis Douglas Lanman 22 Oct 2008 08:12:16
sound level meter Douglas Lanman 22 Oct 2008 08:12:16
decibel meter Douglas Lanman 22 Oct 2008 08:12:16
fft Douglas Lanman 22 Oct 2008 08:12:16
spectrum analyzer Douglas Lanman 22 Oct 2008 08:12:16
sound level meter Pawlord Zimnowodzki 02 Nov 2009 02:27:10
 

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