Class Chorus
java.lang.Object
de.pottgames.tuningfork.SoundEffectData
de.pottgames.tuningfork.Chorus
The chorus effect essentially replays the input audio accompanied by another slightly delayed version of the signal, creating a ‘doubling’ effect. This was
originally intended to emulate the effect of several musicians playing the same notes simultaneously, to create a thicker, more satisfying sound. To add some
variation to the effect, the delay time of the delayed versions of the input signal is modulated by an adjustable oscillating waveform. This causes subtle
shifts in the pitch of the delayed signals, emphasizing the thickening effect.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatRange: 0.0 - 0.016, Default: 0.016
This property controls the average amount of time the sample is delayed before it is played back, and with feedback, the amount of time between iterations of the sample.floatRange: 0.0 - 1.0, Default: 0.1
This property controls the amount by which the delay time is modulated by the LFO.floatRange: -1.0 - 1.0, Default: 0.25
This property controls the amount of processed signal that is fed back to the input of the chorus effect.intRange: -180 - 180, Default: 90
This property controls the phase difference between the left and right LFO’s.floatRange: 0.0 - 10.0, Default: 1.1
This property sets the modulation rate of the LFO that controls the delay time of the delayed signals.int0 = sinusoid, 1 = triangle
This property sets the waveform shape of the LFO that controls the delay time of the delayed signals. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
waveForm
public int waveForm0 = sinusoid, 1 = triangle
This property sets the waveform shape of the LFO that controls the delay time of the delayed signals. -
phase
public int phaseRange: -180 - 180, Default: 90
This property controls the phase difference between the left and right LFO’s. At zero degrees the two LFOs are synchronized. Use this parameter to create the illusion of an expanded stereo field of the output signal. -
rate
public float rateRange: 0.0 - 10.0, Default: 1.1
This property sets the modulation rate of the LFO that controls the delay time of the delayed signals. -
depth
public float depthRange: 0.0 - 1.0, Default: 0.1
This property controls the amount by which the delay time is modulated by the LFO. -
feedback
public float feedbackRange: -1.0 - 1.0, Default: 0.25
This property controls the amount of processed signal that is fed back to the input of the chorus effect. Negative values will reverse the phase of the feedback signal. At full magnitude the identical sample will repeat endlessly. At lower magnitudes the sample will repeat and fade out over time. Use this parameter to create a “cascading” chorus effect. -
delay
public float delayRange: 0.0 - 0.016, Default: 0.016
This property controls the average amount of time the sample is delayed before it is played back, and with feedback, the amount of time between iterations of the sample. Larger values lower the pitch. Smaller values make the chorus sound like a flanger, but with different frequency characteristics.
-
-
Constructor Details
-
Chorus
public Chorus()
-
-
Method Details
-
chore
-
voiceBreak
-
goofy
-
goofyRobot
-
apply
protected void apply(int effectId) - Specified by:
applyin classSoundEffectData
-
hashCode
-
equals
-
toString
-