Humdrum Representation for Frequency

REPRESENTATION

**freq -- frequency representation

DESCRIPTION

The **freq representation can be used to represent frequencies for pure or complex tones. **freq distinguishes three types of tokens: frequencies, rests, and barlines. Frequencies are encoded in hertz (Hz) where 440 Hz means 440 cycles per second. Frequencies may be specified as integer or real values (using a decimal). In addition, **freq provides limited capabilities for representing phrasing and slurs.

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

FILE TYPE

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

SIGNIFIERS

The following table summarizes the **freq mappings of signifiers and signifieds.
0-9frequency (in hertz) specified as an integer
or real value
rrest
=barline; == double barline
(slur start
)slur end
{phrase mark (start)
}phrase mark (end)
;pause sign
Summary of **freq Signifiers

EXAMPLES

A sample document is given below:
**freq**freq
*pure*complex
=1=1
440(440
440.9.
880440
263..
.440)
=2=2
rr
====
*-*-
Notice that frequencies can be either real or integer values. Rests are represented by the single letter `r'.

PERTINENT COMMANDS

The following Humdrum commands accept **freq encoded data as inputs:
barkstranslates **freq to **barks
cbrtranslates **freq to **cbr
centstranslates **freq to **cents
cochotranslates **freq to **cocho
kerntranslates **freq to **kern
pctranslates **freq to **pc
pitchtranslates **freq to **pitch
semitstranslate **freq to numerical **semits
solfgtranslate **freq to numerical **solfg
specctranslate **freq to numerical **specC
tonhtranslate **freq to numerical **Tonh
voxdetermine active and inactive voices in a Humdrum file
The following Humdrum command produces **freq data as output:
freqtranslates **cbr, **cents, **cocho, **freq, **fret, **kern, **MIDI, **pitch, **semits, **solfg, **specC, and **Tonh to **cents

TANDEM INTERPRETATIONS

The following tandem interpretations can be used in conjunction with **freq:
pure tones*pure
complex tones*complex
meter signatures*M6/8
key signatures*k[f#c#]
key*c#:
Tandem interpretations for **freq

SEE ALSO

barlines, **cbr, **cents, **coch, **degree, **kern, **pc, **pitch, **semits, **specC, **Tonh