Used with BASS_FXGetParameters(Int32, IntPtr) and BASS_FXSetParameters(Int32, IntPtr) to retrieve and set the parameters of a compression effect.
Inheritance Hierarchy
Un4seen.BassBASS_DX8_COMPRESSOR
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
[SerializableAttribute] [StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Ansi)] public sealed class BASS_DX8_COMPRESSOR
The BASS_DX8_COMPRESSOR type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | BASS_DX8_COMPRESSOR |
Default constructor.
|
![]() | BASS_DX8_COMPRESSOR(Single, Single, Single, Single, Single, Single) |
constructor to already set the members
|
Methods
Name | Description | |
---|---|---|
![]() | 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 10 ms.
|
![]() | fGain |
Output gain of signal in dB after compression, in the range from -60 to 60. The default value is 0 dB.
|
![]() | fPredelay |
Time in ms after fThreshold is reached before attack phase is started, in milliseconds, in the range from 0 to 4. The default value is 4 ms.
|
![]() | 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 at which compression begins, in dB, in the range from -60 to 0. The default value is -20 dB.
|
See Also