Class Echo


public class Echo extends SoundEffectData
The echo effect generates discrete, delayed instances of the input signal. The amount of delay and feedback is controllable. The delay is ‘two tap’ – you can control the interaction between two separate instances of echoes.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    float
    Range: 0.0 - 0.99, Default: 0.5
    This property controls the amount of high frequency damping applied to each echo.
    float
    Range: 0.0 - 0.207, Default: 0.1
    This property controls the delay between the original sound and the first ‘tap’, or echo instance.
    float
    Range: 0.0 - 1.0, Default: 0.5
    This property controls the amount of feedback the output signal fed back into the input.
    float
    Range: 0.0 - 0.404, Default: 0.1
    This property controls the delay between the first ‘tap’ and the second ‘tap’.
    float
    Range: -1.0 - 1.0, Default: -1.0
    This property controls how hard panned the individual echoes are.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    apply(int effectId)
     
    static Echo
     
    boolean
     
    static Echo
     
    int
     
    static Echo
     
    static Echo
     
    static Echo
     
     
    static Echo
     

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • delay

      public float delay
      Range: 0.0 - 0.207, Default: 0.1
      This property controls the delay between the original sound and the first ‘tap’, or echo instance. Subsequently, the value for Echo Delay is used to determine the time delay between each ‘second tap’ and the next ‘first tap’.
    • lrDelay

      public float lrDelay
      Range: 0.0 - 0.404, Default: 0.1
      This property controls the delay between the first ‘tap’ and the second ‘tap’. Subsequently, the value for Echo LR Delay is used to determine the time delay between each ‘first tap’ and the next ‘second tap’.
    • damping

      public float damping
      Range: 0.0 - 0.99, Default: 0.5
      This property controls the amount of high frequency damping applied to each echo. As the sound is subsequently fed back for further echoes, damping results in an echo which progressively gets softer in tone as well as intensity.
    • feedback

      public float feedback
      Range: 0.0 - 1.0, Default: 0.5
      This property controls the amount of feedback the output signal fed back into the input. Use this parameter to create “cascading” echoes. At full magnitude, the identical sample will repeat endlessly. Below full magnitude, the sample will repeat and fade.
    • spread

      public float spread
      Range: -1.0 - 1.0, Default: -1.0
      This property controls how hard panned the individual echoes are. With a value of 1.0, the first ‘tap’ will be panned hard left, and the second tap hard right. A value of –1.0 gives the opposite result. Settings nearer to 0.0 result in less emphasized panning.
  • Constructor Details

    • Echo

      public Echo()
  • Method Details

    • veryFarAway

      public static Echo veryFarAway()
    • farAway

      public static Echo farAway()
    • pingPongLeft

      public static Echo pingPongLeft()
    • pingPongRight

      public static Echo pingPongRight()
    • pingPongCenter

      public static Echo pingPongCenter()
    • doppelganger

      public static Echo doppelganger()
    • apply

      protected void apply(int effectId)
      Specified by:
      apply in class SoundEffectData
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object