Class DynamicAmplifyAudioEffect
Dynamic amplify audio effect. Implements the BaseAudioEffect.
Implements
Inherited Members
Namespace: VisioForge.Core.Types.X.AudioEffects
Assembly: VisioForge.Core.dll
Syntax
public class DynamicAmplifyAudioEffect : BaseAudioEffect, ISharedAudioEffectX
Constructors
DynamicAmplifyAudioEffect(uint, uint, TimeSpan)
Initializes a new instance of the DynamicAmplifyAudioEffect class.
Declaration
public DynamicAmplifyAudioEffect(uint attackTime, uint maxAmplification, TimeSpan releaseTime)
Parameters
Type | Name | Description |
---|---|---|
uint | attackTime | Specifies the amplification value than will be used when amplifying. |
uint | maxAmplification | Sets the amplification for a channel. Default value is 10000, which means that no amplification occurs. A value of 20000 raises the amplification by 2. |
TimeSpan | releaseTime | Specifies the time in milliseconds that the DSP will wait to continue amplification, after the maximum has been reached. |
Properties
AttackTime
Gets or sets the amplification value than will be used when amplifying.
Declaration
public uint AttackTime { get; set; }
Property Value
Type | Description |
---|---|
uint | The attack time. |
MaxAmplification
Gets or sets the amplification for a channel. Default value is 10000, which means that no amplification occurs. A value of 20000 raises the amplification by 2.
Declaration
public uint MaxAmplification { get; set; }
Property Value
Type | Description |
---|---|
uint | The maximum amplification. |
ReleaseTime
Gets or sets the time in milliseconds that the DSP will wait to continue amplification, after the maximum has been reached.
Declaration
public TimeSpan ReleaseTime { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan | The release time. |