Class Key

java.lang.Object
org.jfugue.theory.Key

public class Key extends Object
  • Field Details

    • DEFAULT_KEY

      public static final Key DEFAULT_KEY
  • Constructor Details

    • Key

      public Key(Note root, Scale scale)
    • Key

      public Key(Chord chord)
    • Key

      public Key(String keySignature)
      This method requires a key signature represented by a chord name, like Cmaj, or 'K' followed by sharps or flats, like "K####" for E Major
    • Key

      public Key(Key key)
  • Method Details

    • getKeySignature

      public String getKeySignature()
    • getRoot

      public Note getRoot()
    • getScale

      public Scale getScale()