Package processing.sound
Class Delay
java.lang.Object
processing.sound.Effect<processing.sound.JSynDelay>
processing.sound.Delay
- Record Components:
parent
- PApplet: typically use "this"
This is a simple delay effect.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
feedback
(float feedback) Change the feedback of the delay effect.void
process
(SoundObject input, float maxDelayTime) void
process
(SoundObject input, float maxDelayTime, float delayTime) Start the delay effect.void
set
(float delayTime, float feedback) Set delay time and feedback values at once.void
time
(float delayTime) Changes the delay time of the effect.Methods inherited from class processing.sound.Effect
isProcessing, process, stop
-
Constructor Details
-
Delay
-
-
Method Details
-
process
Start the delay effect.- Parameters:
input
- Input audio sourcemaxDelayTime
- Maximum delay time in seconds.delayTime
- Delay time to use when starting to process, in seconds.
-
process
-
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.
-