sound pressure measurement of octave frequency bands -凯发k8网页登录
this example demonstrates how to measure sound pressure levels of octave frequency bands. a user interface (ui) enables you to experiment with various parameters while the measurement is displayed.
sound pressure measurement
many applications involving acoustic measurements must take into account the non-linear characteristics of the human auditory system. for that reason, sound levels are generally reported in decibels (db) and on a frequency scale that increases logarithmically. frequency weighting adjusts levels to take into account the ear's frequency-dependent sensitivity. a-weighting is the most common, as it cuts low and high frequencies similarly to the auditory system for "normal" levels. c-weighting is an alternative for measuring very loud sounds, as it mimics the human ear's flatter response at level over 100 db.
this example uses the system object to measure sound pressure levels (spl). you can measure sound pressure levels of audio files or perform live spl measurements with a microphone.
you can specify the weighting filter (z/a/c) and frequency bandwidth used for the measurements. for more information on the weighting filters, see the example.
matlab simulation
soundpressuremeasurementexampleapp
loads the spl meter user interface (shown below). the demonstration begins with pink noise, which measures relatively flat on the octave frequency scale. you can experiment with different audio sources, frequency weightings, and bandwidths.
execute soundpressuremeasurementexampleapp
to run the demonstration and display the measurements.