Expand description
Humdrum **kern scores.
Humdrum: music21’s humdrum.spineParser, which reads **kern scores.
A Humdrum file is a table. Each column is a spine – a part – and each
line a moment; a cell holds a note (4c# is a quarter C sharp above
middle C), a barline (=12), an instruction (*clefG2, *M3/4) or a
dot where nothing new happens. A spine may split into two voices (*^)
and come together again (*v). **dynam spines carry dynamics and
**text spines the words sung, and **harm spines the harmony read
into the music, each said by *staff to belong to a **kern spine.
Modules§
- harm
- The harmonic annotations a
**harmspine carries: music21’shumdrum.harmParser.
Structs§
- Global
Comment - A comment on the whole table, kept in the score where it was written:
music21’s
GlobalComment. - Misc
Tandem - An instruction kept in the score where it was written: music21’s
MiscTandem. - Spine
Comment - A
!comment in one spine, kept where it was written: music21’sSpineComment. Its priority, the line it was written on, is the event’s.
Constants§
- INSTRUMENTS
- music21’s
humdrumInstruments: the instrument each Humdrum*Icode names. - INSTRUMENT_
CLASSES - music21’s
humdrumInstrumentClassToInstrument: the family each*ICcode names.
Functions§
- from_
humdrum - Reads a Humdrum file into a score: music21’s
converter.parseof one.