Class DynamicAmplifyAudioEffect
- Namespace
- VisioForge.Core.Types.X.AudioEffects
- Assembly
- VisioForge.Core.dll
Automatically adjusts audio gain based on signal level for dynamic loudness control. Amplifies quiet passages while limiting loud peaks using adaptive gain control. Provides smooth, musical dynamics processing with configurable attack and release times. Implements the VisioForge.Core.Types.X.AudioEffects.BaseAudioEffect.
public class DynamicAmplifyAudioEffect : BaseAudioEffect, ISharedAudioEffectXInheritance
Implements
Inherited Members
Remarks
Custom dynamic amplification with time-based response.
Attack time: How quickly amplification increases for quiet signals.
Release time: How long to wait before reducing amplification after loud signals.
MaxAmplification: Upper limit of gain adjustment (10000 = 1x, 20000 = 2x).
Useful for evening out volume variations in speech or maintaining consistent listening levels.
Constructors
DynamicAmplifyAudioEffect(uint, uint, TimeSpan)
Initializes a new instance of the VisioForge.Core.Types.X.AudioEffects.DynamicAmplifyAudioEffect class.
public DynamicAmplifyAudioEffect(uint attackTime, uint maxAmplification, TimeSpan releaseTime)Parameters
attackTimeuint-
Attack time in milliseconds. How quickly amplification responds to quiet signals.
maxAmplificationuint-
Maximum gain multiplier. 10000 = 1x (no change), 20000 = 2x amplification. Default: 10000.
releaseTimeTimeSpan-
Release time. Duration to wait before reducing amplification after encountering loud signals.
Properties
AttackTime
Gets or sets the attack time for amplification response.
public uint AttackTime { get; set; }Property Value
MaxAmplification
Gets or sets the maximum amplification multiplier.
public uint MaxAmplification { get; set; }Property Value
ReleaseTime
Gets or sets the release time before resuming amplification after loud signals.
public TimeSpan ReleaseTime { get; set; }