BASS.NET API for the Un4seen BASS Audio LibraryBASS_DX8_COMPRESSOR ClassBASS.NET API for the Un4seen BASS Audio Library
Used with BASS_FXGetParameters(Int32, Object) and BASS_FXSetParameters(Int32, Object) to retrieve and set the parameters of a compression effect.
Inheritance Hierarchy

SystemObject
  Un4seen.BassBASS_DX8_COMPRESSOR

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

[SerializableAttribute]
[StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
public sealed class BASS_DX8_COMPRESSOR

The BASS_DX8_COMPRESSOR type exposes the following members.

Constructors

  NameDescription
Public methodBASS_DX8_COMPRESSOR
Default constructor.
Public methodBASS_DX8_COMPRESSOR(Single, Single, Single, Single, Single, Single)
constructor to already set the members
Top
Methods

  NameDescription
Public methodPreset_Default
Sets the instance members to a preset.
Public methodPreset_Hard
Sets the instance members to a preset.
Public methodPreset_Hard2
Sets the instance members to a preset.
Public methodPreset_HardCommercial
Sets the instance members to a preset.
Public methodPreset_Medium
Sets the instance members to a preset.
Public methodPreset_Soft
Sets the instance members to a preset.
Public methodPreset_Soft2
Sets the instance members to a preset.
Top
Fields

  NameDescription
Public fieldfAttack
Time in ms before compression reaches its full value, in the range from 0.01 to 500. The default value is 10 ms.
Public fieldfGain
Output gain of signal in dB after compression, in the range from -60 to 60. The default value is 0 dB.
Public fieldfPredelay
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.
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 at which compression begins, in dB, in the range from -60 to 0. The default value is -20 dB.
Top
See Also

Reference