# Sound Pressure Level Calculator (Scripts) 1.0

Average Rating
User Rating:
Visitors Rating:
My rating:

See full specifications

## Sound Pressure Level Calculator (Scripts) Publisher's description

### Function calculates sound pressure level in decibels, given a pressure signal in pascals.

Function calculates sound pressure level in decibels, given a pressure signal in pascals.
SPL_dB = spl(p_Pa,ref)

Calculate sound pressure level (in dB) of given pressure signal 'p_Pa'. Input variable 'ref' can be any user-defined reference pressure or simply 'air' or 'water' to use standard values for air and water.

Pressure signal input p_Pa must be in units of pascals if 'air' or 'water' are used to define the reference pressure. Otherwise any pressure signal units are acceptable, given they match the units of the reference pressure.

Pressure signal vector should be long enough to capture nature of the signal. In other words, a single pressure value is not sufficient for root-mean-square calculation. Note that this does account for frequency content. A-weighted decibels (dBA) are frequency-dependent. This function does not compute dBA.

Example using Matlab's built-in train whistle sound:

load train % (let's assume y is has pascals as its units)

spl(y,'air')
ans =
84.6

The example above gives the same as the following:

load train % (let's assume y is has pascals as its units)
spl(y,20*10^-6)
ans =
84.6

Note: Typically we only write decibels to integer values or one decimal place. Anything on the hundredth-of-a-decibel level is probably just noise and can be ignored.

#### System Requirements:

No special requirements.
Program Release Status: Minor Update
Program Install Support: Install and Uninstall

#### Sound Pressure Level Calculator (Scripts) Tags:

Click on a tag to find related softwares

## Most Popular

ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation