Enum DSGargleWaveForm
- Namespace
- VisioForge.Core.Types.AudioEffects
- Assembly
- VisioForge.Core.dll
Defines the waveform shape used to modulate the amplitude in a gargle audio effect.
public enum DSGargleWaveFormFields
Triangle = 0-
Triangle waveform - Creates smooth, linear amplitude transitions for a softer gargle effect.
The triangle wave modulates amplitude with linear ramping, producing:
- Gradual volume increases and decreases with no sudden jumps
- A smoother, less aggressive sound compared to square wave modulation
- Better preservation of the original signal's character and intelligibility
- A tremolo-like effect at lower rates (1-10 Hz)
- A buzzing quality at higher rates (20-1000 Hz) due to the harmonic content
Triangle wave gargle is ideal for:
- Creating vintage sci-fi communication effects
- Subtle underwater or telephone-like voice processing
- Musical tremolo effects on instruments
- Maintaining better speech intelligibility while adding character
Square = 1-
Square waveform - Creates abrupt on/off amplitude switching for a harsh, rhythmic gargle effect.
The square wave modulates amplitude with instant transitions between full volume and silence, producing:
- Hard gating effect with complete on/off switching
- Sharp, percussive amplitude modulation
- More dramatic and noticeable effect than triangle modulation
- Rhythmic stuttering at lower rates (1-20 Hz)
- Harsh, ring-modulator-like tones at higher rates (50-1000 Hz)
Square wave gargle is ideal for:
- Classic robot or Dalek-style voice effects
- Extreme special effects and alien communications
- Rhythmic gating effects in electronic music
- Creating stutter effects synchronized to tempo
- Simulating digital transmission errors or glitches
Note: Square wave modulation can significantly reduce intelligibility at higher rates, making it more suitable for special effects than for maintaining comprehensible speech.
Remarks
The gargle effect creates a distinctive "underwater" or "robotic" sound by rapidly modulating the amplitude (volume) of an audio signal at a specific rate. Unlike other modulation effects that affect pitch or timing, gargle specifically creates a rhythmic gating effect by periodically reducing the signal amplitude.
The effect works by multiplying the input signal with a low-frequency oscillator (LFO) waveform, typically operating between 1 Hz and 1000 Hz. The waveform shape determines the character of the amplitude modulation:
- Different waveforms create different rhythmic patterns
- The shape affects how abruptly the volume changes
- Each waveform imparts a unique texture to the gargled sound
Common applications include creating robotic voice effects, simulating underwater speech, adding rhythmic gating to instruments, and producing various special effects for games and multimedia.