|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ScaleReference>
midiReference.ScaleReference
public enum ScaleReference
Enum class providing access to scales based on chromatic degree reference.
Enum Constant Summary | |
---|---|
AEOLIAN
Scale Degrees {1, 2, b3, 4, 5, b6, b7} Midi Note Numbers {0, 2, 3, 5, 7, 8, 10} |
|
BLUES
Scale Degrees {1, 2, b3, 3, 4, 5, 6, b7, 7} Midi Note Numbers {0, 2, 3, 4, 5, 7, 9, 10, 11} |
|
CHROMATIC
Scale Degrees {1, b2, 2, b3, 3, 4, #4, 5, b6, 6, b7, 7} Midi Note Numbers {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11} |
|
DIATONIC_MINOR
Scale Degrees {1, 2, b3, 4, 5, b6, b7} Midi Note Numbers {0, 2, 3, 5, 7, 8, 10} |
|
DORIAN
Scale Degrees {1, 2, b3, 4, 5, 6, b7} Midi Note Numbers {0, 2, 3, 5, 7, 9, 10} |
|
HARMONIC_MINOR
Scale Degrees {1, 2, b3, 4, 5, b6, 7} Midi Note Numbers {0, 2, 3, 5, 7, 8, 11} |
|
INDIAN
Scale Degrees {1, b2, b2, 3, 4, #5, b7} Midi Note Numbers {0, 1, 1, 4, 5, 8, 10} |
|
LOCRIAN
Scale Degrees {1, b2, b3, 4, b5, b6, b7} Midi Note Numbers {0, 1, 3, 5, 6, 8, 10} |
|
LYDIAN
Scale Degrees {1, 2, 3, #4, 5, 6, b7} Midi Note Numbers {0, 2, 4, 6, 7, 9, 10} |
|
MAJOR
Scale Degrees {1, 2, 3, 4, 5, 6, 7} Midi Note Numbers {0, 2, 4, 5, 7, 9, 11} |
|
MELODIC_MINOR
Scale Degrees {1, 2, b3, 4, 5, b6, 6, b7, 7} Midi Note Numbers {0, 2, 3, 5, 7, 8, 9, 10, 11} |
|
MINOR
Scale Degrees {1, 2, b3, 4, 5, b6, b7} Midi Note Numbers {0, 2, 3, 5, 7, 8, 10} |
|
MIXOLYDIAN
Scale Degrees {1, 2, 3, 4, 5, 6, b7} Midi Note Numbers {0, 2, 4, 5, 7, 9, 10} |
|
NATURAL_MINOR
Scale Degrees {1, 2, b3, 4, 5, b6, b7} Midi Note Numbers {0, 2, 3, 5, 7, 8, 10} |
|
PENTATONIC
Scale Degrees {1, 2, 3, 5, 6} Midi Note Numbers {0, 2, 4, 7, 9} |
|
PHRYGIAN
Scale Degrees {1, b2, b3, 4, 5, b6, b7} Midi Note Numbers {0, 1, 3, 5, 7, 8, 10} |
|
TURKISH
Scale Degrees {1, b2, b3, 4, 5, b7, 7} Midi Note Numbers {0, 1, 3, 5, 7, 10, 11} |
Method Summary | |
---|---|
int[] |
getDegrees()
Gets the integer array containing the scale degrees of the scale. |
static ScaleReference |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ScaleReference[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ScaleReference CHROMATIC
public static final ScaleReference MAJOR
public static final ScaleReference MINOR
public static final ScaleReference HARMONIC_MINOR
public static final ScaleReference MELODIC_MINOR
public static final ScaleReference NATURAL_MINOR
public static final ScaleReference DIATONIC_MINOR
public static final ScaleReference AEOLIAN
public static final ScaleReference PHRYGIAN
public static final ScaleReference LOCRIAN
public static final ScaleReference DORIAN
public static final ScaleReference LYDIAN
public static final ScaleReference MIXOLYDIAN
public static final ScaleReference PENTATONIC
public static final ScaleReference BLUES
public static final ScaleReference TURKISH
public static final ScaleReference INDIAN
Method Detail |
---|
public static final ScaleReference[] values()
for(ScaleReference c : ScaleReference.values()) System.out.println(c);
public static ScaleReference valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int[] getDegrees()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |