Class Delay

java.lang.Object
processing.sound.Effect<processing.sound.JSynDelay>
processing.sound.Delay
Record Components:
parent - PApplet: typically use "this"

public class Delay extends Effect<processing.sound.JSynDelay>
This is a simple delay effect.
  • Constructor Details

    • Delay

      public Delay(PApplet parent)
  • Method Details

    • process

      public void process(SoundObject input, float maxDelayTime, float delayTime)
      Start the delay effect.
      Parameters:
      input - Input audio source
      maxDelayTime - Maximum delay time in seconds.
      delayTime - Delay time to use when starting to process, in seconds.
    • process

      public void process(SoundObject input, float maxDelayTime)
    • set

      public void set(float delayTime, float feedback)
      Set delay time and feedback values at once.
      Parameters:
      delayTime - Maximum delay time in seconds.
      feedback - Feedback amount as a float
    • time

      public void time(float delayTime)
      Changes the delay time of the effect.
      Parameters:
      delayTime - Delay time in seconds.
    • feedback

      public void feedback(float feedback)
      Change the feedback of the delay effect.
      Parameters:
      feedback - Feedback amount as a float.