Create a music score from a collection of tracks.
score(track, chords = NULL, chord_seq = NULL)
a track table consisting of one or more tracks.
an optional named list of chords and respective fingerings
an optional named vector of chords and their durations, for placing chord diagrams above staves in time.
a tibble data frame
Score takes track tables generated by
track and fortifies them
as a music score. It optionally binds tracks with a set of chord diagrams.
There may be only one track in
track as well as no chord information
passed, but for consistency
score is still required to fortify the
single track as a score object that can be rendered by
#> # A tibble: 1 x 8 #> phrase clef key tab tuning voice lyrics id #> <list> <chr> <chr> <lgl> <chr> <int> <chr> <int> #> 1 <phrase > treble_8 NA TRUE e,a,dgbe' 1 NA 1