Class BalanceAudioEffect
- Namespace
- VisioForge.Core.Types.X.AudioEffects
- Assembly
- VisioForge.Core.dll
Balance audio effect controls the stereo balance (left-right panning) of an audio stream. Uses the GStreamer 'audiopanorama' element to adjust the stereo position. Implements the VisioForge.Core.Types.X.AudioEffects.BaseAudioEffect.
public class BalanceAudioEffect : BaseAudioEffect, ISharedAudioEffectX, IVideoEditXAudioEffectInheritance
Implements
Inherited Members
Remarks
GStreamer element: audiopanorama Properties:
- panorama: Stereo balance position (-1.0 = full left, 0.0 = center, +1.0 = full right)
Constructors
BalanceAudioEffect(double)
Initializes a new instance of the VisioForge.Core.Types.X.AudioEffects.BalanceAudioEffect class.
public BalanceAudioEffect(double level)Parameters
leveldouble-
The balance/panorama level. Range: -1.0 (full left) to +1.0 (full right), 0.0 is center.
Properties
Level
Gets or sets the stereo balance/panorama position. Range: -1.0 (full left) to +1.0 (full right). 0.0 represents center position. Adjusts the volume of left and right channels to create stereo positioning effect.
public double Level { get; set; }Property Value
Methods
GenerateDescription()
Generates the description.
public string GenerateDescription()Returns
- string
-
A string representation of the audio effect parameters.