JMUSIC»J Music Rhythm-value Constant

J Music Rhythm-value Constant

Rhythm-Value Constants

jMusic defines the following rhythm-value constants:

jMusic defines the following note rhythm values for convenience. It includes both American and British names. For example,

  • whole note = semibreve
  • half note = minim
  • quarter note = crochet
  • eighth note = quaver
WHOLE_NOTE = 4.0, WN = 4.0, SB = 4.0, SEMIBREVE = 4.0

DOTTED_HALF_NOTE = 3.0, DHN = 3.0, MD = 3.0, DM = 3.0, DOTTED_MINIM = 3.0

DOUBLE_DOTTED_HALF_NOTE = 3.5, DDHN = 3.5, MDD = 3.5, DDM = 3.5, DOUBLE_DOTTED_MINIM = 3.5

HALF_NOTE = 2.0, HN = 2.0, M = 2.0, MINIM = 2.0

HALF_NOTE_TRIPLET = 4.0/3.0, HNT = 4.0/3.0, MT = 4.0/3.0, MINIM_TRIPLET = 4.0/3.0

QUARTER_NOTE = 1.0, QN = 1.0, C = 1.0, CROTCHET = 1.0

QUARTER_NOTE_TRIPLET = 2.0/3.0, QNT = 2.0/3.0, CT = 2.0/3.0, CROTCHET_TRIPLET = 2.0/3.0

DOTTED_QUARTER_NOTE = 1.5, DQN = 1.5, CD = 1.5, DC = 1.5, DOTTED_CROTCHET = 1.5

DOUBLE_DOTTED_QUARTER_NOTE = 1.75, DDQN = 1.75, CDD = 1.75, DDC = 1.75, DOUBLE_DOTTED_CROTCHET = 1.75

EIGHTH_NOTE = 0.5, EN = 0.5, Q = 0.5, QUAVER = 0.5

DOTTED_EIGHTH_NOTE = 0.75, DEN = 0.75, QD = 0.75, DQ = 0.75, DOTTED_QUAVER = 0.75

EIGHTH_NOTE_TRIPLET = 1.0/3.0, ENT = 1.0/3.0, QT = 1.0/3.0, QUAVER_TRIPLET = 1.0/3.0

DOUBLE_DOTTED_EIGHTH_NOTE = 0.875, DDEN = 0.875, DDQ = 0.875, QDD = 0.875, DOUBLE_DOTTED_QUAVER = 0.875

SIXTEENTH_NOTE = 0.25, SN = 0.25, SQ = 0.25, SEMI_QUAVER = 0.25

DOTTED_SIXTEENTH_NOTE = 0.375, DSN = 0.375, SQD = 0.375, DOTTED_SEMI_QUAVER = 0.375

SIXTEENTH_NOTE_TRIPLET = 1.0/6.0, SNT = 1.0/6.0, SQT = 1.0/6.0, SEMI_QUAVER_TRIPLET = 1.0/6.0

THIRTYSECOND_NOTE = 0.125, TN = 0.125, TSN = 0.125, DSQ = 0.125, DEMI_SEMI_QUAVER = 0.125

THIRTYSECOND_NOTE_TRIPLET = 1.0/12.0, TNT = 1.0/12.0, TSNT = 1.0/12.0, DSQT = 1.0/12.0, DEMI_SEMI_QUAVER_TRIPLET = 1.0/12.0