All Implemented Interfaces:
Serializable
, Comparable <Note >
, Constable
Mapping of well-known piano keys 1 - 100 to their appropriate frequency in Hz
Values based on https://en.wikipedia.org/wiki/Piano_key_frequencies#List
Enum Constant Summary
Enum Constants
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
int
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
A0
public static final Note A0
AS0
public static final Note AS0
B0
public static final Note B0
C1
public static final Note C1
CS1
public static final Note CS1
D1
public static final Note D1
DS1
public static final Note DS1
E1
public static final Note E1
F1
public static final Note F1
FS1
public static final Note FS1
G1
public static final Note G1
GS1
public static final Note GS1
A1
public static final Note A1
AS1
public static final Note AS1
B1
public static final Note B1
C2
public static final Note C2
CS2
public static final Note CS2
D2
public static final Note D2
DS2
public static final Note DS2
E2
public static final Note E2
F2
public static final Note F2
FS2
public static final Note FS2
G2
public static final Note G2
GS2
public static final Note GS2
A2
public static final Note A2
AS2
public static final Note AS2
B2
public static final Note B2
C3
public static final Note C3
CS3
public static final Note CS3
D3
public static final Note D3
DS3
public static final Note DS3
E3
public static final Note E3
F3
public static final Note F3
FS3
public static final Note FS3
G3
public static final Note G3
GS3
public static final Note GS3
A3
public static final Note A3
AS3
public static final Note AS3
B3
public static final Note B3
C4
public static final Note C4
CS4
public static final Note CS4
D4
public static final Note D4
DS4
public static final Note DS4
E4
public static final Note E4
F4
public static final Note F4
FS4
public static final Note FS4
G4
public static final Note G4
GS4
public static final Note GS4
A4
public static final Note A4
AS4
public static final Note AS4
B4
public static final Note B4
C5
public static final Note C5
CS5
public static final Note CS5
D5
public static final Note D5
DS5
public static final Note DS5
E5
public static final Note E5
F5
public static final Note F5
FS5
public static final Note FS5
G5
public static final Note G5
GS5
public static final Note GS5
A5
public static final Note A5
AS5
public static final Note AS5
B5
public static final Note B5
C6
public static final Note C6
CS6
public static final Note CS6
D6
public static final Note D6
DS6
public static final Note DS6
E6
public static final Note E6
F6
public static final Note F6
FS6
public static final Note FS6
G6
public static final Note G6
GS6
public static final Note GS6
A6
public static final Note A6
AS6
public static final Note AS6
B6
public static final Note B6
C7
public static final Note C7
CS7
public static final Note CS7
D7
public static final Note D7
DS7
public static final Note DS7
E7
public static final Note E7
F7
public static final Note F7
FS7
public static final Note FS7
G7
public static final Note G7
GS7
public static final Note GS7
A7
public static final Note A7
AS7
public static final Note AS7
B7
public static final Note B7
C8
public static final Note C8
CS8
public static final Note CS8
D8
public static final Note D8
DS8
public static final Note DS8
PAUSE
public static final Note PAUSE
Method Details
values
public static Note [] 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 name
NullPointerException
- if the argument is null
getFrequency
public int getFrequency ()