Enum Constant and Description |
---|
NOTE_0 |
NOTE_1 |
NOTE_10 |
NOTE_11 |
NOTE_12 |
NOTE_13 |
NOTE_14 |
NOTE_15 |
NOTE_16 |
NOTE_17 |
NOTE_18 |
NOTE_19 |
NOTE_2 |
NOTE_20 |
NOTE_21 |
NOTE_22 |
NOTE_23 |
NOTE_24 |
NOTE_3 |
NOTE_4 |
NOTE_5 |
NOTE_6 |
NOTE_7 |
NOTE_8 |
NOTE_9 |
Modifier and Type | Method and Description |
---|---|
static float |
getPitch(int note) |
static NotePitch |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NotePitch[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotePitch NOTE_0
public static final NotePitch NOTE_1
public static final NotePitch NOTE_2
public static final NotePitch NOTE_3
public static final NotePitch NOTE_4
public static final NotePitch NOTE_5
public static final NotePitch NOTE_6
public static final NotePitch NOTE_7
public static final NotePitch NOTE_8
public static final NotePitch NOTE_9
public static final NotePitch NOTE_10
public static final NotePitch NOTE_11
public static final NotePitch NOTE_12
public static final NotePitch NOTE_13
public static final NotePitch NOTE_14
public static final NotePitch NOTE_15
public static final NotePitch NOTE_16
public static final NotePitch NOTE_17
public static final NotePitch NOTE_18
public static final NotePitch NOTE_19
public static final NotePitch NOTE_20
public static final NotePitch NOTE_21
public static final NotePitch NOTE_22
public static final NotePitch NOTE_23
public static final NotePitch NOTE_24
public static NotePitch[] values()
for (NotePitch c : NotePitch.values()) System.out.println(c);
public static NotePitch 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 namejava.lang.NullPointerException
- if the argument is nullpublic static float getPitch(int note)