...
About This Guide
The SPL meter guide includes instructions for using the SPL_Metering_Example.awd which demonstrates concepts of audio weighting, smoothing with RMS, and converting between dBSPL and dBFS including some best practices for viewing signals in real time. It can be found within your Audio Weaver installation, in the “Examples” folder.
Audio Weighting
Audio weighting is used to account for the relative loudness perceived by the human ear at different levels.
...
There can be a significant difference between measurements taken with A versus C weighting, especially if the source content contains lots of low frequency content (bass notes, road noise, etc.)
...
Best Practices
· Use A-weighting when verifying microphone specifications, as this is the weighting used when manufacturers write the specs.
...
The following figures reflect different representations of white noise when various weighting is applied:
...
RMS
The RMS module calculates the smoothed RMS value of the input signal on a block-by-block basis.
...
The module also exposes some of the computed signals as state variables. The variable filteredValue holds the output of the module (the smoothed RMS value). The variable instantaneousValue holds the square root of the average energy in the block; no smoothing.
Viewing the signal
Once the RMS is calculated, the design uses a dB20 module to convert from linear amplitude units to decibels, allowing us to view the smoothed signal as dbFS.
...
To graph the input signal over time with a Sink module, a BufferUp module is used to create a larger sample block to then create an average using the BlockStatistics module. Blockstatistics outputs a single sample block size, so that must be converted back to a larger block size in order to draw a graph. The design then converts from energy to decibels using a dB10 module (since we are transforming a quantity that relates to energy, not amplitude) and outputs to a SinkDisplay.
...
Decibels relative to Full Scale vs. dB SPL
dB relative to Full Scale
When an analog microphone signal is converted to digital, units of decibels are represented as decibels relative to Full Scale, where 0 becomes the maximum output signal before digital clipping occurs, therefore all peak values will be negative numbers. For example, a signal that reaches 50 percent of the maximum level would be represented as -6 dbFS and so on.
Calibrating for SPL
When measuring source content with a microphone, it is necessary to convert from dbFS to dbSPL or vice versa in order to understand what the acoustic Sound Pressure Level would be to human hearing. To make this conversion, we must calibrate the microphone with a known reference level.
...
How to set the dB offset
In the SPL_Metering_Example.awd there is a calibration offset scaler which should be adjusted so the dbFS reading on a meter module while the calibrator is connected to the microphone equals the sensitivity of the microphone.
...