Table of Contents

Class EchoAudioEffect

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

Echo audio effect creates echo/delay effects by repeating the audio signal with configurable delay, intensity, and feedback. Uses the GStreamer 'audioecho' element to produce single or multiple echo repetitions.

public class EchoAudioEffect : BaseAudioEffect, ISharedAudioEffectX, IVideoEditXAudioEffect

Inheritance

Implements

Inherited Members

Remarks

GStreamer element: audioecho Properties:

  • delay: Time delay between original and echo (in nanoseconds internally)
  • max-delay: Maximum delay buffer size (must be ≥ delay)
  • intensity: Volume level of the echo (0.0 to 1.0)
  • feedback: Amount of echo fed back into the effect (0.0 to 1.0) - creates multiple repeating echoes Higher feedback values create longer echo tails with multiple repetitions.

Constructors

EchoAudioEffect(TimeSpan)

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

public EchoAudioEffect(TimeSpan delay)

Parameters

delay TimeSpan

The echo delay time. Typical values range from 50ms to 500ms.

Properties

Delay

Gets or sets the delay time between the original signal and the echo. Typical values: 50ms (short slap-back) to 500ms (long echo). Can be changed during playback.

public TimeSpan Delay { get; set; }

Property Value

TimeSpan

Feedback

Gets or sets the feedback amount that controls how much of the echo is fed back into the effect. Range: 0.0 (single echo) to 1.0 (infinite repetitions). Higher values create longer echo tails. Typical values: 0.0-0.3 for short tails, 0.4-0.6 for medium, 0.7+ for long tails.

public float Feedback { get; set; }

Property Value

float

Intensity

Gets or sets the intensity (volume level) of the echo relative to the original signal. Range: 0.0 (no echo) to 1.0 (echo at same volume as original). Typical values: 0.3-0.7 for natural-sounding echoes.

public float Intensity { get; set; }

Property Value

float

MaxDelay

Gets or sets the maximum delay buffer size. Must be equal to or greater than the Delay value. This allocates buffer space for the delay line. Can only be changed when the pipeline is in Pause or Stop state.

public TimeSpan MaxDelay { get; set; }

Property Value

TimeSpan

Methods

GenerateDescription()

Generates the description.

public string GenerateDescription()

Returns

string

A string representation of the audio effect parameters.