Measure sound pressure level of audio signal
The splMeter
System
object™ computes sound pressure level measurements. The object returns measurements for:
frequency-weighted sound levels
fast or slow time-weighted sound levels
equivalent-continuous sound levels
peak sound levels
maximum sound levels
To implement SPL metering:
Create the splMeter
object and set its properties.
Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects? (MATLAB).
SPL = splMeter
creates a System
object, SPL
, that performs SPL metering.
SPL = splMeter(
sets each
property Name,Value
)Name
to the specified Value
. Unspecified
properties have default values.
SPL =
splMeter('FrequencyWeighting','C-weighting','SampleRate',12000)
creates a System
object, SPL
, that performs C-weighting and operates at 12
kHz.To use an object function, specify the
System
object as the first input argument. For
example, to release system resources of a System
object named obj
, use
this syntax:
release(obj)
[1] Harris, Cyril M. Handbook of Acoustical Measurements and Noise Control. 3rd ed. American Institute of Physics, 1998.
[2] International Electrotechnical Commission. Electroacoustics - Sound level meters - Part 1: Specifications. IEC 61672-1:2013.
[3] American National Standards Institute. ANSI S1.4: Specification for Sound Level Meters. 1983.