Class EchoEffect


public class EchoEffect extends OALEffect
Echo/Delay effect for sound sources.
Author:
Matthew Tropiano
  • Field Details

    • delay

      protected float delay
      Echo delay in seconds.
    • lrDelay

      protected float lrDelay
      Echo LR delay in seconds.
    • damping

      protected float damping
      Echo damping.
    • feedback

      protected float feedback
      Echo feedback.
    • spread

      protected float spread
      Echo spread.
  • Constructor Details

    • EchoEffect

      public EchoEffect(OALContext context)
  • Method Details

    • getDelay

      public final float getDelay()
      Returns:
      this effect's delay in seconds.
    • setDelay

      public final void setDelay(float delay)
      Sets this effect's delay in seconds (0.0 to 0.207).
      Parameters:
      delay - the new value.
    • getLRDelay

      public final float getLRDelay()
      Returns:
      this effect's LR delay in seconds.
    • setLRDelay

      public final void setLRDelay(float lrDelay)
      Sets this effect's LR delay in seconds (0.0 to 0.404).
      Parameters:
      lrDelay - the new value.
    • getFeedback

      public final float getFeedback()
      Returns:
      this effect's feedback scalar.
    • setFeedback

      public final void setFeedback(float feedback)
      Sets this effect's feedback scalar (0.0 to 1.0).
      Parameters:
      feedback - the new value.
    • getDamping

      public final float getDamping()
      Returns:
      this effect's damping scalar.
    • setDamping

      public final void setDamping(float damping)
      Sets this effect's damping scalar (0.0 to 0.99).
      Parameters:
      damping - the new value.
    • getSpread

      public final float getSpread()
      Returns:
      this effect's spread.
    • setSpread

      public final void setSpread(float spread)
      Sets this effect's spread (-1.0 to 1.0).
      Parameters:
      spread - the new value.