Enum PanningModel

java.lang.Object
java.lang.Enum<PanningModel>
com.codename1.media.audio.PanningModel
All Implemented Interfaces:
Comparable<PanningModel>

public enum PanningModel extends Enum<PanningModel>
How a PannerNode places a source in the stereo output.
  • Enum Constant Details

    • EQUALPOWER

      public static final PanningModel EQUALPOWER
      Equal-power amplitude panning by azimuth. Cheap; no elevation or front/back cue.
    • HRTF

      public static final PanningModel HRTF
      Binaural rendering for headphones: interaural time difference, head shadow and pinna reflections, from a structural model of the head (Brown and Duda, 1998). It needs no measured data set, so it sounds the same on every platform.
  • Method Details

    • values

      public static PanningModel[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static PanningModel valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null