The BASS_BFX_COMPRESSOR2 type exposes the following members.
Fields
| Name | Description | |
|---|---|---|
| fAttack |
Time in ms before compression reaches its full value, in the range from 0.01 to 500. The default value is 20 ms.
| |
| fGain |
Output gain in dB of signal after compression, in the range from -60 to 60. The default value is 5 dB.
| |
| fRatio |
Compression ratio, in the range from 1 to 100. The default value is 3, which means 3:1 compression.
| |
| fRelease |
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.
| |
| fThreshold |
Point in dB at which compression begins, in decibels, in the range from -60 to 0. The default value is -15 dB.
| |
| lChannel |
A BASSFXChan flag to define on which channels to apply the effect.
Default: -1 (BASS_BFX_CHANALL) - all channels. |
See Also