Class PitchShiftEffect


public class PitchShiftEffect extends OALEffect
Pitch shifter effect for sources.
Author:
Matthew Tropiano
  • Field Details

    • coarse

      protected int coarse
      Pitch shifter coarse tuning in semitones.
    • fine

      protected int fine
      Pitch shifter fine tuning in cents.
  • Constructor Details

    • PitchShiftEffect

      public PitchShiftEffect(OALContext context)
  • 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.