JMUSIC.JMusicRhythm-valueConstant History

Hide minor edits - Show changes to output

Added line 13:
Added line 15:
Added line 17:
Added line 19:
Added line 21:
Added line 23:
Added line 25:
Added line 27:
Added line 29:
Added line 31:
Added line 33:
Added line 35:
Added line 37:
Added line 39:
Added line 41:
Added line 43:
Added line 45:
Added lines 1-30:
!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

(:source lang=python tabwidth=3 -trim :)
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
(:sourcend:)