Enum Class PitchKeyGrid.role
- All Implemented Interfaces:
Serializable
,Comparable<PitchKeyGrid.role>
,Constable
- Enclosing class:
PitchKeyGrid
The roles of a pad in a particular interpretation of the grid,
when this assigns MIDI note on/off events.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPad is mapped to the root pitch class of the currently valid scaled.Pad is mapped to a pitch not in the current scale.Pad is mapped to a diatonic pitch class of the currently valid scale, which is not the root.Pad is mapped to the second-important diatonic pitch class. -
Method Summary
Modifier and TypeMethodDescriptionstatic PitchKeyGrid.role
Returns the enum constant of this class with the specified name.static PitchKeyGrid.role[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
finalis
Pad is mapped to the root pitch class of the currently valid scaled. -
repercussa
Pad is mapped to the second-important diatonic pitch class. -
own
Pad is mapped to a diatonic pitch class of the currently valid scale, which is not the root. -
foreign
Pad is mapped to a pitch not in the current scale. This can happen only in chromatic layout.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-