The BASS_BFX_COMPRESSOR2 type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
BASS_BFX_COMPRESSOR2 |
Default constructor
| |
BASS_BFX_COMPRESSOR2(Single, Single, Single, Single, Single, BASSFXChan) |
Constructor already setting the members.
|
Methods
Name | Description | |
---|---|---|
Calculate0dBGain |
Calculates for the current threshold/ratio combination a gain value to roughly achieve a 0 dB peak line.
| |
Preset_Default |
Sets the instance members to a preset.
| |
Preset_Hard |
Sets the instance members to a preset.
| |
Preset_Hard2 |
Sets the instance members to a preset.
| |
Preset_HardCommercial |
Sets the instance members to a preset.
| |
Preset_Medium |
Sets the instance members to a preset.
| |
Preset_Soft |
Sets the instance members to a preset.
| |
Preset_Soft2 |
Sets the instance members to a preset.
|
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