Table of Contents

Class AmplifyAudioEffect

Namespace
VisioForge.Core.Types.X.AudioEffects
Assembly
VisioForge.Core.dll

Amplify audio effect amplifies an audio stream by a specified amplification factor. Uses the GStreamer 'audioamplify' element with configurable clipping methods to prevent distortion. Implements the VisioForge.Core.Types.X.AudioEffects.BaseAudioEffect.

public class AmplifyAudioEffect : BaseAudioEffect, ISharedAudioEffectX, IVideoEditXAudioEffect

Inheritance

Implements

Inherited Members

Remarks

GStreamer element: audioamplify Properties:

  • amplification: Amplification factor (1.0 = no change, >1.0 = amplification)
  • clipping-method: How to handle signal clipping (0=None, 1=Normal, 2=Soft) The effect supports multiple clipping methods to handle signal overload gracefully.

Constructors

AmplifyAudioEffect(double)

Initializes a new instance of the VisioForge.Core.Types.X.AudioEffects.AmplifyAudioEffect class.

public AmplifyAudioEffect(double level)

Parameters

level double

The amplification level. Range: 1.0 (no amplification) to 10.0 or higher. Values below 1.0 reduce volume.

Properties

ClippingMethod

Gets or sets the method used to handle audio signal clipping when amplification causes values to exceed the valid range. Different methods provide different trade-offs between distortion and dynamic range.

public AmplifyClippingMethod ClippingMethod { get; set; }

Property Value

AmplifyClippingMethod

Level

Gets or sets the amplification level. Range: 0.1 to 10.0 or higher. 1.0 means no amplification (original volume). Values greater than 1.0 amplify the signal; values less than 1.0 reduce volume. High values may cause clipping depending on the selected ClippingMethod.

public double Level { get; set; }

Property Value

double

Methods

GenerateDescription()

Generates the description.

public string GenerateDescription()

Returns

string

System.String.

Exceptions

NotImplementedException

See Also