Class Scale

java.lang.Object
org.jfugue.theory.Scale

public class Scale extends Object
A scale is a sequence of notes. MAJOR and MINOR are two examples of scales. A scale in a particular key, such as C Major or A Minor, can provide the notes of the scale
  • Field Details

    • MAJOR

      public static final Scale MAJOR
    • MINOR

      public static final Scale MINOR
    • CIRCLE_OF_FIFTHS

      public static final Scale CIRCLE_OF_FIFTHS
    • MAJOR_INDICATOR

      public static final byte MAJOR_INDICATOR
      See Also:
    • MINOR_INDICATOR

      public static final byte MINOR_INDICATOR
      See Also:
  • Constructor Details

  • Method Details

    • setName

      public Scale setName(String name)
    • getName

      public String getName()
    • getIntervals

      public Intervals getIntervals()
    • setMajorOrMinorIndicator

      public Scale setMajorOrMinorIndicator(byte indicator)
    • getMajorOrMinorIndicator

      public byte getMajorOrMinorIndicator()
    • getDisposition

      public int getDisposition()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object