Note
Basic note layout
The basic data structure of a note is:
- a
music_datarecord withmusic_data_typevaluenote - a list of notations lists, with the list record in the
notationstable and the notations themselves in the joinednotationtable.
When the notation type is a list of articulations, technicals, or ornaments,
the
notation table notation_type values are articulations, technicals, and ornaments, respectively.
These notation types are lists, with the individual articulations, technicals, and ornaments in the list stored as records in the joined articulation, technical, and ornament tables, respectively.
Lyrics
Notes may have a list of lyrics in the
lyric table.
Lyric item
The information specific to the type of lyric is stored in the joined
lyric_item record.
Table
lyric_item is a single-inheritance table with discriminator column lyric_item_type whose values are extend, laughing, humming, and lyric text.
A lyric text record may have its own extend value, which is a self-join on the lyric_item table whose record is an extend type.
Fuller note layout