Class ScaleManager

java.lang.Object
org.jjazz.harmony.api.ScaleManager

public class ScaleManager extends Object
  • Field Details

  • Method Details

    • getInstance

      public static ScaleManager getInstance()
    • getStandardScales

      public List<StandardScale> getStandardScales()
      A list of 17 standard scales.

      MAJOR DORIAN PHRYGIAN LYDIAN MIXOLYDIAN AEOLIAN LOCRIAN MINOR_HARMONIC MINOR_MELODIC ALTERED LYDIAN_b7 DIMINISHED_WHOLE_HALF DIMINISHED_HALF_WHOLE WHOLE_TONE PENTATONIC_MAJOR PENTATONIC_MINOR BLUES

      Returns:
    • getMatchingScales

      public List<StandardScaleInstance> getMatchingScales(ChordSymbol cs)
      Compute the scale instances which match the specified chord symbol.

      Test all standard scales based on cs root note. A scale matches if each chord note is a scale note.
      Example: C7b5=C E Gb Bb, matching scales=ALTERED, LYDIAN_b7, WHOLE_TONE, DIMINISHED_HALF_WHOLE
      Example: C7b9b5=C Db E Gb Bb, matching scales=ALTERED, DIMINISHED_HALF_WHOLE

      Parameters:
      cs -
      Returns: