BASS.NET API for the Un4seen BASS Audio LibraryBASS_BFX_ECHOfLevel FieldBASS.NET API for the Un4seen BASS Audio Library
Echo level (0...1..n, linear). Default = 0.

Namespace: Un4seen.Bass.AddOn.Fx
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public float fLevel

Field Value

Type: Single
Remarks

Examples: 0.0 = -unlimited dB, 0.5 = -6dB, 1.0 = 0dB, 2.0 = +6dB

To convert a dB value to a 0-1 linear value, you can do this:

double linear = Math.Pow(10d, dB / 20.0);

To convert a linear value to a dB value, you can do this:

double dB = 20.0 * Math.Log10(level / 1.0);

Or use the LevelToDB(Int32, Int32) or DBToLevel(Double, Int32) methods.
See Also

Reference