Expand description
Ties, noteheads, stem direction, colour, lyrics and beams. Notation attached to a note or a chord: ties, noteheads, stem direction, colour and lyrics.
These are the parts of music21’s note.NotRest and note.GeneralNote
that carry musical intent rather than layout. A tie says two written notes
sound as one; a diamond notehead says a string harmonic; a lyric is the
text sung on the note. None of them need a stream to mean something, which
is why they live in the data model here alongside pitch and duration.
Structs§
- Beam
- One beam at one level: music21’s
beam.Beam. - Beams
- The beams of one note, one for each level it is beamed at: music21’s
beam.Beams. - Lyric
- A syllable of text sung on a note: music21’s
note.Lyric. - Tie
- A tie joining a note to its neighbours: music21’s
tie.Tie.
Enums§
- Beam
Direction - Which way a partial beam points: music21’s
direction. - Beam
Type - How one beam of a note joins its neighbours: music21’s
beam.Beam. - Notehead
- The shape drawn for a note head: music21’s
noteheadTypeNames. - Placement
- Which side of the note a mark sits on.
- Stem
Direction - Which way the stem points: music21’s
stemDirectionNames. - Syllabic
- Where a lyric sits in a word: music21’s
Lyric.syllabic. - TieStyle
- How the tie is drawn: music21’s
tie.Tie.style. - TieType
- How a tie joins this note to its neighbours: music21’s
tie.Tie.type.
Functions§
- merge_
connecting_ partial_ beams - A stub pointing right into a stub pointing left is really one beam, and is
written as one: music21’s
mergeConnectingPartialBeams. - remove_
sandwiched_ unbeamables - A note with nothing beamable on either side of it has nothing to beam to,
so it carries no beam at all: music21’s
removeSandwichedUnbeamables. - sanitize_
partial_ beams - Beams made only of stubs are no beams at all, and a stub beside a real
beam points towards it: music21’s
sanitizePartialBeams.