Package processing.sound
Class AllPass
- Record Components:
parent- PApplet: typically use "this"
This is an all pass filter. For signals processed, all frequencies hold the
same amplitude but have their phase relationship modified using a delayline
of one sample,
where
y(k) = -z * x(k) + x(k - 1) + z * y(k - 1)where
y is the output, x is the input,
z is the gain coefficient, and k is the signal.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgain(float g) Sets the gain for the filter in the range 0.0 - 1.0, where larger values increase phase displacement.voidprocess(SoundObject input, float g) Methods inherited from class processing.sound.Effect
isProcessing, process, stop
-
Constructor Details
-
AllPass
-
-
Method Details
-
gain
public void gain(float g) Sets the gain for the filter in the range 0.0 - 1.0, where larger values increase phase displacement.- Parameters:
g- phase displacement in the range 0.0 - 1.0
-
process
-