BASS.NET API for the Un4seen BASS Audio LibraryBASS_BFX_COMPRESSOR2 FieldsBASS.NET API for the Un4seen BASS Audio Library

The BASS_BFX_COMPRESSOR2 type exposes the following members.


Public fieldfAttack
Time in ms before compression reaches its full value, in the range from 0.01 to 500. The default value is 20 ms.
Public fieldfGain
Output gain in dB of signal after compression, in the range from -60 to 60. The default value is 5 dB.
Public fieldfRatio
Compression ratio, in the range from 1 to 100. The default value is 3, which means 3:1 compression.
Public fieldfRelease
Time (speed) in ms at which compression is stopped after input drops below fThreshold, in the range from 50 to 3000. The default value is 200 ms.
Public fieldfThreshold
Point in dB at which compression begins, in decibels, in the range from -60 to 0. The default value is -15 dB.
Public fieldlChannel
A BASSFXChan flag to define on which channels to apply the effect.

Default: -1 (BASS_BFX_CHANALL) - all channels.

See Also