Table of Contents

Class DSGargleAudioEffect

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

DirectSound Gargle effect modulates the amplitude of the signal at a specified rate, creating tremolo or "gargling" effects by rhythmically varying the volume.

public class DSGargleAudioEffect : BaseAudioEffect, ISharedAudioEffectX

Inheritance

Implements

Inherited Members

Remarks

Platform: Windows only (DirectX/DirectSound DSP)

Available in: Classic SDKs (VideoCaptureCore, MediaPlayerCore, VideoEditCore)

Effect Type: Amplitude Modulation/Tremolo

The gargle effect periodically varies the amplitude of the audio signal at a specified rate, creating tremolo (smooth amplitude changes) or gargling (choppy amplitude changes) effects depending on the modulation rate and waveform shape.

Typical Applications:

  • Creating tremolo effects on guitar, organ, or vocals
  • Robotic or vocoded voice effects
  • Rhythmic amplitude pulsing for creative sound design
  • Simulating helicopter or fan blade sounds

Parameters:

  • RateHz: 1-1000 Hz - Modulation frequency (lower = tremolo, higher = gargle/ring modulation)
  • WaveForm: Triangle/Square - Modulation waveform shape (triangle = smooth, square = choppy)

Usage Tips:

  • 1-20 Hz with triangle wave: Classic tremolo effect
  • 20-200 Hz with square wave: Robotic/vocoded sounds
  • 200+ Hz: Ring modulation/gargle effects

Note: No direct cross-platform equivalent available in Media Blocks SDK.

Constructors

DSGargleAudioEffect(int, GargleWaveForm)

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

public DSGargleAudioEffect(int rateHz, GargleWaveForm waveForm)

Parameters

rateHz int

Specifies the frequency of the gargle filter (1 - 1000).

waveForm GargleWaveForm

Specifies the waveform type of the filter.

Properties

RateHz

Gets or sets rate.

public int RateHz { get; set; }

Property Value

int

WaveForm

Gets or sets waveform.

public GargleWaveForm WaveForm { get; set; }

Property Value

GargleWaveForm