Humdrum Representation for Semitone Pitch

REPRESENTATION

**semits -- semitone absolute pitch representation

DESCRIPTION

The **semits representation is used to represent absolute pitch in semitone units with respect to middle C. Middle C is designated zero semitones. All other pitches are represented with respect to this reference, hence A4 is 9 semits and A3 is -3 semits. Fractional values can also be represented, hence 1.5 is midway between C#4 and D4.

Pitch tokens may be modified by the presence of additional signifiers. The open brace `{' denotes the beginning of a phrase. The closed brace `}' denotes the end of a phrase. The open parenthesis `(' denotes the beginning of a slur. The closed parenthesis `)' denotes the end of a slur. The semicolon `;' denotes a pause.

Rest tokens are denoted by the lower-case letter `r'.

Barlines are represented using the "common system" for barlines -- see barlines.

FILE TYPE

It is recommended that files containing predominantly **semits data should be given names with the distinguishing `.sem' extension.

SIGNIFIERS

The following table summarizes the **semits mappings of signifiers and signifieds.

0-9decimal values
-minus sign
+plus sign (optional)
.fractional delimiter; null token
rrest
=barline; == double barline
(slur start
)slur end
{phrase mark (start)
}phrase mark (end)
;pause sign
Summary of **semits Signifiers

EXAMPLES

The following sample document shows a **kern spine with corresponding **semits pitch values.
**semits**kern
*M4/4*M4/4
*c:*c:
==
r8r
1216cc
1116bn
128cc
148dd
516f
716g
84a-
716g
516f
==
4 71e 1g
====
*-*-

PERTINENT COMMANDS

The following Humdrum commands accept **semits encoded data as inputs:
centstranslates **semits to **cents
freqtranslates **semits to **freq
kerntranslates **semits to **kern
melaccalculate melodic accent values for successive pitches
pctranslate **semits pitch to **pc
pitchtranslate **semits pitch to **pitch
semitschange numerical precision of **semits values
solfgtranslate **semits pitch to **solfg
tonhtranslate **semits pitch to **Tonh
voxdetermine active and inactive voices in a Humdrum file
The following Humdrum commands produce **semits data as outputs:
semitstranslates **cents, **freq, **fret, **kern, **MIDI, **pitch, **semits, **solfg, **specC, **Tonh, to **semits

TANDEM INTERPRETATIONS

The following tandem interpretations can be used in conjunction with **semits:
MIDI channel*Ch1
meter signatures*M6/8
key signatures*k[f#c#]
key*c#:
Tandem interpretations for **semits

SEE ALSO

barlines, **cents, cents, **freq, freq, **fret, **kern, kern, **MIDI, midi, **pitch, pitch, semits, **solfg, solfg, **specC, specc, **Tonh, tonh