Documentation

### This is machine translation

Translated by
Mouseover text to see original. Click the button below to return to the English version of the 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:

`$\text{CalibrationFactor}=\frac{{10}^{\left(\left(\text{trueLevel}-k\right)/20\right)}}{\mathrm{rms}\left(\text{calibrationTone}\right)}$`

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

`$k=20{\mathrm{log}}_{10}\left(\frac{1}{\text{PressureReference}}\right).$`