
Last chance! 50% off unlimited learning
Sale ends in
Several methods are implemented for the classes noteworthy
, noteinfo
, and
music
. See tabr-methods()
for more details on methods for tabr classes.
# S3 method for noteworthy
c(...)# S3 method for noteinfo
c(...)
# S3 method for music
c(...)
# S3 method for lyrics
c(...)
# S3 method for phrase
c(...)
objects.
tabr-methods()
, note-metadata()
# noteworthy class examples
x <- "a b c"
c(x, x)
c(as_noteworthy(x), x)
# noteinfo class examples
x <- "4- t8( t8)( t8) 4*2"
c(as_noteinfo(x), x)
# music class examples
x <- "c,~4 c,1 c'e_'g'4-.*2"
c(as_music(x), x)
# phrase class examples
c(phrase(x), x)
Run the code above in your browser using DataLab