|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TimeBase>
midiReference.TimeBase
public enum TimeBase
Enumeration containing the number of pulses per rythm value (based on a 24PPQ MIDI sync clock)
Enum Constant Summary | |
---|---|
DOTTED_EIGHTH
18 pulses per dotted 8th note |
|
DOTTED_HALF
72 Pulses per dotted 1/2 note |
|
DOTTED_QUARTER
36 pulses per dotted 1/4 note |
|
DOTTED_SIXTEENTH
9 pulses per dotted 16th note |
|
EIGHTH
12 pulses per 8th note |
|
HALF
48 pulses per 1/2 note |
|
QUARTER
24 pulses per 1/4 note |
|
SIXTEENTH
6 pulses per 16th note |
|
THIRTY_SECOND
3 pulses per 32nd note |
|
WHOLE
96 pulses per whole note |
Method Summary | |
---|---|
static TimeBase |
get(java.lang.Integer stepSize)
|
int |
getValue()
Gets the pulse count reference associated with the enumeration |
static TimeBase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TimeBase[] |
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 TimeBase THIRTY_SECOND
public static final TimeBase SIXTEENTH
public static final TimeBase DOTTED_SIXTEENTH
public static final TimeBase EIGHTH
public static final TimeBase DOTTED_EIGHTH
public static final TimeBase QUARTER
public static final TimeBase DOTTED_QUARTER
public static final TimeBase HALF
public static final TimeBase DOTTED_HALF
public static final TimeBase WHOLE
Method Detail |
---|
public static final TimeBase[] values()
for(TimeBase c : TimeBase.values()) System.out.println(c);
public static TimeBase 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 getValue()
public static TimeBase get(java.lang.Integer stepSize)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |