Class VocalMorpher
java.lang.Object
de.pottgames.tuningfork.SoundEffectData
de.pottgames.tuningfork.VocalMorpher
The vocal morpher consists of a pair of 4-band formant filters, used to impose vocal tract effects upon the input signal. If the input signal is a broadband
sound such as pink noise or a car engine, the vocal morpher can provide a wide variety of filtering effects. A low-frequency oscillator can be used to morph
the filtering effect between two different phonemes. The vocal morpher is not necessarily intended for use on voice signals; it is primarily intended for
pitched noise effects, vocal-like wind effects, etc.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintRange: 0 - 29, Default: 0
If both parameters are set to the same phoneme, that determines the filtering effect that will be heard.intRange: -24 - 24, Default: 0
These are used to adjust the pitch of phoneme filters A and B in 1-semitone increments.intRange: 0 - 29, Default: 10
If both parameters are set to the same phoneme, that determines the filtering effect that will be heard.intRange: -24 - 24, Default: 0
These are used to adjust the pitch of phoneme filters A and B in 1-semitone increments.floatRange: 0.0 - 10.0, Default: 1.41
This controls the frequency of the low-frequency oscillator used to morph between the two phoneme filtersint0 = sinus, 1 = triangle, 2 = saw
This controls the shape of the low-frequency oscillator used to morph between the two phoneme filters. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
phonemea
public int phonemeaRange: 0 - 29, Default: 0
If both parameters are set to the same phoneme, that determines the filtering effect that will be heard. If these two parameters are set to different phonemes, the filtering effect will morph between the two settings at a rate specified by AL_VOCAL_MORPHER_RATE. -
phonemeb
public int phonemebRange: 0 - 29, Default: 10
If both parameters are set to the same phoneme, that determines the filtering effect that will be heard. If these two parameters are set to different phonemes, the filtering effect will morph between the two settings at a rate specified by AL_VOCAL_MORPHER_RATE. -
phonemeaCoarseTuning
public int phonemeaCoarseTuningRange: -24 - 24, Default: 0
These are used to adjust the pitch of phoneme filters A and B in 1-semitone increments. -
phonemebCoarseTuning
public int phonemebCoarseTuningRange: -24 - 24, Default: 0
These are used to adjust the pitch of phoneme filters A and B in 1-semitone increments. -
waveform
public int waveform0 = sinus, 1 = triangle, 2 = saw
This controls the shape of the low-frequency oscillator used to morph between the two phoneme filters. By selecting a saw tooth wave and a slow AL_VOCAL_MORPHER_RATE, one can create a filtering effect that slowly increases or decreases in pitch (depending on which of the two phoneme filters A or B is perceived as being higher-pitched). -
rate
public float rateRange: 0.0 - 10.0, Default: 1.41
This controls the frequency of the low-frequency oscillator used to morph between the two phoneme filters
-
-
Constructor Details
-
VocalMorpher
public VocalMorpher()
-
-
Method Details
-
apply
protected void apply(int effectId) - Specified by:
applyin classSoundEffectData
-
hashCode
-
equals
-
toString
-