BASS.NET API for the Un4seen BASS Audio LibraryBASS_TAG_CARTLevelReference Property BASS.NET API for the Un4seen BASS Audio Library
Sample value for 0 dB reference (signed Int32).

Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version:

public int LevelReference { get; set; }

Property Value

Type: Int32

A 32-bit signed (2’s complement) integer word that shall hold the sample value of the 0-dB reference level for the originating system. This reference can facilitate scaling and metering consistency across disparate systems. As an example, a 16-bit linear PCM system that has its meters calibrated as 0 corresponding to maximum signed digital value shall have the value set to 32768 (800016).

The peak value shall be the absolute value of the largest sample value possible before saturation. In the example given, that of a 16-bit linear system using 2’s complement notation, the range of allowable values is -32768 to 32767, thus the maximum peak value is 32768 in the example given.

See Also