Class PitchShiftEffect
java.lang.Object
com.blackrook.gloop.openal.OALObject
com.blackrook.gloop.openal.OALEffect
com.blackrook.gloop.openal.effect.PitchShiftEffect
Pitch shifter effect for sources.
- Author:
- Matthew Tropiano
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intfinal intfinal voidsetCoarseTuning(int coarse) Sets the coarse tuning in semitones (-12 to 12).final voidsetFineTuning(int fine) Sets the fine tuning in cents (-50 to 50).Methods inherited from class OALObject
clearError, destroy, equals, equals, errorCheck, getName, hashCode, requestContext, toString
-
Field Details
-
coarse
protected int coarsePitch shifter coarse tuning in semitones. -
fine
protected int finePitch shifter fine tuning in cents.
-
-
Constructor Details
-
PitchShiftEffect
-
-
Method Details
-
getCoarseTuning
public final int getCoarseTuning()- Returns:
- the current coarse tuning in semitones. v
-
setCoarseTuning
public final void setCoarseTuning(int coarse) Sets the coarse tuning in semitones (-12 to 12).- Parameters:
coarse- the new value.
-
getFineTuning
public final int getFineTuning()- Returns:
- the current fine tuning in cents.
-
setFineTuning
public final void setFineTuning(int fine) Sets the fine tuning in cents (-50 to 50).- Parameters:
fine- the new value.
-