This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

calibrate

Calibrate meter using calibration tone with known level

Syntax

calibrate(SPL,calibrationTone,trueLevel)

Description

calibrate(SPL,calibrationTone,trueLevel) sets the CalibrationFactor property based on the computed sound pressure level of calibrationTone and the known trueLevel. trueLevel refers to the physical calibrator level used to generate the calibrationTone.

Input Arguments

collapse all

splMeter System object to be calibrated.

Audio signal used to calibrate the SPL meter, specified as a column vector.

Data Types: single | double

True level of calibration tone in dB, specified as a scalar. The true level is the known level of output by a physical calibrator.

Data Types: single | double

Algorithms

To set the CalibrationFactor property on an splMeter object, the calibrate function uses a calibration tone, the known level output by the calibrator to produce the calibration tone, and the PressureReference property.

The CalibrationFactor property is set according to the equation:

CalibrationFactor=10((trueLevelk)/20)rms(calibrationTone)

where k is 1 pascal relative to the reference pressure calculated in dB:

k=20log10(1PressureReference).

See Also

System Objects

Introduced in R2018a