Skip to content
Documentation sections

Audio SNR & Dynamic Range

POSThttps://rftools.io/api/py/v1/calculate

Slug audio-snr. Calculate audio SNR and dynamic range. 16-bit audio = 98 dB, 24-bit = 146 dB theoretical SNR. Formula: SNR = 6.02·N + 1.76 dB. Enter bit depth or signal/noise levels in dBV.

Inputs

Send every one of these in inputs, in the units shown. Most are required: a call without one is refused (400) and costs nothing; one the calculator can do without takes the default shown. An input outside its range is still computed and flagged in the provenance.

Inputs of audio-snr
NameUnitRangeDefaultDescription
signalLevelnumberdBV−80 … 300Signal Level
noiseFloornumberdBV−140 … 0-90Noise Floor
targetSnrnumberdB0 … 16090The signal-to-noise ratio the chain must reach. The status fails below 60 dB.

Outputs

Returned in values, by key. A value that is unbounded or undefined is null.

Outputs of audio-snr
FieldUnitDescription
snrheadlinedBSNR
dynamicRangedBSpan from noise floor to 0 dBFS maximum level
snrLinear:1SNR (linear voltage ratio)
noiseBitsbitsEffective Noise Bits

Calling it

  • Calculate: one call, the request and response in full, and its errors.
  • Batch: this calculator with others, or a sweep, in one request.
  • Solve for a target: the value of one input that brings an output to a target.